wincc_oa_path - Variable not defined

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
5 posts • Page 1 of 1
avieweg
Posts:5
Joined: Tue Jun 12, 2012 12:09 pm

wincc_oa_path - Variable not defined

Post by avieweg »

Hello,

I have a problem with the "wincc_oa_path" - constant.


script:
main()
{
DebugN(wincc_oa_path);
}

Log Viewer:
PVSS00ui (1), 2012.07.06 12:19:25.637, CTRL, SEVERE, 176, Uncaught exception in thread started at main:
PVSS00ui (1), 2012.07.06 12:19:25.637, CTRL, SEVERE, 73, Variable not defined,
Module: _QuickTest_
Panel: C:\\testStandard\\panels\\da.pnl []
Object: 0 named: "PUSH_BUTTON1" of type: PUSH_BUTTON
Script: Clicked
Line: 4, wincc_oa_path
Stacktrace:
1: main() at [Module: _QuickTest_ Panel: da.pnl Object: PUSH_BUTTON1 Script: Clicked]:4

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: wincc_oa_path - Variable not defined

Post by leoknipp »

Hello,

the correct name for the constant is WINCCOA_PATH.
A list of predefined constants can be found at the WinCC OA online help: CONTROL --> Introduction CONTROL --> Predefined symbolical constants

Best Regards
Leopold Knipp
Senior Support Specialist

avieweg
Posts:5
Joined: Tue Jun 12, 2012 12:09 pm

Re: wincc_oa_path - Variable not defined

Post by avieweg »

OK, thanks a lot! :)

avieweg
Posts:5
Joined: Tue Jun 12, 2012 12:09 pm

Re: wincc_oa_path - Variable not defined

Post by avieweg »

@ Leopold Knipp: The constant "WINCCOA_PATH" do not exists too.

In my version of WinCC OA the constant is named "PVSS_PATH".

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: wincc_oa_path - Variable not defined

Post by leoknipp »

Hello,

in the upcoming release 3.11 a new constant WINCCOA_PATH will be defined.
The constant PVSS_PATH has to be used in previous versions to get the path for the PVSS/WinCC OA installation.


Please notice that the ETM Portal does not substitute the common WinCC OA support.
For details concerning the WinCC OA support please refer to
http://www.etm.at/index_e.asp?id=9&m0id=24

Best Regards
Leopold Knipp
Senior Support Specialist

5 posts • Page 1 of 1