08-21-2013 10:41 AM
Hi,
I am getting an error -17306 while accessing the TestStand container present in Station Globals using invoke node property object. Please find below the code snippet.
Thanks,
Neha
09-14-2013 01:34 AM
Hi
you would probably have more luck in the teststand forum, However why are you not using http://zone.ni.com/reference/en-XX/help/370588D-01/lvteststand/teststand_-_get_property_value/
Function?
You should be able to go Globals.UUT1.Name
Nick
09-14-2013 05:01 AM
Hi Nick,
Thanks for help. The problem got resolved. But I'll try with the alternate method which you mentioned above.
Just 1 question, how to pass a context to Get Property Value VI when the TestStand is launched from LabVIEW.
Regards,
Neha Kulkarni
09-16-2013 12:43 AM
It shouldn't matter what launches TestStand.
"ThisContext" (without quotes) is what you need to pass to the VI object reference for the Get Property Value VI
09-16-2013 12:58 AM
Hi Nick,
Yeah that's true. But my VI is not getting called from TestStand. The VI is stand alone and from that VI TestStand is being launched. So there will be no container pane from where I can map that reference to TestStand sequence. How to pass the sequence context in this case.
Regards,
Neha
09-16-2013 01:16 AM
Ok so you are in Chicken or Egg situation... sorry can't hlep there. Other than suggesting that the globals are stored in a file somewhere.
09-16-2013 04:33 AM
Ok. Thanks 🙂
09-16-2013 05:14 AM - edited 09-16-2013 05:16 AM
Hi
I am not sure too, how to obtain sequence context from TS application manager. However, did you try using the lookupstring as "StationGlobals.UUT1.Name" or as "FileGlobals.UUT1.Name"?
I think, the reference to globals will include Station Globals and File Globals. so, you might have to be specific in the lookup string.
the error says the name of the variable or property is not valid.
also, you wired "0" which means do not create the variable if not found. is that what you wanted to configure?
09-16-2013 05:20 AM
Hi,
I have done it by the same way using lookup string. And that's working fine now.
I just wanted to find some alternate way if any.
Thanks.