beautypg.com

Saveoutfiles, Enableprotocolerror, Isenableprotocolerror – Teledyne LeCroy Conquest API Manual - API Manual User Manual

Page 9: Getmaxmemorysize, Attachdevice

background image

IUsbGeneral Services Interface

3

SaveOutFiles

Declaration:

longSaveOutFiles()

Input(s):

None

Return Value: Zero if the SaveOutFiles was successful. Otherwise, non-zero.

Each non-zero value indicates an error code.

Remark:

This method saves the output file for Protocol analyzer,
Timing analyzer, or both.

See Also

API Errors

EnableProtocolError

Declaration:

long EnableProtocolError(short sProtocolErrorType, BOOL bEnable)

Input(s):

sProtocolErrorType specifies type of protocol error.
Valid types are introduced in API Constants.

bEnable specifies status of selected protocol error type.

Return Value: Zero if the EnableProtocolError was successful.

Otherwise, non-zero. Each non-zero value indicates an error code.

Remark:

Enables or disables a protocol error type.

See Also

API Errors

IsEnableProtocolError

Declaration:

BOOL IsEnableProtocolError(short sProtocolErrorType)

Input(s)

sProtocolErrorType specifies the type of protocol error.
Valid types are introduced in API Constants.

Return Value: Zero if IsEnableProtocolError was successful. Otherwise, non-zero.

Each non-zero value indicates an error code.

Remark:

Returns true if protocol error tspecified by

sProtocolErrorType is

enabled. Otherwise, it returns false.

See Also

API Errors

GetMaxMemorySize

Declaration:

long GetMaxMemorySize(long* lMaxSize)

Input(s):

lMaxSize specifies maximum available memory size.

Return Value: Zero if GetMaxMemorySize was successful. Otherwise, non-zero.

Each non-zero value indicates an error code.

Remark:

This method sets lMaxSize to available memory size.

See Also

API Errors

AttachDevice

Declaration:

long AttachDevice()

Input(s):

None

Return Value: Zero if AttachDevice was successful. Otherwise, non-zero.

Each non-zero value indicates an error code.

Remark:

This function attaches the device to the analyzer.

See Also

API Errors