03-23-2009 05:42 AM
03-23-2009 05:56 AM - edited 03-23-2009 05:59 AM
You will find the all the functions you need in this palette(attached picture). The typecast function should work. Type cast the part of the string containing data in U16 to a U16 array. The byte swap function may also be needed.

03-23-2009 06:46 AM
I thought differently. The way I read the query, it sounds like the function needed is "Decimal String To Number". This would be the right thing to use if (for example) you can read the answer on screen if you connect to the device using hyperterm, ie the measurement device produces results in ASCII text like "123". If when you connect by hyperterm, the results are strange sequences of characters, the changes are that a cast and/or some sort of bit manipulation will be the correct method.
It's difficult to describe these things accurately, as people will interpret words differently. An example screen copy showing the string that is read from the device (as a string indicator) would help, and let us know whether the text indicator is set to mormal display, or to hex display. Don't forget to give us the expected answer too!
Rod.