11-19-2024 05:38 PM - edited 11-19-2024 05:50 PM
I am trying to run VeriStand server silently locally based on https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000001DrL7CAK&l=en-US.
However, I got error:
PS C:\Users\Hongb> "C:\Program Files\National Instruments\VeriStand 2024\veristand-server.exe" deploy "C:\Users\Public\Documents\National Instruments\NI VeriStand 2024\Examples\Stimulus Profile\Engine Demo\Engine Demo.nivssdf"
At line:1 char:77
+ ... ional Instruments\VeriStand 2024\veristand-server.exe" deploy "C:\Use ...
+ ~~~~~~
Unexpected token 'deploy' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
Any ideas? Thank you!
Solved! Go to Solution.
11-19-2024 05:41 PM - edited 11-19-2024 05:49 PM
Just found "Windows PowerShell" does not work. It has to run in "Command Prompt".
Now I can succeed
"C:\Program Files\National Instruments\VeriStand 2024\veristand-server.exe" deploy "C:\Users\Public\Documents\National Instruments\NI VeriStand 2024\Examples\Stimulus Profile\Engine Demo\Engine Demo.nivssdf"
"C:\Program Files\National Instruments\VeriStand 2024\veristand-server.exe" undeploy "C:\Users\Public\Documents\National Instruments\NI VeriStand 2024\Examples\Stimulus Profile\Engine Demo\Engine Demo.nivssdf"