NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Run a TestStand sequence with CVI

Hello,
I am trying to open a TestStand sequence (*.seq) with a small C application, but I'm a beginner and I have some problems.
So i start with theses functions:

TS_NewEngine
TS_EngineGetSeqFileEx
TS_SeqFileGetProperty        ( not sure that i really need that...)

And so I don't know which functions I need to continue and launch the sequence. I tried TS_EngineNewExecution but its not working...Can someone help me for this problem?

Thank,  Romain

0 Kudos
Message 1 of 5
(3,570 Views)
Hi Romain
 
I think the best would be to open CVI source-codes of the UI-Interface
It is shipped with TS.
You will find it under <ProgramFolder>\National Instruments\TestStand X.Y\UserInterfaces\NI\Simple\CVI
 
Hint: Before modifiying copy it to the folder parent folder<user>
 
Greetings
 
juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 2 of 5
(3,566 Views)
Hi,
 
try this example as a guide, it's and early Teststand example (1.0.1) so I wouldn't expect it to work straight from the box, unless of course you are using TS1.0.1.
 
 
Regards
Ray Farmer
Regards
Ray Farmer
Message 3 of 5
(3,559 Views)

Thank you Ray,

for pointing this link. 
This is better because there is no UI-stuff.

juergen

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 5
(3,556 Views)
Thank you Ray Farmer! It was exactely what I needed and my program works now.

Regards

Roro
0 Kudos
Message 5 of 5
(3,549 Views)