12-10-2008 01:41 PM
What is the equivalent VI of the next C++ code?
ret = ret << 8;
Thank you guys
Solved! Go to Solution.
12-10-2008 01:45 PM
12-10-2008 02:19 PM
I can't to find the right expresion. can you help me?
thank you
12-10-2008 02:48 PM - edited 12-10-2008 02:49 PM
See here. You can also use the search function on the palettes and search for "logical shift".
12-10-2008 05:33 PM
12-11-2008 10:40 AM
The Logical Shift is x << y and I need x>> y
how can I do that?
thanks
12-11-2008 11:19 AM
I have this on:
wrbuffer[4] = (address >> 24) & 0x000000ff;
where "address" is int
what it's the LabView equivalent?
thank you
12-11-2008 11:26 AM
Select help for the Logical Shift function then select detailed Help.
y can be any numeric representation. If y is greater than 0, the function shifts x left y bits (from least significant to most significant bit) and inserts zeros in the low-order bits. If y is less than 0, the function shifts x right y bits in the positive direction (from most significant to least significant bit) and inserts zeros in the high-order bits.
12-11-2008 11:44 AM
Thank you VADave but still I can't to find the answer for:
wrbuffer[4] = (address >> 24) & 0x000000ff;
to labView
12-11-2008 12:04 PM