CaptureAndTrigger
17
SetDataCapture3
Declaration:
long SetDataCapture3(short sCaptureType, LPCTSTR
strDeviceAddress, LPCTSTR strEndPoint)
Input(s):
sCaptureType
specifies type of capture item 3.
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:
Sets the type of data, device address, and endpoint number of data
on which to capture. The type of data can be a value specified in the
Data Capture combo box on the Easy data capture page. If type of
data is set to everything or any transaction, the given device address
and endpoint number do have not any effect.
See Also
API Errors
GetDataCapture3
Declaration:
void GetDataCapture3(short* sCaptureType, BSTR*
strDeviceAddress, BSTR* strEndPoint)
Input(s):
sCaptureType
specifies type of capture item 3.
Valid capture item types arein API Constants.
strDeviceAddress
specifies device address of capture item if
capture type is one of transaction types.
strEndPoint
gets endpoint of capture item if capture type is one of
transaction types.
Return Value: None
Remark:
This method returns data capture type 3, its device address, and its
endpoint number.
ExcludeNakedTransactions
Declaration:
void ExcludeNAKedTransactions(BOOL bExclude)
Input(s):
bExclude
sets exclude NAK’ed transactions flag.
Return Value: None
Remark:
Excludes NAK’ed transactions if TRUE.
Includes NAK’ed transactions if FALSE.