01-10-2013 01:49 AM
Hello
I habe a vi (testVI.vi) that gives me an Result in an ASCII String like "det5ht".
In TestStand I have made an String Value Test that gets the Result from that vi.
I have set the String Value Test Module Type to ASCII String.
In TestStand I have an Measurement "det5ht" -> this is correct !
What I now want to see in TestStand is not the ASCII Sting "det5ht"
I'd like to see it as an HEX String like "64\65\74\35\68\74 ".
I have tryed to switch the String Value Test Module Type to Binary String.
In TestStand I have an Measurement "E@=3@J60100hUL;93]a=0X1008:2@?"
Waht is this String ? "E@=3@J60100hUL;93]a=0X1008:2@?" Ihave no clue ?
I dont want to convert the ASCII Sting to a HEX String in the VI.
I want to convert the ASCII String in TestStand.
Because this VI is used in other Tests.
Is there a way to convert that ACII String to HEX String in TestStand
(I habe made a simple Test.seq File)
Would be great getting Response
Greets Martin
01-10-2013 10:14 AM - edited 01-10-2013 10:15 AM
You could write a loop which does this using an expression like:
Locals.stringResult += "\\" + Str(Asc(Mid(Locals.MyOriginalString, Locals.loopIndex, 1)))
Or write a utility labview VI which does something similar and call it from teststand.
-Doug
06-28-2013 02:24 PM
How would you do this in labview because I don't know that language very well