NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

which veriable hold the sequenceFile Version?

HI,
 
The SequenceFile Properties has a version field.  When can I find it in the RunState variables?
 
Thanks
Rafi
0 Kudos
Message 1 of 7
(3,845 Views)

Hi Rafi,

Yes you can find it there. You have just to use the parent class of SequenceFile, the propertyObjectFile
Just take a look at the example

Greetings

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 7
(3,835 Views)
Hi Juergen,
 
I'm using TS3.5 and I can't run your seq.  You must be running on TS4.0.
Can you save it as a TS3.5?
 
Thanks
Rafi
0 Kudos
Message 3 of 7
(3,827 Views)
Hi Rafi,
 
The TS3.5
 
juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 7
(3,823 Views)

Dear juergen

The sequence gives an error

 

Error , An error occurred evaluating the Title Expression:
Unknown function or sequence name 'RunState.SequenceFile.AsPropertyObjectFile'.
[Error Code: -17320, Unknown function or sequence name.]

If you look at the context (on a breakpoint..), you don't see this variable.

Any idea?

Thanks

Rafi

0 Kudos
Message 5 of 7
(3,787 Views)

Hi Rafi,

Thats clear !?! You are using TS3.5 and this does not support api calls 
you have to use ActiveX.

I will provide a example soon as possible!

Greetings

Juergen 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 6 of 7
(3,785 Views)

Hi Rafi,

Check this out. I tried it under TS4.1
Let me now if it works

Greetings

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 7 of 7
(3,783 Views)