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

Read Custom Command Line Arguments When Running Sequence

$
0
0

Hi,

 

I would like to be able to run a sequence file and have it accept a custom command line argument. For example I would like to run "TestSequence.seq" with the string "2710" as an argument to the sequence file (when I run via command line), which will be saved in a sequence local and used as an input to one of my VIs in the sequence file. Can anybody help me with this?

 

I have tried to capture the command line argument with the ActiveX module using RunState.Engine.GetInternalOption(InternalOption_ApplicationManager) & property CommandLineArguments

but I get an error popup saying the argument is not recognized. 

 

image.png

 

Any help is appreciated.

 

Thanks


Viewing all articles
Browse latest Browse all 6524

Trending Articles



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