Sensoray 609 User Manual

Page 17

Advertising
background image

17

17

Notes

Reads the full state of the video switch into an 8 element array of VSMODE type:

typedef struct { //video switch data
WORD input; //selected input
BOOL termination; //on (TRUE) or off (FALSE)
} VSMODE;

Each element of the array receives the data for the corresponding output of the switch. Suggested
usage:

VSMODE vsmode[8];
if (ecode = S609_GetSwitchData (hfg, vsmode)) {
return ecode;
} else {
// get the switch info from vsmode array
}

Advertising