NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

using TS_EngineNewExecution to run a "single pass"

hello,

I'm having a TestStand version 2012 and a CVI version 9.1

If i'm running a sequence without a report, the TS_EngineNewExecution if working well.

Then i'm running a "Single Pass", TS_EngineNewExecution is call to SequentialModel.seq file but the MainSequence is not running and no report is generate.

Then i'm running a "Single Pass" from TestStand GUI environment, it call to SequentialModel.seq file, it popup an error message that during use of modelsuppots2.dll need to have a .pdb file, and the MainSequence is running and the report is generate and the results are save into database.

how can i resolve the error message above? 

0 Kudos
Message 1 of 3
(2,542 Views)

Hi Sagas,

 

Can you post an image of the error you are receiving when running a Single Pass from TestStand? Am I right in understanding that when you run the Single Pass from the TestStand GUI environment, that this is deployed code?

 

If so we should focus on the issues in the development system specifically when you say that MainSequence is not running. What behavior are you experiencing when the MainSequence "is not running"?

Tyler C.
Technical Support Engineering
National Instruments
0 Kudos
Message 2 of 3
(2,513 Views)

Hi Tyler,

thanks for yours reply.

Note: i did several changes at SequentialModel.seq but this is not the cause of the warning (this warning is happen also at the original file).

When i'm running a "Single Pass" (see figure 1), TestStand is uploading the file SequentialModel.seq and over there i put a break point (see figure 2). When i'm stepping into, the sequence is calling to Initialze Execution Entry Point  that a part of ModelSupport.seq (see figure 3) and over there the step Read Model Option Defaults is posting a warning (see figure 4). that warning appear any time that any step is using modelsupport2.dll or ManagedModelSupport.dll .

If i'm clicking OK button, SequentialModel.seq reach to the MainSequence Calback

If i will remove the break point, SequentialModel.seq reach to the MainSequence Calback without posting a warning.

If i'm calling to run a Single Pass from CVI using TS_EngineNewExecution, the engine will run until it meet the step that using modelsupport2.dll, and than it stop (not running the MainSequence Calback). if i'm bypass the steps that using modelsupport2.dll and ManagedModelSupport.dll, the SequentialModel.seq reach to the MainSequence Calback (but in this way i can't write the results to database).

 

Download All
0 Kudos
Message 3 of 3
(2,496 Views)