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
wincc_oa_path - Variable not defined
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: wincc_oa_path - Variable not defined
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
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
OK, thanks a lot! 
- avieweg
- Posts:5
- Joined: Tue Jun 12, 2012 12:09 pm
Re: wincc_oa_path - Variable not defined
@ Leopold Knipp: The constant "WINCCOA_PATH" do not exists too.
In my version of WinCC OA the constant is named "PVSS_PATH".
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
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
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