Re: How to get from byte to hex in LabView?

2004-03-21 Thread Christopher M. Balz
Thanks guys. We already had the bytes picked out of the array and ready for processing. The solution was to use the 'number to hexadecimal' function under the Strings heading. Then we had a string literal representing the direct, actual characters of the hexadecimal value of the byte. This was q

How to get from byte to hex in LabView?

2004-03-21 Thread Christopher M. Balz
Our measuring instrument returns its data in three 8-bit bytes. We are trying to log this data in a nice format to a log file. Currently we have the logging, but translating the data to the format used on the display of the actual measuring instrument is turning out to be amazingly difficult in L

Re: How to get from byte to hex in LabView?

2004-02-12 Thread Brian Powell
If I understand correctly, you have a string with those three bytes in it. You might consider using String to Byte Array. This will help with the second and third bytes--it'll convert them to unsigned int8's. The third byte is signed, but you can just convert that byte to an int8 and it'll do th

Re: How to get from byte to hex in LabView?

2004-02-12 Thread Martin Riddle
Use the data conversion functions: Flatten - can flatten a string into an U8 array (or what ever the type descriptor is). String conversion functions - equivlent to 'C' sprintf. It really isnt that hard, just seems like more to do (and sometimes its is) in the GUI. Flatten the data, index each b