From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the name of Sequence from SequenceFile? NI TestStand

Hello everyone!

 

I'm a new NI TestStand user. In a project that I'm working on, I need to get the names of sequence in my sequence file. If you refer to the variables, RunState.SequenceFile.Data.Seq we can see the available sequence. Question is, how do extract the names of the sequence and store it in a variable. I would greatly appreciate your help.

 

Thanks alot

 

Regards

Syafi

0 Kudos
Message 1 of 4
(668 Views)

Try RunState.SequenceFile.Data.Seq.AsPropertyObject.GetSubProperties()

to retrieve the sequences and retrieve the name using AsPropertyObject.Name

0 Kudos
Message 2 of 4
(631 Views)

Hello,

 

I tried using RunState.SequenceFile.Data.Seq.AsPropertyObject.Name, but what I got is the name of the array that the Sequence are stored in which is 'seq'. Not exactly what I'm trying to achieve but it gives me a good starting point. I've attached the file for you to have a look at. I wanted to extract the name of the sequence such as 'Main_sequence', 'Seq_1','Seq_2' etc.

0 Kudos
Message 3 of 4
(619 Views)

I won't have access to my TestStand installation until Monday, will check then

0 Kudos
Message 4 of 4
(608 Views)