Option Digital inputs
Option Digital inputs
This option allows the user to acquire additional digital channels synchronous and phasestable along with the analog data.
Therefore the analog data is filled up with the digital bits up to 16 Bit data width. This leads to a possibility of acquiring 4 additional digital bits per channel with 12 bit resolution boards.
Sample format
The following table shows the sample format of the standard mode with the digital inputs disabled and the sample format with activated digital inputs.
Bit | Standard Mode | Digital Inputs enabled |
D15 | ADx Bit 11 | DIGx Bit 3 |
D14 | ADx Bit 11 | DIGx Bit 2 |
|
|
|
D13 | ADx Bit 11 | DIGx Bit 1 |
|
|
|
D12 | ADx Bit 11 | DIGx Bit 0 |
D11 | ADx Bit 11(MSB) | ADx Bit 11(MSB) |
|
|
|
D10 | ADx Bit 10 | ADx Bit 10 |
|
|
|
D9 | ADx Bit 9 | ADx Bit 9 |
D8 | ADx Bit 8 | ADx Bit 8 |
|
|
|
D7 | ADx Bit 7 | ADx Bit 7 |
|
|
|
D6 | ADx Bit 6 | ADx Bit 6 |
D5 | ADx Bit 5 | ADx Bit 5 |
|
|
|
D4 | ADx Bit 4 | ADx Bit 4 |
|
|
|
D3 | ADx Bit 3 | ADx Bit 3 |
D2 | ADx Bit 2 | ADx Bit 2 |
|
|
|
D1 | ADx Bit 1 | ADx Bit 1 |
|
|
|
D0 | ADx Bit 0 (LSB) | ADx Bit 0 (LSB) |
To enable the recording of the digital inputs you simply have to set the according register shown in the table below.
Register | Value | Direction | Description |
SPC_READDIGITAL | 110100 | read/write | Enables the recording of the digital inputs. This is only possible if the option “digital inputs“ is |
|
|
| installed on the board. |
Due to technical issues there is a board dependant fixed delay between the analog and digital samples. The delay for your type of board can be found in the technical data section.
(c) Spectrum GmbH | 89 |