NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Whats the meaning of this Error

Solved!
Go to solution
Hi All, Can any one explain me this error? When I am converting response i got from message popup to float64 I am getting this error It will cause run time error, if i give continue I am getting proper output. Best Regards Manasa M
0 Kudos
Message 1 of 7
(2,647 Views)

@ManasaM wrote:
Hi All, Can any one explain me this error?

And what exactly is "this error".  What is the response you get?  How are you doing the conversion?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 7
(2,640 Views)

Sorry for the improper communication .. image was not attached.

 

please check this image:

arguement.PNGerror.PNG

 

0 Kudos
Message 3 of 7
(2,622 Views)

The Result.Response variable is a string, that's why you get this error. The Float64() function expects a number.  

0 Kudos
Message 4 of 7
(2,609 Views)
Solution
Accepted by topic author ManasaM

If you want to get the entered "number of iterations" from the Message Popup step, better use the Val() function:

 

Locals.numberOfIterations = Val(RunState.Sequence.Main["Select number of iterations"].Result.Response)

Message 5 of 7
(2,606 Views)

Thanks 

 

Actually i found this function (float64()) in TestStand for loop example.

Where do i get the list of functions available in TestStand?

 

Best Regards

Manasa M

0 Kudos
Message 6 of 7
(2,604 Views)

You find all available functions in TestStand help.

 

if you create an expression, click on this symbol f.PNGfor expression browser.

 

You will see all the functions in a structured way for numeric, string etc. with their help:

ExprBrowser.PNG

 

 

Message 7 of 7
(2,596 Views)