beautypg.com

Setdatacapture2, Getdatacapture2, Setdatacapture2 getdatacapture2 – Teledyne LeCroy Conquest API Manual - API Manual User Manual

Page 22

background image

CaptureAndTrigger

16

SetDataCapture2

Declaration:

long SetDataCapture2(short sCaptureType, LPCTSTR
strDeviceAddress, LPCTSTR strEndPoint)

Input(s):

sCaptureType specifies type of capture item 2.
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 the 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 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

GetDataCapture2

Declaration:

void GetDataCapture2(short* sCaptureType, BSTR*
strDeviceAddress, BSTR* strEndPoint)

Input(s):

sCaptureType specified type of capture item 2.
Valid capture item types are in API Constants.

strDeviceAddress specified device address of capture item if
capture type is one of transaction types.

strEndPoint specified endpoint of capture item if capture type is one
of transaction types.

Return Value None

Remark:

Returns data capture type 2, its device address, and its endpoint
number.