beautypg.com

Sensoray 609 User Manual

Page 16

background image

16

16

Returns 0 in case of success, or an error code.

Notes
Controls the video switch: connects input input to output output, and switches the termination
switch (closed, if term=TRUE). Active input channels are 1 through 16, selecting 0 for an input

disables selected output.

S609_IOWrite

ECODE S609_IOWrite (
HFG hfg, //board handle
WORD data //output data
);

Return values
Returns 0 in case of success, or an error code.

Notes

Writes the 16-bit value data to the output I/O bus.

S609_IORead

ECODE S609_IOWrite (
HFG hfg, //board handle
WORD *pData //variable accepting input data
);

Return values

Returns 0 in case of success, or an error code.

Notes

Sets up the variable pointed to by pData to the 16-bit value read from the input I/O bus.

S609_GetSwitchData

ECODE S609_GetSwitchData (
HFG hfg, //board handle
VSMODE *pVsmode //array accepting switch data
);

Return values

Returns 0 in case of success, or an error code.