06-01-2011 01:54 AM
Hi,
In my application, TestStand receives a response from a DLL I call. This DLL can either return a numeric value (casted in a string), like "120" or some text casted in a string, like "ERROR". I would like to make the test step fail, if the returning string is NOT a number.
Anyone any clues on how to do this? I looked for something like a IsNumeric function, but could not find one.
Jeroen
Solved! Go to Solution.
06-01-2011 02:20 AM
Hi,
You can use the function Val(string, <isValid>) in an expression to convert your string to a value. Check the help for this function.