ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic run time engine change in simple user interface

Hello all,

 

I am solving this problem:

I need to change run time engine server before the sequence start (we need to keep the system compatible for old version - new sequences will change the run time engine in the begining) I found how to change (API function - this is working) I put this statements in SequenceFileLoad (switch to new engine). When I open the sequence in simple user interface it is working normally, but when I open the simple user interface whit command line parametr (runEntryPoint "Test UUTs") It will start the sequence with error and after that is called the callback with engine change (SequenceFileLoad)

 

I find out that, when I change Sequence Load Option to "load dynamically" the SequenceFileLoad callback is open before execution begin and whole procedure is working fine, but then the first run is quite slow, becouse all VIs are loaded.

 

Is there any way how to change th engine in better way?

Is there any way to load whole sequence programatically (to avoid first slow run)?

 

Thanks for your advices...

0 Kudos
Message 1 of 3
(3,185 Views)

Hi,

 

Are you saying that using the CommandLine it runs the Sequence before it runs the SequenceFileLoad!

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,176 Views)

Hi,

 

In fact it looks to me like there is sequence running before SequenceFileLoad callback, but the sequence just load all VIs in the begining. And even there was an error with loading VIs (becauste of old engine) it runs SequenceFileLoad. That really confuse me.

 

I tried it again, and I found that there is probably only the one way - to set the sequence to load dynamically and put the statements to change the adapter in the begining and end of the sequence - its now working.

0 Kudos
Message 3 of 3
(3,173 Views)