Grass Valley LGK-3901 User Manual
Page 40

GUIDE TO INSTALLATION AND OPERATION
34 | LGK-3901/DSK-3901
4.10 General Purpose Interface (GPI)
Dedicated General Purpose Interface (GPI) ports can be used either to trigger the execution of a series of internal
pre-programmed commands (input) or to monitor the status of the LGK-3901/DSK-3901 (output).
The GPI ports are identified as follows (see section 5.4.10):
• Inputs:
GPI _IN_0 through GPI_IN_7
• Outputs:
GPI_OUT_0 through GPI_OUT_7
Note: GPI numbering is zero-based for pin-outs, automation and the front panel
GPI input ports can be used to execute a series of internal pre-programmed commands, or GPI ON/OFF macros. GPI
output ports are themselves triggered either on or off via a pre-defined transition state defined for the LGK-3901/DSK-
3901. Sections 4.10.1 and 4.10.2 describe how GPI inputs and outputs are configured.
GPI input ports may be wired to corresponding GPI output ports on the Terminal Block Adaptors (see section 5.5) if
GPI macros need to be driven from GPI Output events.
4.10.1 GPI Inputs and Macros
Any GPI Input may have two macros associated with the GPI port transitioning on or off. Each macro may contain up
to 2K bytes of Oxtel command data (approximately 200 commands strings). When triggered, the commands within the
macro are executed sequentially. Pauses may be defined within the macro if required.
To create a GPI macro from the front panel:
• Select the appropriate GPI Input event
• SETUP > GPI > GPI INPUTS > GPI IN x ON or SETUP > GPI > GPI INPUTS > GPI IN x OFF
• Here “x” represents the GPI number from 0 to 7
• ON macros are triggered when the appropriate GPI input is triggered on
• OFF macros are triggered when the appropriate GPI input is triggered off
• Press [SELECT] to enter the macro editor
• If the GPI is unused > EMPTY < will be displayed
• Press [SELECT] again to access the OPERATE sub-menus
• Use the joystick arrows [+] and [–] to locate the first command to be added to the macro and press [SELECT]
• The front panel display returns to the macro list. One command is listed at this time
To add a second command to the GPI macro:
• Press [SELECT] and select whether to INSERT BEFORE or INSERT AFTER the selected command
• Press [SELECT] again to access the OPERATE sub-menus
• Use the joystick arrows [+] and [–] to locate the next command to be added to the macro and press [SELECT]
• The front panel display returns to the macro list. Two commands are listed at this time
To add subsequent commands to the GPI macro:
• Use the joystick arrows [+] and [–] to select the list position to which the next command should be adjacent
• Press [SELECT] and select whether to INSERT BEFORE or INSERT AFTER the selected command
• Press [SELECT] again to access the OPERATE sub-menus
• Use the joystick arrows [+] and [–] to locate the next command to be added to the macro and press [SELECT]
• The front panel display returns to the macro list
Repeat the above process until the required macro list is completely defined. Delays may be added via the menu
MISCELLANEOUS > GPI DELAY, and these are defined in fields (interlaced) or frames (progressive).
To delete a command from the GPI macro: