05-18-2008 09:31 PM
05-18-2008 11:28 PM
05-19-2008 08:45 AM
05-19-2008 08:55 AM
It looks like he's using CVI and posted to the wrong board.
Modifiers" for the CVI "Fmt" command, but it appears that the Fmt command only allows byte swapping for Integer data using
05-19-2008 11:03 AM
If using CVI, you can use a series of masks and shifts to get each byte, then reassemble in the correct order. Example:
10101010 00000000 AND 11111111 00000000, then shift the result 8 bits to the right, will give the MSByte. Get the LSByte using AND, no shift required. Then shift the LSByte to the left by 8 bits and AND with previous MSByte. It is tedious but it will work.
05-19-2008 06:33 PM