‎08-18-2009 10:37 AM
i am using a formula node to shift my "uInt32 input" into 2 "uInt16" variable's ..
Code in formula node :
/* Start */
uInt16 outputHigh = 0;
uInt16 outputLow = 0;
outputHigh = (input >> 16);
outputLow = (input & 0xFFFF);
/* End */
outputLow workrs fine .. but the High part doesnt work correctly ..
input = 0xEEEEEEEE and outputHigh results 0x7FFF for example ..
what i am making wrong??! 🙂
thanks so far ..
best regards, Sascha
Solved! Go to Solution.
‎08-18-2009 10:41 AM - edited ‎08-18-2009 10:47 AM
There is a known bug with shift in a formula node. (See here).
You don't need a formula node for all this, just use split number. 😄
‎08-18-2009 10:47 AM - edited ‎08-18-2009 10:50 AM
mh .. ok
2 hours lost for nothing 😛
thanks for fast help!
is this bug still in LabView 9 ? 😃
when not i'll install it now 😉
‎08-18-2009 10:57 AM
monXii wrote:
is this bug still in LabView 9 ? 😃
when not i'll install it now 😉
Just checkd this... monXii, you have to wait LabVIEW 10... 😉 🙂
Andrey.
‎08-20-2009 01:12 AM
not fixed in LabView 2009.. =/
thread can be closed