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
- last edited on
03-20-2026
12:29 PM
by
Content Cleaner
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
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/logical-shift.html
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