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 |
IIN1 |
ISO |
FREE |
UNKNOWN |
2 |
IO |
IIN2 |
ISO |
FREE |
UNKNOWN |
3 |
IO |
IIN3 |
ISO |
FREE |
UNKNOWN |
4 |
IO |
IIN4 |
ISO |
FREE |
UNKNOWN |
5 |
IO |
DIN1 |
DIFF |
FREE |
UNKNOWN |
6 |
IO |
DIN2 |
DIFF |
FREE |
UNKNOWN |
7 |
CAMERA |
LVAL |
CHANNELLINK |
|
LVAL |
8 |
CAMERA |
FVAL |
CHANNELLINK |
|
FVAL |
9 |
CAMERA |
DVAL |
CHANNELLINK |
|
DVAL |
10 |
CAMERA |
SPARE |
CHANNELLINK |
|
SPARE |
11 |
CAMERA |
CK_PRESENT |
CHANNELLINK |
|
CK_PRESENT |
23 |
IO |
POWER_5V |
POWERSTATE |
|
POWERSTATE5V |
24 |
IO |
POWER_12V |
POWERSTATE |
|
POWERSTATE12V |
The I/O indices {12, 22} have no input-related function.