General-Purpose Input
All the system I/O input port can be used as a general-purpose digital input port.
For that usage, use the MultiCam parameters belonging to the board Input/Output Control category.
Prior to the first attempt to get the state of an input port, it is mandatory to configure the port for that usage by assigning the value SOFT to the corresponding member of the collection parameter InputConfig.
When configured for general-purpose input usage, the corresponding member of the get only InputFunction parameter reports the value SOFT.
The digital state of the input port can then be read at any time by getting the value of the corresponding member of the InputState parameter.
I/O index assignments and specific member values of the input-related board I/O parameters
Index |
|||||
1 |
IO_A |
IIN1 |
ISO |
FREE |
UNKNOWN |
2 |
IO_A |
IIN2 |
ISO |
FREE |
UNKNOWN |
3 |
IO_A |
IIN3 |
ISO |
FREE |
UNKNOWN |
4 |
IO_A |
IIN4 |
ISO |
FREE |
UNKNOWN |
5 |
IO_A |
DIN1 |
DIFF |
FREE |
UNKNOWN |
6 |
IO_A |
DIN2 |
DIFF |
FREE |
UNKNOWN |
7 |
CAMERA_A |
LVAL |
CHANNELLINK |
|
LVAL |
8 |
CAMERA_A |
FVAL |
CHANNELLINK |
|
FVAL |
9 |
CAMERA_A |
DVAL |
CHANNELLINK |
|
DVAL |
10 |
CAMERA_A |
SPARE |
CHANNELLINK |
|
SPARE |
11 |
CAMERA_A |
CK_PRESENT |
CHANNELLINK |
|
CK_PRESENT |
12 |
IO_B |
IIN1 |
ISO |
FREE |
UNKNOWN |
13 |
IO_B |
IIN2 |
ISO |
FREE |
UNKNOWN |
14 |
IO_B |
IIN3 |
ISO |
FREE |
UNKNOWN |
15 |
IO_B |
IIN4 |
ISO |
FREE |
UNKNOWN |
16 |
IO_B |
DIN1 |
DIFF |
FREE |
UNKNOWN |
17 |
IO_B |
DIN2 |
DIFF |
FREE |
UNKNOWN |
18 |
CAMERA_B |
LVAL |
CHANNELLINK |
|
LVAL |
19 |
CAMERA_B |
FVAL |
CHANNELLINK |
|
FVAL |
20 |
CAMERA_B |
DVAL |
CHANNELLINK |
|
DVAL |
21 |
CAMERA_B |
SPARE |
CHANNELLINK |
|
SPARE |
22 |
CAMERA_B |
CK_PRESENT |
CHANNELLINK |
|
CK_PRESENT |
23 |
IO_A |
POWER_5V |
POWERSTATE |
|
POWERSTATE5V |
24 |
IO_A |
POWER_12V |
POWERSTATE |
|
POWERSTATE12V |
25 |
IO_B |
POWER_5V |
POWERSTATE |
|
POWERSTATE5V |
26 |
IO_B |
POWER_12V |
POWERSTATE |
|
POWERSTATE12V |
The I/O index 0 has no input-related function.