Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6732

Change Step Fail Causes Sequence Fail state from LW/CVI Custom Code Generator

$
0
0

Hi,

 

I have a CVI Code Generator as part of the ATML Importer Toolkit.  NI have kindly provided me with an example of how to change the Step Type as part of the Custom Code Generator DLL and that works fine.

 

However if I try to change the Step Fail Causes Sequence Fail value to VTRUE it appears not to fix the value when the Sequence is looked at in Test Stand.

 

The code I use is:

 

TS_StepChangeStepType (stepHandle, &errorInfo, typeDefinition);  

                         -where typeDefinition can be changed to change the step type, this works and I can change the step type as needed.

 

TS_StepSetStepFailCausesSequenceFail (stepHandle,&errorInfo, VTRUE); 

                         -which doesn't work, the tickbox is always set to VFALSE.

    

 

 

Is there something I'm missing?  

 

Many thanks,

 

Steve


Viewing all articles
Browse latest Browse all 6732

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>