
IExerciser
24
InsertUserDefineCommand
Declaration:
long InsertUserDefineCommand(short sInsertAt, short sSpeed,
short sDeviceAddress, short sEndpointNo, short sEndpointType,
short sCommandType, const VARIANT& vtParam1,
const VARIANT& vtParam2, const VARIANT& vtParam3)
Input(s)
sInsertAt
sets index of exerciser command fo which this command
inserts a replacement.
sSpeed
sets speed of device.
Valid speed types are in API Constants.
sDeviceAddress
sets device address.
sEndpointNo
sets endpoint number.
sEndpointType
sets type of the endpoint.
Valid endpoint type are in API Constants.
sCommandType
sets exerciser command type that you want to
send to the device. Valid types are defined in API Constants.
sDeviceIndex
sets device index.
vtParam1
sets first parameter of the exerciser command.
vtParam2
sets second parameter of the exerciser command.
vtParam3
sets third parameter of the exerciser command.
Return Value: Error code or zero (no error)
Remark:
Adds a user-defined command to the exerciser program. A
command can use none, one, or more parameters defined in
Exerciser Command Parameters.
See Also
API Errors
DeleteCommand
Declaration:
long DeleteCommand(short sCommandIndex)
Input(s):
sCommandIndex
is index of exerciser command.
Return Value: Error code or zero (no error)
Remark:
Deletes specified exerciser command (with index) from exerciser
program.
See Also
API Errors
Содержание Conquest
Страница 48: ...Exerciser Command Parameters 42 ...