MultiCam Boards Documentation > GRABLINK series Documentation > GRABLINK Full XR Handbook > Functional Specification > I/O Operation > Input Ports > General-Purpose Input

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

ConnectorName

InputPinName

InputStyle

InputConfig

InputFunction

1

IO

IIN1

ISO

FREE
SOFT

UNKNOWN
SOFT
FREE

2

IO

IIN2

ISO

FREE
SOFT

UNKNOWN
SOFT
FREE

3

IO

IIN3

ISO

FREE
SOFT

UNKNOWN
SOFT
FREE

4

IO

IIN4

ISO

FREE
SOFT

UNKNOWN
SOFT
FREE

5

IO

DIN1

DIFF

FREE
SOFT

UNKNOWN
SOFT
FREE

6

IO

DIN2

DIFF

FREE
SOFT

UNKNOWN
SOFT
FREE

7

CAMERA

LVAL_X

CHANNELLINK

 

LVAL

8

CAMERA

FVAL_X

CHANNELLINK

 

FVAL

9

CAMERA

DVAL_X

CHANNELLINK

 

DVAL

10

CAMERA

SPARE_X

CHANNELLINK

 

SPARE

11

CAMERA

CK_PRESENT_X

CHANNELLINK

 

CK_PRESENT

12

CAMERA

LVAL_Y

CHANNELLINK

 

LVAL

13

CAMERA

FVAL_Y

CHANNELLINK

 

FVAL

14

CAMERA

DVAL_Y

CHANNELLINK

 

DVAL

15

CAMERA

SPARE_Y

CHANNELLINK

 

SPARE

16

CAMERA

CK_PRESENT_Y

CHANNELLINK

 

CK_PRESENT

17

CAMERA

LVAL_Z

CHANNELLINK

 

LVAL

18

CAMERA

FVAL_Z

CHANNELLINK

 

FVAL

19

CAMERA

DVAL_Z

CHANNELLINK

 

DVAL

20

CAMERA

SPARE_Z

CHANNELLINK

 

SPARE

21

CAMERA

CK_PRESENT_Z

CHANNELLINK

 

CK_PRESENT

23

IO

POWER_5V

POWERSTATE

 

POWERSTATE5V

24

IO

POWER_12V

POWERSTATE

 

POWERSTATE12V

The I/O indices 0 and 22 have no input-related function.