ReadDiscrete
Reads a range of bits from a discrete input channel.
The ReadDiscrete function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. has the following syntax:
ReadDiscrete(Event, StartBit, Number of Bits)
See the table for a description of the available parameters.
| Parameter | Description |
| Event |
Specifies the update event on which to read. |
| Start Bit |
Specifies the first bit of the set.
|
| Number of Bits |
Specifies the number of bits in the set.
|
| Returns | The positive integer value read, or #ERR. |