Reading a multi-channel item on a discrete module (including all FP-DI-3XX, FP-DO-4XX, FP-RLY-42X and the discrete channels on modules such as the FP-CTR-50X, FP-PG-522) will return a 8 or 16 bit numeric where any read channel will have the corresponding bit set in the boolean version of the numeric. For example, reading the all channel on a FP-DI-300, will return a number between 0 and 255. A second example, reading a multi-channel discrete item comprising channels 12-15 on a FP-CTR-500, will return a number between 0 and 61440, but will have a lot of values not returned because the lower 12 bits will always be zero since they are not part of the item. Specifically, if all (four) channels are on, the result is (boolean) 1111000000000000 or (hex) F000, or (de
c) 61440, if channels 12 and 14 are on, the result is (boolean) 101000000000000 , (hex) 5000 or (dec) 20480.
It is very easy to use a Numberic to Boolean Array.vi to covert the result to a boolean array if you so desire.
Regards,
Aaron
LabVIEW Champion, CLA, CPI