Adduserdefinecommand – Teledyne LeCroy Conquest API Manual - API Manual User Manual
Page 28

IExerciser
22
AddUserDefineCommand
Declaration:
long AddUserDefineCommand(short sSpeed, short sDeviceAddress,
short sEndpointNo, short sEndpointType, short sCommandType,
const VARIANT& vtParam1, const VARIANT& vtParam2,
const VARIANT& vtParam3)
Input(s):
sSpeed sets speed of device.
Valid speed types are in API Constants.
sDeviceAddress sets device address of the device.
sEndpointNo sets endpoint number.
sEndpointType sets type of the endpoint.
Valid endpoint type arein API Constants.
sCommandType sets the exerciser command type that you want to
send to the device.
Valid command types are in API constants.
sDeviceIndex specifies device index.
vtParam1 specifies the first parameter of the exerciser command.
vtParam2 specifies the second parameter of the exerciser
command.
vtParam3 specifies the 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