NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

get handle of sequence file using file name

in example it is described how to access the comment of a sequence file.
During report generation I only have the file name of the sequence file not some sequence file struct which is needed.
How do I get that using the sequence file name?
0 Kudos
Message 1 of 2
(2,989 Views)
Hi mbrost,

Try this TS2.01f1 example.

I have put in an override TestResult Callback sequence and added some code to obtain the comment of the Sequence File. I have also added a Comment to the Sequence File.
Using RunState.SequenceFile as the ActiveX Reference I get a reference to PropertyObjectFile.Data which return a reference. Using this reference I then call the PropertyObject.Comment() API to obtain the comment string.

Then I display this Comment string in a MessageBox.


Hope this helps
Regards
Ray Farmer

(PS. ignore the name markp01 as NI site is getting people mixed up)
0 Kudos
Message 2 of 2
(2,989 Views)