beautypg.com

Teledyne LeCroy Conquest API Manual - API Manual User Manual

Page 47

background image

Exerciser Command Parameters

41

The following exerciser commands use vtParam1:

API_EXR_COMMAND_GET_DESCRIPTOR - vtParam1 should be a short variable that
identifies descriptor type. Valid descriptor types are Device Descriptor and Configuration
Descriptor.

API_EXR_COMMAND_SET_ADDRESS - vtParam1 should be a short variable that identifies
new device address.

API_EXR_COMMAND_SET_CONFIGURATION - vtParam1 should be a short variable that
identifies configuration value.

API_EXR_COMMAND_CLEAR_HUB_FEATURE - vtParam1 should be a short variable that
identifies selector type. (Valid selectors are in API Constants.)

API_EXR_COMMAND_SET_HUB_ FEATURE - vtParam1 should be a short variable that
identifies selector type. (Valid selectors are in API Constants.)

API_EXR_COMMAND_CLEAR_HUB_PORT_FEATURE - vtParam1 should be a short
variable that identifues selector type. (Valid selectors are in API Constants.) vtParam2 should
be a short variable that identifies port number.

API_EXR_COMMAND_SET_HUB_ PORT_FEATURE - vtParam1 should be a short variable
that identifies selector type. (Valid selectors are in API Constants.)
vtParam2 should be a short variable that identifies port number.

API_EXR_COMMAND_DATA_OUT - vtParam1 should be a short variable that identifies
endpoint index of selected device index. vtParam2 should be a string variable that identifes
data to be output. This data is in hexadecimal base, and if it is a data block, should be the
data block name. vtParam3 should be a boolean variable that identifies whether data is a
data block item.

API_EXR_COMMAND_DATA_IN - vtParam1 should be a short variable that identifies
endpoint index of selected device index.