Industrial Cameras FAQ/Please show the meaning of Lin...

Please show the meaning of LineModeAll, LineInverterAll feature value.(No.299)

Most cameras have multiple DIO(GPIO) lines.
BU and DU series camera and some of BG series cameras have the following registers for reading/writing value or mode of whole DIO(GPIO) lines together.

LineModeAll: Register for selecting Input / output mode. Bit value 0 means input, 1 means output.
LineInverterAll: Register for selecting polarity of signal. Bit value 0 means non-inverted, 1 means inverted.
LineOutputValueAll: Register for setting output value. This register value is output to DIO(GPIO) line when line source is 'UserOutput'.
LineStatusAll: Register for reading Line input value.

Each bit in the above registers corresponds to DIO(GPIO) lines
bit0 (1): Line 0 (External Trigger Input)
bit1 (2): Line 1
bit2 (4): Line 2

For example, when LineModeAll register value is 2, Line 1 is output mode, Line 0 and Line 2 are input mode.

Note that there are camera models whose I/O mode of DIO(GPIO) lines are fixed. Please check instruction manual of the camera about I/O mode of DIO(GPIO) line.

Remarks:
In case of LineSource register that selects signal source of output mode DIO(GPIO) line, user application should select a target DIO(GPIO) line using LineSelector register before writing signal source value to LineSource register.

back

Was this FAQ helpful?

Please let us know your opinion about the FAQ so that we will be able to improve our FAQ. (Within 800 characters)
Note: If you need a reply to your inquiry (e.g. inquiry about products), please use the inquiries form provided on Contact Us page. Please note that we cannot answer to your questions filled in below.

Please click below to change the cookie settings used on our website.