05-17-2011 02:31 PM
Hi all,
I am using CVI 2009 and i have two simple questions
1) I have written a code in Labwindows CVI which is in little Endian. Can i
convert whole of this application into Big Endian ? I actually mean that is
there any option in Labwindows CVI which changes the Endianness?
2) If there are few lines of code from 1 to 50 and i have to exactly reverse their order i-e
from 50 to 1. Is there any shortcut available in labwindows for doing this?
Regards,
mhs100
05-17-2011 11:56 PM
Hi mhs100,
starting from CVI9 you can find HostIsBigEndian function in the Programmer's Toolbox: based on the result of his function you can use the other functions in Endianness section of the toolbox to convert format according to your needs.
With reference of your second question, I'm not aware of such a utility which could be of some help.
05-18-2011 10:40 AM