I think this is a fairly simple question, I am trying to translate the following code into LV:
unsigned short crc = 0;
unsigned char b = 0x7d;
crc = crc ^ (unsigned char) b << 8;
if (crc & 0x8000)
crc = crc << 1 ^ 0x1021;
The only requirement is that 'b' should be the string variable in the 'hex' format and not the 'normal' format.
Another question is how a string variable in 'hex' format can be converted into 'normal' format?
Thanks in advance.