beautypg.com

Insertcommand – Teledyne LeCroy Conquest API Manual - API Manual User Manual

Page 29

background image

IExerciser

23

InsertCommand

Declaration:

long InsertCommand(short sInsertAt, short sCommandType,
short sDeviceIndex, const VARIANT& vtParam1,
const VARIANT& vtParam2, const VARIANT& vtParam3)

Input(s):

sInsertAt sets index of exerciser command for this command.

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 command to the exerciser program. A command can use
none, one, or more parameters defined in
Exerciser Command Parameters.

See Also

API Errors