Hello
I am a newbie , and in my project ( a temperature datalog wireless using arduino and xbee- I don't use lifa interface, just get the packet via Labview standard serial VI).
A weird thing happens when the temperature gets the 127 C...the labview freezes...I f the temperature become high, just after 128 it's work again, if is going down , just in 124C is ok again
this is the way that i send the packet
int32_t l;
int16_t j;
payload[1] = ( ((l >> 24) & 0x000000FF));
payload[2] = ( ((l >> 16) & 0x000000FF));
payload[3] = ( ((l >> 8) & 0x000000FF));
payload[4] = ( ((l >> 0) & 0x000000FF));
payload[5] = (j >> 8) & 0x00FF;
payload[6] = j >> 0 & 0x00FF;
where l = temperatur from thermocouple ( *100)
and j is the ambient temperature(*100)
in Labview I use join the numbers and convert l to sgl and j to int16.( /100 to get the decimals)
I believe is some wrong way that I'm putting the bits in the packet...or the conversion in labview.
I really search a lot in internet, and saw some guys with this problem with the magical 127 number!!!!!
If somebody could get me a idea what is it...I really appreciate?
( excuse my bad English..I'm from Brazil)
thanks