09-19-2023 11:00 PM
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
09-20-2023 08:08 AM
Try RunState.SequenceFile.Data.Seq.AsPropertyObject.GetSubProperties()
to retrieve the sequences and retrieve the name using AsPropertyObject.Name
09-20-2023 08:32 PM
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.
09-21-2023 03:11 AM
I won't have access to my TestStand installation until Monday, will check then