08-24-2016 03:25 PM
is there an api call that will set analyze file before executing to disabled?
08-25-2016 01:00 PM - last edited on 10-25-2024 01:35 PM by Content Cleaner
Hi bcat,
Check out the link below for more information. Copied from the source:
"By default, the sequence analyzer enables the Analyze File Before Executing option in the Sequence Analyzer Options dialog box. In the sequence editor, click the Toggle Analyze File Before Executing button on the Sequence Analyzer toolbar or select Debug»Sequence Analyzer»Toggle Analyze File Before Executing to enable or disable this option. When you enable this option, the sequence analyzer uses the rules and settings in the current sequence analyzer project to analyze the active sequence file when you initiate an execution. Enabling this option can help you find errors early during development."
Full page linked below.
Analyzing a Sequence File or Workspace File in the TestStand Sequence Editor
https://www.ni.com/docs/en-US/bundle/teststand/page/analyze-in-tse.html
Regards,
Finch Train
08-25-2016 01:20 PM
Finch,
Thanks for the input. Unfortunately that does not answer my question. I know how to enable or disable the Analyze file before executing using the user interface. The way I am using the teststand sequences I don't have access to the UI. I create an instance of teststand and run sequences through another program. So I want to create a sequence I can run that will disable the analyses file before executing so that when I run other sequences in that instance of teststand they don't get analyzed first.
As an example of something similar that I am doing. In the UI you can go to Execute->break on step failure to toggle that on or off. I want that to be off for all of my sequences so I have a sequence that calls RunState.Engine.stationoptions.BreakonStepFailure=False and that programmatically does the same selecting that menu option. I am looking for an API call similar to that for the Analyze file before execution
08-26-2016 02:55 PM
Hi bcat,
Thanks for the clarification. I am not immediately aware of an API call that would be able to do this. I'll keep looking and let you know what I'm able to find.
Regards,
Finch Train