Teledyne-lecroy Conquest API Manual - API Manual Bedienungsanleitung Seite 1

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Ausrüstung Teledyne-lecroy Conquest API Manual - API Manual herunter. Teledyne LeCroy Conquest API Manual - API Manual User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 48
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 0
1 2 3 4 5 6 ... 47 48

Inhaltsverzeichnis

Seite 1 - Conquest

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

Seite 2

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

Seite 3 - Contents

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

Seite 4

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

Seite 5

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

Seite 6

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

Seite 7 - Introduction

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

Seite 8 - IsHardwareStoped

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

Seite 9 - EnableProtocolError

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

Seite 10 - SaveSmpAsText

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

Seite 11 - Method Description

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

Seite 12 - GetSetting

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

Seite 13 - SetAnalyzerType

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

Seite 14 - GetTAOutFile

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

Seite 15 - SetSamplesNo

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

Seite 16 - IsSetRunExerciser

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

Seite 17 - CaptureAndTrigger

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

Seite 18 - IsSetManualTrig

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

Seite 19 - GetTriggerEndPoint

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

Seite 20 - GetTriggerDataPacket

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

Seite 21 - GetDataCapture1

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

Seite 22 - GetDataCapture2

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

Seite 23 - ExcludeNakedTransactions

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

Seite 24 - IsExcludeKeepAliveEvents

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

Seite 25 - GetTimingPattern

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

Seite 26 - IExerciser

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

Seite 27 - AddCommand

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

Seite 28 - AddUserDefineCommand

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

Seite 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

Seite 30 - DeleteCommand

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

Seite 31 - SetRepeatCommand

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

Seite 32 - GetEndPointType

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

Seite 33 - IsDeviceHub

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

Seite 34 - SetStartExerciserWith

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

Seite 35 - ISetting

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

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

Seite 37 - SetNonStdClockRateType

API Constants36Exerciser Command Type definitionsAPI_MAX_EXR_COMMAND_TYPES 18 API_EXR_COMMAND_GET_CONFIGURATION 0API_EXR_COMMAND_GET_DESCRIPTO 1API_EX

Seite 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

Seite 39 - IsEnableHighSpeedTestMode

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

Seite 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

Seite 41 - Capturing Items definitions

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

Seite 42 - Port definitions

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

Seite 43

Exerciser Command Parameters42

Seite 44 - Endpoint Type definitions

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

Seite 45 - API Errors

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

Seite 46 - Exerciser Command Parameters

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

Seite 47

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

Seite 48

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

Kommentare zu diesen Handbüchern

Keine Kommentare