06-20-2011 11:22 AM
Hello,
I am using TestStand 3.5 to automate few test cases related to boot loader.
The requirement is I need to read the value at some specific address locations. The values of these addresses are of stored in Hex format.
We have a customized step in TestStand through which we can read these values by address, but it returns the value as "String" type.
E.g. The value at 0x0000008 is 000001B2, and it is returned in Locals.Value_Read as "000001B2" in string.
Is there any way, I can convert string "000001B2" to a number?
I tried using the function -> val(locals.Value_Read), but it is returning 0 as TestStand figures out that the input string is not representing the valid number.
Please help me out with this.
Thanks and Regards,
Niraj.
Solved! Go to Solution.
06-20-2011 12:09 PM
Try: Val("0x" + Locals.Value_Read)
06-20-2011 12:36 PM
Thank you. It works.