Teledyne-lecroy Conquest API Manual - API Manual Manual de usuario

Busca en linea o descarga Manual de usuario para Equipo Teledyne-lecroy Conquest API Manual - API Manual. Teledyne LeCroy Conquest API Manual - API Manual User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 48
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 0
1 2 3 4 5 6 ... 47 48

Indice de contenidos

Pagina 1 - Conquest

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

Pagina 2

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

Pagina 3 - Contents

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

Pagina 4

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

Pagina 5

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

Pagina 6

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

Pagina 7 - Introduction

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

Pagina 8 - IsHardwareStoped

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

Pagina 9 - EnableProtocolError

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

Pagina 10 - SaveSmpAsText

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

Pagina 11 - Method Description

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

Pagina 12 - GetSetting

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

Pagina 13 - SetAnalyzerType

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

Pagina 14 - GetTAOutFile

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

Pagina 15 - SetSamplesNo

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

Pagina 16 - IsSetRunExerciser

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

Pagina 17 - CaptureAndTrigger

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

Pagina 18 - IsSetManualTrig

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

Pagina 19 - GetTriggerEndPoint

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

Pagina 20 - GetTriggerDataPacket

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

Pagina 21 - GetDataCapture1

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

Pagina 22 - GetDataCapture2

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

Pagina 23 - ExcludeNakedTransactions

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

Pagina 24 - IsExcludeKeepAliveEvents

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

Pagina 25 - GetTimingPattern

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

Pagina 26 - IExerciser

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

Pagina 27 - AddCommand

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

Pagina 28 - AddUserDefineCommand

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

Pagina 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

Pagina 30 - DeleteCommand

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

Pagina 31 - SetRepeatCommand

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

Pagina 32 - GetEndPointType

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

Pagina 33 - IsDeviceHub

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

Pagina 34 - SetStartExerciserWith

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

Pagina 35 - ISetting

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

Pagina 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_

Pagina 37 - SetNonStdClockRateType

API Constants36Exerciser Command Type definitionsAPI_MAX_EXR_COMMAND_TYPES 18 API_EXR_COMMAND_GET_CONFIGURATION 0API_EXR_COMMAND_GET_DESCRIPTO 1API_EX

Pagina 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

Pagina 39 - IsEnableHighSpeedTestMode

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

Pagina 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

Pagina 41 - Capturing Items definitions

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

Pagina 42 - Port definitions

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

Pagina 43

Exerciser Command Parameters42

Pagina 44 - Endpoint Type definitions

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

Pagina 45 - API Errors

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

Pagina 46 - Exerciser Command Parameters

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

Pagina 47

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

Pagina 48

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

Comentarios a estos manuales

Sin comentarios