NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the Test Stand version number of an old sequence file

Solved!
Go to solution

A customer wants a small change to a previous deployment.

 

They have returned the original sequence file to me but the deployment is about two years old.

 

Is there anyway that I can get the TestStand Version number from the old sequence file so that I will know which version to save it in.

 

I am currently using TestStand 4.2.1.83. 

 

Thanks,

Sean

0 Kudos
Message 1 of 6
(4,476 Views)
Solution
Accepted by SeanJ

Sean,

 

you can open the seq-file using wordpad and take a look.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 6
(4,474 Views)

There's a lot of strange characters but it says "4.1 (4.1.0.228)" in the first line.

 

I'm assuming that's the version number. 

 

Thanks a lot Norbert.

 

Regards,

Sean

0 Kudos
Message 3 of 6
(4,471 Views)

Just want to add, there is also an API for this in the Engine, however if you just need to check a few files manually then what Norbert suggested is probably easier. The API is:

 

String fileVersion = Engine.GetFileInformation(filePath).GetFileFormatVersion();

 

Hope this helps,

-Doug

GetFileFormatVersion
0 Kudos
Message 4 of 6
(4,465 Views)

What if the sequence file is in binary format, not INI style?

You see rubbish when open it with a text editor.

 

This is a possibility after some version of TS.

S. Eren BALCI
IMESTEK
0 Kudos
Message 5 of 6
(3,891 Views)

As Sean stated back in 2010, you can also read the version number in clear text. You can read some parts of the file in a text editor, the version number is one of those....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 6
(3,878 Views)