NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to extract Teststand file global variables with LabVIEW

Solved!
Go to solution

Hi,

 

My  goal here is to extract all the contents of file global variables (names and value of any types) in a sequence file from my LabVIEW UI.

 

For now, i can only open a sequence file from LabVIEW and get the number and the names of the variables (see attached vi).

 

But if my variable is a container, i would like to know all the contents of this container (and so on) and I don't know how to do it.

 

In addition, I have to extract value from variables that i don't know the type in advance...

 

Can you help me?

Thank you.

Message 1 of 2
(4,769 Views)
Solution
Accepted by topic author LoisLbs

Well i finally  used the  "GetNthSubProperty" method to work on each variable and i use the "Type" property to know if it is a number, string, boolean or container. If it is a container, i repeat the process on a lower level.. (see attached vi)

Message 2 of 2
(4,754 Views)