NI TestStand

取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 4 条)
3,183 次查看

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 项奖励
2 条消息(共 4 条)
3,154 次查看

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

0 项奖励
3 条消息(共 4 条)
3,128 次查看

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

0 项奖励
4 条消息(共 4 条)
3,122 次查看