Gentlepersons, I just can't seem to find any functions in Labview to do bit-mask operations. Do I have to roll my own? I noticed there are HiQ functions bitAND, bitOR, and bitShift, but I don't want to have to install HiQ just for these. Thanks in advance for your most helpful advice! Vic
The Boolean functions do bit wise ORing and ANDing etc. on integers as well. Also check out the 'Advanced\Data Manipulating' functions for rotating and shifting etc.
Tim
VS wrote:
> Gentlepersons, > I just can't seem to find any functions in Labview to do bit-mask > operations. Do I have to roll my own? I noticed there are HiQ functions > bitAND, bitOR, and bitShift, but I don't want to have to install HiQ just > for these. Thanks in advance for your most helpful advice! > Vic
You can also check the Advanced->Data Manipulation palette. There are additional functions there for rotating and shifting bits, swapping bytes & words, etc.
In article , kyle.gupton@ni.com wrote: > You can connect numbers to the normal Boolean functions (And, Or, Not, > etc) in LabVIEW. They will then do their operations on a bit-by-bit basis. > > Kyle Gupton > National Instruments >
Sent via Deja.com http://www.deja.com/ Before you buy.