# ReadDiscrete

Note: This function is currently not supported on 3D-L4000 Series Vision Systems.

Reads a range of bits from a discrete input channel.

## ReadDiscrete Inputs

Parameter | Description
Event | Specifies the update event on which to read. This parameter needs to be a reference to any event with a timestamp, for example an InputPointCloud function.
Start Bit | Specifies the first bit of the set. The value range is 0 – 7, and the default value is 0.
Number of Bits | Specifies the number of bits in the set. The value range is 0 – 8, and the default value is 0.

## ReadDiscrete Outputs

Returns | The positive integer value read, or #ERR for any invalid input parameter.