Technical data

Programming With Generic Application Handler 4
E6198B Switch/Load Unit Software Manual 4-7
Return value. Call returns 0 in case of success.
Remarks
This function returns the status information of the load contact
of the specified load card channel. This information is not an
actual read back from the load card, it’s the status information
cached within the driver.
SetPowerSwitch
void SetPowerSwitch (long boxNr, long slotNr, long channel, long openClose,
long *status)
Parameters
boxNr
Valid range: 0-7
slotNr
Valid range: 1-21
channel
See Table 4-4, “Valid Range For The “Channel” Parameters,” on
page 3.
openClose
Valid range: 0 - Off, 1 - On
status
Return value. Call returns 0 in case of success.
Remarks
This function actuates the power contact (NC/NO) of the
specified load card channel.
GetPowerSwitch
void GetPowerSwitch (long boxNr, long slotNr, long channel, long
*openClose, long *status)
Parameters
boxNr
Valid range: 0-7
slotNr