12-04-2018 12:43 PM
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.
Any help is appreciated.
Solved! Go to Solution.
12-04-2018 07:03 PM
I think you can only do this inside of a UI that you have the source code for. See this: https://zone.ni.com/reference/en-XX/help/370052W-01/tsuiref/reftopics/applicationmgr_processusercomm...
Since you don't have the source code for the sequence editor you cannot trigger that event and therefore cannot suppress the error.
12-06-2018 03:05 AM
12-06-2018 10:33 AM
Ok, I will incorporate this into my own teststand GUI.
Although it would be nice to have this option from the shipping version of teststand!