CaptureAndTrigger
15
SetDataCapture1
Declaration:
long SetDataCapture1(short sCaptureType, LPCTSTR
strDeviceAddress, LPCTSTR strEndPoint)
Input(s):
sCaptureType
specifies type of capture item 1.
Valid capture item types are in API Constants.
strDeviceAddress
specifies device address of capture item if
capture type is one of transaction types.
strEndPoint
specifies endpoint of capture item if capture type is one
of transaction types.
Return Value Error code or zero (no error)
Remark:
Identifies type of data, device address, and endpoint number of data
on which to capture. Type of data can be a value specified in the
Data Capture combo box in the Easy data capture page. If type of
data is set to everything or any transaction, the given device address
and endpoint number do not have any effect.
See Also
API Errors
GetDataCapture1
Declaration:
void GetDataCapture1(short* sCaptureType, BSTR*
strDeviceAddress, BSTR* strEndPoint)
Input(s):
sCaptureType
specifies type of capture item 1.
Valid capture item types are in API Constants.
strDeviceAddress
specifies device address of capture item if
capture type is one of transaction types.
strEndPoint
specifies endpoint of capture item if capture type is one
of transaction types.
Return Value: None
Remark:
Returns data capture type 1, its device address, and its endpoint
number.
Содержание Conquest
Страница 48: ...Exerciser Command Parameters 42 ...