04-25-2008 05:14 PM
04-27-2008 04:35 PM - edited 04-27-2008 04:35 PM
04-28-2008 12:24 PM
Thank you for the reply. I still can't find the path to a variable I want to pass to my VI. Can you tell me the how to get names for limits for a multiple-numeric step? Is there a document listing paths to all default Teststand variables?
Regards,
KPY
04-29-2008 08:27 AM
Hello kpy,
The information for the individual limit tests of a Multiple Numeric Limit test is contained in the Step.Result.Measurement array. This array contains one element container for each limit test within the step. In those containers you can find the various pieces of information (comparison type, low limit, high limit, etc) you might want to retrieve.
The TestStand help files might be a good reference for some of the information you desire, but if you want to find the specific locations of variables for a step you can open the Step Property Browser. In TestStand 4.x its under Step Properties»Property Browser or in TestStand 3.x right click on the step, navigate to Properties and click on the 'View Contents' button. This will allow you to see the variables the step contains, in the appropriate hierarchy, so you can properly navigate to those variables.
04-30-2008 10:09 AM
Thank you John. Your suggestions are very usefull.
Unfortunately I still can't seem to find a way to retreive the name of the limit in a Labview VI from Teststand sequence Context reference. What I want to pass is the name of the container. If I was in TestStand I could get the limit name using the function NameOf(Step.Result.Measurement[0]). Is there a way of getting same in Labview from the ThisContext Object Reference? I am using Teststand 3.1.
Regards,
KPY
05-01-2008 01:07 AM
Hi,
If you use one of the PropertyAsObject methods using the Step object reference and the Lookup string of "Result.Measurement[0]". This will return an PropertyObject reference to Result.Measurement[0]. You can then use the Property Node to get the name, as in my previous example.
Regards
Ray Farmer
05-01-2008 10:35 AM
Thank you Ray,
I got my application setup nicely now.
Cheers,
KPY