06-09-2014 01:25 AM
how to make labview statments
as
c = ( 5 << a ) + ( 64 >> b )
or
c= ( a & 2 ) << ( b|3 )
could not find how to convert and to shift right and lift
Solved! Go to Solution.
06-09-2014 01:53 AM
Hi RINO2014,
You can use formula node in structures palette to perform these actions using the c code.
06-09-2014 01:54 AM
Hello RINO2014,
The functions you are looking for are in the Data Manipulation palette, which is part of the Numeric Palette, specifically:
LabVIEW Help: Logical Shift
http://zone.ni.com/reference/en-XX/help/371361K-01/glang/logical_shift/
The Boolean operators can be found in the Comparison palette.
Best Regards,
06-09-2014 01:57 AM
thanks so much really help
06-09-2014 06:48 AM
Duplicate thread: http://forums.ni.com/t5/LabVIEW/TANK/m-p/2877560