NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to programmatically read TestStand type version information?

In the Type Palette Properties page for a TestStand type, you can specify a
version number for the type.

Is there a way to programmatically query the type version of an instance of
a type at run-time?

Thanks,

Bob Rafuse
Etec, Inc.
0 Kudos
Message 1 of 3
(3,002 Views)
Hi Bob,
since the instance of a step doesn't have a version, you have to get the version of the type of step.
To do this in TestStand itself, I first have to find out what type the step is, using the step itself as an activeX reference. From the step type, using it as a property object I get the typeversion.

Hope this helps.

Sacha

I've attached an example in TestStand 2.0.1 which gets the version of a statement step in MainSequence - go to Mainsequence and Run Mainsequence (i.e. not using process model)
// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 2 of 3
(3,002 Views)
Sacha,

> since the instance of a step doesn't have a version, you have to get
> the version of the type of step.
> To do this in TestStand itself, I first have to find out what type the
> step is, using the step itself as an activeX reference. From the step
> type, using it as a property object I get the typeversion.
>
> Hope this helps.

It does. Works great. Thanks!

Bob.
0 Kudos
Message 3 of 3
(3,002 Views)