IExerciser
21
AddCommand
Declaration:
long AddCommand(short sCommandType, short sDeviceIndex,
const VARIANT& vtParam1, const VARIANT& vtParam2,
const VARIANT& vtParam3)
Input(s):
sCommandType
selects the exerciser command type that you want
to send to the device.
Valid command types are in API Constants.
sDeviceIndex
sets the found device index.
vtParam1
sets the first parameter of exerciser command.
vtParam2
sets the second parameter of exerciser command.
vtParam3
sets the third parameter of exerciser command.
Return Value: Error code or zero (no error)
Remark:
Adds a command to exerciser program. A command can use none,
one, or more parameters defined in Exerciser Command
Parameters.
See Also
API Errors