Sensoray 512 DOS User Manual
Page 15

15
Member Description
Mode This sets the 512 mode and must be set prior to issuing a
X12_VI_START command.
Value Description
ENCODE Enables encoding mode
(compression)
DECODE Enables decoding mode
(decompression)
VQSize Current video queue size and is updated after any command
including X12_VI_GETSTATUS.
Input This is set to the desired video input prior to issuing a
X12_VI_SETINPUT command.
Value Description
VIN1 Video input 1
VIN2 Video input 2
VIN3 Video input 3 (composite video
only)
VIN4 Video input 4 (composite video
only)
InputType This is set to the desired video input type prior to issuing a
X12_VI_SETINPUTTYPE command.
Value Description
CVIDEO Input is composite video
SVIDEO Input is svideo
DI0, DI1, DI2 Returns the state of digital I/O pin 0, 1, or 2. Updated after any
command including X12_VI_GETSTATUS.
Value Description
HIGH Pin input is at 5V
LOW Pin input is at 0V
DO0, DO1, DO2 Sets the state of digital I/O pin 0, 1, or 2. For the setting to take
effect the pin must also be set to output. The outputs are
updated after any command including X12_VI_GETSTATUS.
Value Description
HIGH Pin output is at 5V
LOW Pin output is at 0V
DDIR0, DDIR1, DDIR2 Sets the direction of digital I/O pin 0, 1, or 2. The directions are
updated after any command including X12_VI_GETSTATUS.
Value Description
INPUT Pin is input
OUTPUT Pin is output
HINT: If an open collector style output is desired, set the desired
output to LOW and use the direction control to set the output
high or low. E.g. if DO0 is set to LOW and DDIR0 is set to
OUTPUT digital I/O pin 0 will go to 0V and if DDIR0 is then set to
INPUT digital I/O pin 0 will go to 5V
.