10-09-2009 09:27 AM
Hello,
i am using TS3.5 and LV 8.5.
In Teststand there is the UserManager. I defined there a boolean symbol.
Then i have a Labview-Runtime that runs my teststand-sequence via activeX. On my operatorinterface is a LED that is only enabled when the boolean in the UserManager is TRUE.
Now my question is: How can i access the loaded user-infos from inside the running testplan?
That means:
1. i start my labview-OP
2. load the teststand-sequence
3. The boolean-value in teststand-usermanager was saved with false so on the op the LED is off
4. press start in the OP
5. Inside of the sequence the should be a statement that changes the value of the usermanager to true to light the LED
I tried
StationGlobals.TS.CurrentUser.MyLED = FALSE
RunState.ThisContext.StationGlobals.TS.CurrentUser.MyLED = False
ThisContext.StationGlobals.TS.CurrentUser.MyLED = FALSE
What is the correct access-point to the value?
thx for your help
10-12-2009 10:10 AM
OnlyOne -
I'm not sure I fully understand your question. Are you trying to modify a User Privilege mid execution? Could you please provide a clearer explanation? Screenshots of which User property you're talking about might be useful.
Thanks!
10-12-2009 02:08 PM
10-12-2009 03:43 PM
OnlyOne,
Could you please provide a simplified Users.ini file that displays the Users and this "boolean" that you've defined.