NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to get user input such as numeric data using test stand

0 Kudos
Message 1 of 6
(6,905 Views)
ya... Its possible to get user inputs... You can use the meaasge pop up step. In the message settings if you enable the Enable_Response_text check box in the options Tab you can get the user input string. Users response can be accessed from Step.Result.Response.
 
 
0 Kudos
Message 2 of 6
(6,898 Views)
how can you get the numerical data....
0 Kudos
Message 3 of 6
(6,892 Views)

Hi,

use Str(Step.Result.Response, "%$d") will return the string to a numeric.

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 6
(6,886 Views)

you can get the input data as string...

In the post expression of the message pop up step U can convert the step.result.response to numeric by using the Val() function.

For example if you have a local called 'count' then your post expression could be like this.

Locals.count=val(step.result.response)

Message 5 of 6
(6,885 Views)
thanks for explaining me this concept....
0 Kudos
Message 6 of 6
(6,869 Views)