NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Test Stand: How does parameter's value is passed as command line argument?

Hi All,
This is my 1st Q on this board.
I'm using Test Stand Sequence to call a subsequence where I call an executable file and passing few arguments to it.
 
SuperSequence.seq => SubSequence.seq
 
In SuperSequence.seq I have 3 parameters and their values are specified
 
Parameters
Name      Type    Value
==============================
Name      string    "Nirvana"
Address  string    "London"
Tel           Number "123456"
 
In SubSeq.seq I call and EXE with following parameters
Executable Path Name: myApp.exe
Argument Expressxion:  "Parameters.Name  Parameters.Address  Parameters.Tel"
 
In the application I receive parameter names instead of their values?
E.g. I recevie Parameters.Name  Parameters.Address  Parameters.Tel in myApp.exe as arguments.
How do I make the values to be passed to myApp.exe instaed of parameter names?
 
Cheers
Nirvana
0 Kudos
Message 1 of 3
(2,870 Views)

Hi,

You have to make a string containing the arguments that you require

Try the following expression

Parameters.Name  + " " + Parameters.Address + " " +Str( Parameters.Tel)

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(2,864 Views)

Thanks Ray for quick response,

I'll try to make it work and will update.

Cheers

Nirvana

0 Kudos
Message 3 of 3
(2,844 Views)