Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Can I Programmatically Determine the Version of my Sequence File?

Primary Software: TestStand
Primary Software Version: 3.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I would like to be able to programmatically determine the version of my currently executing sequence file.  How can I do so?

Solution:
First, obtain a reference to the currently executing sequence file from the TestStand engine.  Change this reference to a PropertyObjectFile reference by calling the method AsPropertyObjectFile on the reference to the currently executing sequence file.

After you have the reference to a PropertyObjectFile, Version is one of its properties.

The attached sequence file demonstrates this process via the use of ActiveX steps.  The version is displayed to the operator in the form a Message Popup step, and is also written to the report.

Related Links:

Attachments:
Sequence File Version ExampleSequenceFileVersion 3-1.seq




Report Date: 03/27/2008
Last Updated: 03/31/2008
Document ID: 4JQH4B6X

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit