NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Implementation of ProcessUserCommandLineArguments Event when launching sequence from CMD

Good day,

My goal is to launch sequence file from CMD and using ProcessUserCommandLineArguments Event put the CMD command to sequence file global variable. Is this even possible? Then I would parse the string and pass my parameters to steps. I am trying to modify the simple user interface writen with LabVIEW. So far I mannaged to create ProcessUserCommandLineArguments Event callback and I am able to display message box containing my command. But I can not figure out a way to put that command to sequence file global variable. Does anyone have an idea how to do this? Which Reference API's should I be using?

Thank you.

0 Kudos
Message 1 of 4
(2,927 Views)

It seems that I nearly solved the problem. I was able to get Sequence reference via ManagersControls.SequenceFileView Manager. Using this I can get reference to local variables and write value to one of my variables. Then I can configure step to make my local variable a file global variable. But still... Isn't there a direct method to save command line arguments to file global variable?

0 Kudos
Message 2 of 4
(2,898 Views)

If you wire the PropertyObject Invoke Node to the Globals output instead of the Locals, what behavior do you see?

0 Kudos
Message 3 of 4
(2,872 Views)

Unfortunately there is no ability to select Globals property in the property node.

0 Kudos
Message 4 of 4
(2,866 Views)