10-17-2024 08:18 AM
How can I provide variables when I call a sequence via CMD?
I created a simple sequence which will just do one pop-up. Now I want to change the text of the pop-up. Sequence is attached.
Something like this:
C:\Program Files (x86)\National Instruments\TestStand 2017\UserInterfaces\Full-Featured\CVI\Source Code\WIN32>TestExec /run MainSequence PathToSeq\CMD_Sequence.seq Parameters.PrintString "NotDefault" /quit
Solved! Go to Solution.
10-17-2024 12:05 PM
First thing; you would specify the argument as follows:
C:\Program Files (x86)\National Instruments\TestStand 2017\UserInterfaces\Full-Featured\CVI\Source Code\WIN32>TestExec /run MainSequence PathToSeq\CMD_Sequence.seq /myArg "NotDefault" /quit
/myArg could be anything. Examples: /data or /custom or /popUpSettings
This article will help you get started.
How To Get Command Line Arguments In TestStand Sequence Editor? - NI
10-18-2024 09:04 AM
Thank you @ee-jallen!
I made it and I will upload my test example here for other users.