Teledyne-lecroy Conquest API Manual - API Manual Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Equipamento Teledyne-lecroy Conquest API Manual - API Manual. Teledyne LeCroy Conquest API Manual - API Manual User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 48
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
For Software Version 7.40
September 2008
PROTOCOL SOLUTIONS GROUP
3385 SCOTT BLVD
SANTA CLARA, CA 95054
Conquest
Application Program Interface (API)
Manual
Version 7.40
Vista de página 0
1 2 3 4 5 6 ... 47 48

Resumo do Conteúdo

Página 1 - Conquest

For Software Version 7.40September 2008PROTOCOL SOLUTIONS GROUP3385 SCOTT BLVDSANTA CLARA, CA 95054ConquestApplication Program Interface (API)ManualV

Página 2

IUsbGeneral Services Interface4AttachToDeviceDeclaration: long AttachToDevice(LPCTSTR lpctstrMacAddress)Input(s): lpctstrMacAddress specifies hardware

Página 3 - Contents

IusbEasyDataCapturePrj Interface5IusbEasyDataCapturePrj InterfaceThis interface allows you to create an Easy Data Capture project or open and modify a

Página 4

IusbEasyDataCapturePrj Interface6GetCaptureAndTriggerDeclaration: ICaptureAndTrigger GetCaptureAndTrigger()Input(s): NoneReturn Value: Capture and Tri

Página 5

IusbEasyDataCapturePrj Interface7SaveDeclaration: long Save(LPCTSTR strFilePath)Input(s): strFilePath points to the fully qualified path to save the f

Página 6

IusbEasyDataCapturePrj Interface8GetAnalyzerTypeDeclaration: short GetAnalyzerType()Input(s): NoneReturn Value: Returns selected Analyzer type. Valid

Página 7 - Introduction

IusbEasyDataCapturePrj Interface9SetPreTriggerDeclaration: long SetPreTrigger(short sPreTigger)Input(s): sPreTigger sets pre-trigger percent. It can b

Página 8 - IsHardwareStoped

IusbEasyDataCapturePrj Interface10GetSamplesNoDeclaration: long GetSamplesNo()Input(s): NoneOutput(s) NoneReturn Value Samples numberRemark: Returns t

Página 9 - EnableProtocolError

CaptureAndTrigger11CaptureAndTriggerThis interface sets the Easy Capture Project parameters (for example, Trigger point and capture data). (This is eq

Página 10 - SaveSmpAsText

CaptureAndTrigger12SetTriggerTypeDeclaration: long SetTriggerType(short sTriggerType)Input(s): sTriggerType specifies type of USB object on which to t

Página 11 - Method Description

CaptureAndTrigger13SetTriggerDeviceAddressDeclaration: long SetTiggerDeviceAddress(LPCTSTR strDeviceAddress)Input(s): strDeviceAddress specifies devic

Página 12 - GetSetting

Document DisclaimerThe information in this document has been carefully checked and is believed to be reliable. However, no responsibility can be assum

Página 13 - SetAnalyzerType

CaptureAndTrigger14SetTriggerDataPacketDeclaration: long SetTriggerDataPacket(short sDataPacketType, LPCTSTR strData, BOOL bIsDataBlock)Input(s): sDat

Página 14 - GetTAOutFile

CaptureAndTrigger15SetDataCapture1Declaration: long SetDataCapture1(short sCaptureType, LPCTSTR strDeviceAddress, LPCTSTR strEndPoint)Input(s): sCaptu

Página 15 - SetSamplesNo

CaptureAndTrigger16SetDataCapture2Declaration: long SetDataCapture2(short sCaptureType, LPCTSTR strDeviceAddress, LPCTSTR strEndPoint)Input(s): sCaptu

Página 16 - IsSetRunExerciser

CaptureAndTrigger17SetDataCapture3Declaration: long SetDataCapture3(short sCaptureType, LPCTSTR strDeviceAddress, LPCTSTR strEndPoint)Input(s): sCaptu

Página 17 - CaptureAndTrigger

CaptureAndTrigger18IsExcludeNakedTransactionsDeclaration: BOOL IsExcludeNAKedTransactions()Input(s): NoneReturn Value: Status of exclude NAK’ed transa

Página 18 - IsSetManualTrig

CaptureAndTrigger19ExcludeSOFPacketsDeclaration: void ExcludeSOFPackets(BOOL bExclude)Input(s): bExclude sets exclude SOF packets flag.Return Value: N

Página 19 - GetTriggerEndPoint

IExerciser20IExerciserThis interface creates an exerciser program for an easy data capture project(This isequivalent to the Exerciser page in an Easy

Página 20 - GetTriggerDataPacket

IExerciser21AddCommandDeclaration: long AddCommand(short sCommandType, short sDeviceIndex, const VARIANT& vtParam1, const VARIANT& vtParam2, c

Página 21 - GetDataCapture1

IExerciser22AddUserDefineCommandDeclaration: long AddUserDefineCommand(short sSpeed, short sDeviceAddress, short sEndpointNo, short sEndpointType, sho

Página 22 - GetDataCapture2

IExerciser23InsertCommandDeclaration: long InsertCommand(short sInsertAt, short sCommandType, short sDeviceIndex, const VARIANT& vtParam1, const V

Página 23 - ExcludeNakedTransactions

ContentsiiiIntroduction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1Using the Library - - - - - - - - - - - -

Página 24 - IsExcludeKeepAliveEvents

IExerciser24InsertUserDefineCommandDeclaration: long InsertUserDefineCommand(short sInsertAt, short sSpeed, short sDeviceAddress, short sEndpointNo, s

Página 25 - GetTimingPattern

IExerciser25DeleteAllCommandsDeclaration: long DeleteAllCommands()Input(s): NoneReturn Value: Error code or zero (no error)Remark: Deletes all exercis

Página 26 - IExerciser

IExerciser26FindDeviceDeclaration: long FindDevice()Inputs: NoneReturn Value: Error code or zero (no error)Remark: This function finds any devices tha

Página 27 - AddCommand

IExerciser27GetEndPointDirectionDeclaration: long GetEndPointDirection(short sDeviceIndex, short sEndPointIndex, short* sDirection)Input(s): sDeviceIn

Página 28 - AddUserDefineCommand

IExerciser28SetStartExerciserWithDeclaration: long SetStartExerciserWith(short sEventType)Input(s): sEventType specifies type of event with which the

Página 29 - InsertCommand

ISetting29ISettingThis interface sets values of a project. (This is an equivalent to Setting page in Easy (or Advance) capture project in the software

Página 30 - DeleteCommand

ISetting30SetAnalyzerSpeedDeclaration: long SetAnalyzerSpeed(short sAnalyzerSpeed)Input(s): sAnalyzerSpeed sets the speed of the analyzer. Valid analy

Página 31 - SetRepeatCommand

ISetting31SetExternalTriggerTypeDeclaration: long SetExternalTriggerType(short sTriggerType)Input(s): sTriggerType sets external trigger type. Valid e

Página 32 - GetEndPointType

ISetting32GetNonStdClockRateTypeDeclaration: short GetNonStdClockRateType()Input(s): NoneReturn Value: Non-standard clock rate type. Valid types are d

Página 33 - IsDeviceHub

ISetting33EnableHighSpeedTestModeDeclaration: void EnableHighSpeedTestMode(BOOL bEnable)Input(s): bEnable sets status of the high-speed test mode flag

Página 34 - SetStartExerciserWith

ContentsivCaptureAndTrigger - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11SetTriggerType - - - - - - - - - - - -

Página 35 - ISetting

API Constants34API ConstantsPre-defined API constants are in the SBAEAPIConstants.h file The following constants are used as parameters by some functi

Página 36 - Get ExerciserLoopCounter

API Constants35Data Packet Type definitionsAPI_MAX_TRIG_DATA_PACKET_TYPES 5API_DATA_PACKET_TYPE_ANY 0API_DATA_PACKET_TYPE_DATA0 1API_DATA_PACKET_TYPE_

Página 37 - SetNonStdClockRateType

API Constants36Exerciser Command Type definitionsAPI_MAX_EXR_COMMAND_TYPES 18 API_EXR_COMMAND_GET_CONFIGURATION 0API_EXR_COMMAND_GET_DESCRIPTO 1API_EX

Página 38 - GetSecondPortStore

API Constants37Protocol Error Type definitionsAPI_MAX_PROTOCOL_ERROR_TYPES 13 API_PE_BIT_STUFF 0API_PE_PID_CHECK 1API_PE_PID_UNKNOWN 2API_PE_SYNCH 3AP

Página 39 - IsEnableHighSpeedTestMode

API Constants38Endpoint Type definitionsAPI_MAX_ENDPOINT_TYPES 4 API_ENDPOINT_TYPE_CONTROL 0API_ENDPOINT_TYPE_ISO 1 // IsochronousAPI_ENDPOINT_TYPE_BU

Página 40 - API Constants

API ErrorsError codes are in the SBAEAPIErrors.h file. They are returned by some functions upon an error condition.IDE_NO_ERROR 0IDE_INVALID_PORT_NO

Página 41 - Capturing Items definitions

Exerciser Command Parameters40Exerciser Command ParametersThe following exerciser commands require no parameters. These commands do not use vtParam1,

Página 42 - Port definitions

Exerciser Command Parameters41The following exerciser commands use vtParam1:API_EXR_COMMAND_GET_DESCRIPTOR - vtParam1 should be a short variable that

Página 43

Exerciser Command Parameters42

Página 44 - Endpoint Type definitions

ContentsvIsDeviceHub - - - - - - - - - - - - - - - - - - - - - - - - - - - -27SetStartExerciserWith - - - - - - - -

Página 45 - API Errors

ContentsviEndpoint Direction Definitions - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 38Exerciser Start With event definition -

Página 46 - Exerciser Command Parameters

Introduction1IntroductionThe Conquest™ Application Program Interface (API) is a collection (library) of COM objects. The API enables programmers to us

Página 47

IUsbGeneral Services Interface2IUsbGeneral Services InterfaceSetPortDeclaration: long SetPort(short sPortType)Input(s): sPortType specifies hardware p

Página 48

IUsbGeneral Services Interface3SaveOutFilesDeclaration: longSaveOutFiles()Input(s): NoneReturn Value: Zero if the SaveOutFiles was successful. Otherwi

Comentários a estes Manuais

Sem comentários