Measurement-computing ADLIB WIN Instrukcja Użytkownika

Przeglądaj online lub pobierz Instrukcja Użytkownika dla Oprogramowanie Measurement-computing ADLIB WIN. Measurement Computing ADLIB WIN User Manual Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 191
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 0
ADLIB WIN Interface Library Software
User’s Manual for ADAC PCI Data Acquisition Boards
the smart approach to instrumentation
IOtech, Inc.
25971 Cannon Road
Cleveland, OH 44146-1833
Phone: (440) 439-4091
Fax: (440) 439-4093
E-mail (sales):
E-mail (post-sales): [email protected]
Internet:
www.iotech.com
ADLIB WIN
Interface Library Software
for ADAC PCI Data Acquisition Boards
p/n
1107-0902 Rev 2.0
© 2002 by IOtech, Inc. June 2004 Printed in the United States of America
Przeglądanie stron 0
1 2 3 4 5 6 ... 190 191

Podsumowanie treści

Strona 1 - ADLIB WIN

ADLIB WIN Interface Library Software User’s Manual for ADAC PCI Data Acquisition Boards the smart approac

Strona 2

Contents viii

Strona 3

Chapter 24 Channel Selections 23-6 23.4 AL_GetMinStartChan Prototype C\C++ STATUS AL_GetMinStartChan(LHLD lhld); Visual Basic for Windows

Strona 4

Chapter 24 Channel Selections 23-723.5 AL_SetMaxEndChan Prototype C\C++ ERRNUM AL_API AL_SetMaxEndChan(LHLD lhld, long lMaxChan); Visual Ba

Strona 5

Chapter 24 Channel Selections 23-8 23.6 AL_GetMaxEndChan Prototype C\C++ STATUS AL_GetMaxEndChan(LHLD lhld); Visual Basic for Windows F

Strona 6

Chapter 26 Global Gain Settings 23-123.7 AL_SetGainGlobal Prototype C\C++ ERRNUM AL_SetGainGlobal(LHLD lhld, lpstr lpstrGain); Visual Basic

Strona 7

Chapter 24 Global Gain Settings 23-2

Strona 8

Chapter 31 Input Configurations 24-124. INPUT CONFIGURATIONS Input Configurations allows the random ordering of Differential, Single Ended or Pseu

Strona 9 - Contents

Chapter 31 Input Configurations 24-2 Related Functions: AL_GetInputConfigList AL_SetInputConfigGlobal Examples: • string “0(DI),1(PD),2(SE),

Strona 10

Chapter 31 Input Configurations 24-324.2 AL_GetInputConfigList Prototype C\C++ ERRNUM AL_GetInputConfigList(LHLD lhld, LPINPUTCONFIGLIST lpInp

Strona 11 - 1. INTRODUCTION

Chapter 31 Input Configurations 24-4 Supported Logical Device Subsystems: Pci55xx Series: ADC0

Strona 12 - • One fixed disk drive

Chapter 31 Input Configurations 24-524.3 AL_SetInputConfigGlobal Prototype C\C++ ERRNUM AL_SetInputConfigGlobal(LHLD lhld, lpstr lpstrInputCon

Strona 13 - 2. INSTALLATION

Chapter 1 Introduction 1-11. INTRODUCTION 1.1 OVERVIEW ADLIB WIN is a set of sophisticated, high level, dynamically linked library (DLL) data acqu

Strona 14

Chapter 31 Input Configurations 24-6

Strona 15

Chapter 34 Data Offsets 25-125. DATA OFFSETS Data Offsets allows the random ordering of Bipolar and Unipolar channel input types to be programmed

Strona 16

Chapter 34 Data Offsets 25-2 Related Functions: AL_GetDataOffsetList AL_SetDataOffsetGlobal Examples: • string “0(BIP),1(UNI),2(BIP),3(BIP),

Strona 17 - 4. APPLICATION DEVELOPMENT

Chapter 34 Data Offsets 25-325.2 AL_GetDataOffsetList Prototype C\C++ ERRNUM AL_GetDataOffsetList(LHLD lhld, LPDATAOFFSETLIST lpDataOffsetlist

Strona 18 - AL_CALLBACK

Chapter 34 Data Offsets 25-4 Supported Logical Device Subsystems: Pci55xx Series: ADC0

Strona 19

Chapter 34 Data Offsets 25-525.3 AL_SetDataOffsetGlobal Prototype C\C++ ERRNUM AL_SetDataOffsetGlobal(LHLD lhld, lpstr lpstrDataOffset); Vi

Strona 20

Chapter 34 Data Offsets 25-6

Strona 21 - 5. PROGRAM DEVELOPMENT

Chapter 39 Counter Modes 26-126. COUNTER / TIMERS Both the Pci5500 and Pci5500 Series support two counters and two timers. Both counters provide

Strona 22

Chapter 38 Counter Modes 26-2 26.2 AL_GetCtrMode Prototype C\C++ ERRNUM AL_GetCtrMode(LHLD lhld, LPSTR lpstrCtrMode, long lMaxlen); Visua

Strona 23

Chapter 39 Counter / Timer 26-126.3 AL_CounterIn Prototype C\C++ STATUS AL_API AL_CounterIn(LHLD lhld); Visual Basic for Windows Function

Strona 24

Chapter 1 Introduction 1-2 1.2 SYSTEM REQUIREMENTS ADLIB WIN runs on the IBM family of personal computers. Specifically IBM PC 486/Pentium and c

Strona 25 - 6. MEMORY BUFFER ALLOCATION

Chapter 39 Counter / Timer 26-2 26.4 AL_CounterOut Prototype C\C++ ERRNUM AL_CounterOut(LHLD lhld, double dRate, long lUnits); Visual Bas

Strona 26

Chapter 40 Buffer Handler Functions 27-127. BUFFER HANDLER FUNCTIONS Buffer Handler functions provide the means to retrieve and output data a dev

Strona 27

Chapter 40 Buffer Handler Functions 27-2 27.2 AL_GetDoneBuffPtr Prototype C\C++ LPBUFFSTRUCT AL_GetDoneBuffPtr(LHLD lhld); Visual Bas

Strona 28

Chapter 40 Buffer Handler Functions 27-327.3 AL_GetBuffPtr Prototype C\C++ LPBUFFSTRUCT AL_GetBuffPtr(LHLD lhld, long lBuffNum); Visual

Strona 29

Chapter 40 Buffer Handler Functions 27-4 27.4 AL_CopyBuffer Prototype C\C++ (16 Bit) ERRNUM AL_CopyBuffer(LHLD lhld, long lBuffNum,

Strona 30

Chapter 40 Buffer Handler Functions 27-527.5 AL_SetBuffer Prototype C\C++ (16 Bit) ERRNUM AL_SetBuffer(LHLD lhld, long lBuffNum, int _far *

Strona 31

Chapter 40 Buffer Handler Functions 27-6 27.6 AL_GetBufferStatus Prototype C\C++ ERRNUM AL_GetBufferStatus(LHLD lhld, LPDATABUFFSTATU

Strona 32

Chapter 40 Buffer Handler Functions 27-727.7 AL_SetBufferDoneHandler Prototype C\C++ ERRNUM AL_SetBufferDoneHandler(LHLD lhld, LPSTR lpstrMeth

Strona 33 - 8. ERROR HANDLING

Chapter 40 Buffer Handler Functions 27-8 Returns: On success ERRNUM is set to 1, otherwise ERRNUM contains the last error code that occurred dur

Strona 34

Chapter 40 Buffer Handler Functions 27-927.8 AL_GetBufferDoneHandler Prototype C\C++ ERRNUM AL_GetBufferDoneHandler(LHLD lhld, LPSTR lpstrMet

Strona 35

Chapter 3 Configuration, Capabilities and Initialization Files 2-12. INSTALLATION 2.1 INSTALLATION FROM WINDOWS for PCI CARD SUPPORT If you are i

Strona 36

Chapter 40 Buffer Handler Functions 27-10 27.9 AL_SetBufferDoneHandlerMsg Prototype C\C++ ERRNUM AL_SetBufferDoneHandlerMsg(LHLD lhld, HWND

Strona 37

Chapter 40 Buffer Handler Functions 27-1127.10 AL_GetBufferDoneHandlerMsg Prototype C\C++ ERRNUM AL_GetBufferDoneHandlerMsg(LHLD lhld, LPWORD

Strona 38

Chapter 40 Buffer Handler Functions 27-12 27.11 AL_SetBufferDoneHandlerFunc Prototype C\C++ ERRNUM AL_SetBufferDoneHandlerFunc(LHLD lhld,

Strona 39

Chapter 40 Buffer Handler Functions 27-1327.12 AL_SetBufferDoneHandlerParams Prototype C\C++ ERRNUM AL_SetBufferDoneHandlerParams(LHLD lhld, W

Strona 40

Chapter 40 Buffer Handler Functions 27-14 27.13 AL_SetNumOfBuffers Prototype C\C++ ERRNUM AL_SetNumOfBuffers(LHLD lhld, long lNumBuffers);

Strona 41 - 10. BOARD FUNCTIONS

Chapter 40 Buffer Handler Functions 27-1527.14 AL_GetNumOfBuffers Prototype C\C++ STATUS AL_GetNumOfBuffers(LHLD lhld); Visual Basic for

Strona 42

Chapter 40 Buffer Handler Functions 27-16 27.15 AL_SetBufferSize Prototype C\C++ ERRNUM AL_SetBufferSize(LHLD lhld, long lBuffSize); Vi

Strona 43

Chapter 40 Buffer Handler Functions 27-1727.16 AL_GetBufferSize Prototype C\C++ STATUS AL_GetBufferSize(LHLD lhld); Visual Basic for Window

Strona 44

Chapter 40 Buffer Handler Functions 27-18 27.17 AL_SetAutoInitBuffers Prototype C\C++ ERRNUM AL_SetAutoInitBuffers(LHLD lhld, long lState)

Strona 45

Chapter 40 Buffer Handler Functions 27-1927.18 AL_GetAutoInitBuffers Prototype C\C++ STATUS AL_GetAutoInitBuffers(LHLD lhld) Visual Basic

Strona 46

Chapter 3 Configuration, Capabilities and Initialization Files 2-2 2.2 SUMMARY OF DISK FILES FOR ADLIB WDM PCI CARD SUPPORT \adlib (Root Direc

Strona 47

Chapter 40 Buffer Handler Functions 27-20 27.19 AL_SetPackedData Prototype C\C++ ERRNUM AL_SetPackedData(LHLD lhld, long lState); Visua

Strona 48

Chapter 40 Buffer Handler Functions 27-2127.20 AL_GetPackedData Prototype C\C++ STATUS AL_GetPackedData(LHLD lhld); Visual Basic for Wind

Strona 50

Chapter 41 Data Formatting Functions 28-128. DATA FORMATTING FUNCTIONS: The Data Formatting functions provide conversions of RAW data into Voltag

Strona 51

Chapter 41 Data Formatting Functions 28-2 28.2 AL_DemuxDataSet Prototype C\C++ (16 Bit) ERRNUM AL_DemuxDataSet(LHLD lhld, long lBuffNum,

Strona 52

Chapter 42 Error Handling Functions 29-129. ERROR HANDLING FUNCTIONS The Error Handling functions allow the user to determine when a specific err

Strona 53

Chapter 42 Error Handling Functions 29-2 29.2 AL_GetErrOnReInitRunning Prototype C\C++ STATUS AL_GetErrOnReInitRunning(LHLD lhld); Visua

Strona 54

Chapter 42 Error Handling Functions 29-329.3 AL_SetErrOnReleaseRunning Prototype C\C++ ERRNUM AL_SetErrOnReleaseRunning (LHLD lhld, long lStat

Strona 55

Chapter 42 Error Handling Functions 29-4 29.4 AL_GetErrOnReleaseRunning Prototype C\C++ STATUS AL_GetErrOnReleaseRunning(LHLD lhld); V

Strona 56

Chapter 42 Error Handling Functions 29-529.5 AL_GetBoardError Prototype C\C++ ERRMUM AL_GetBoardError(LHLD lhld); Visual Basic for Windows

Strona 57

Chapter 3 Configuration, Capabilities and Initialization Files 3-33. CONFIGURATION, CAPABILITIES AND INITIALIZATION FILES Beginning with ADLIB ve

Strona 58

Chapter 42 Error Handling Functions 29-6

Strona 59

Chapter 43 ADLIB Error Codes 30-130. ADLIB ERROR CODES ALERR_NOERRORS 1 No errors occurred during the call. ALERR_NOT_SUPPORTED -1 The

Strona 60

Chapter 43 ADLIB Error Codes 30-2 BOARD STRUCTURE ALERR_BOARD_STRUCT_PTR -300 Invalid BOARD struct pointer. ALERR_BOARD_ID -301 No BOAR

Strona 61

Chapter 43 ADLIB Error Codes 30-3LDS STRUCTURE ALERR_LDS_STRUCT_PTR -500 Invalid LDS struct pointer. ALERR_INTERNAL_LDS_TYPE -501 Unknown

Strona 62

Chapter 43 ADLIB Error Codes 30-4 ENVIRONMENT STRUCTURE ALERR_ENV_STRUCT_PTR -700 Invalid ENV struct pointer. ALERR_ENV_LOADED -701 The

Strona 63 - 17. ANALOG OUTPUT

Chapter 43 ADLIB Error Codes 30-5INI FILE ALERR_INI_FILEEXIST -1000 The INFO file (.INI) can not be found. ALERR_INI_PATH_STRPTR -100

Strona 64

Chapter 43 ADLIB Error Codes 30-6 INI FILE - continued ALERR_INI_MINSTARTCHAN_STRING -1100 Invalid .INI MinStartChan setting. ALERR_INI_MAXEN

Strona 65 - 18. DIGITAL INPUT/OUTPUT

Chapter 43 ADLIB Error Codes 30-7INI FILE - continued ALERR_INI_EXPPANEL_STRING -1126 Invalid .INI ExpansionPanel n setting. ALERR_INI_POSTSAMP

Strona 66

Chapter 43 ADLIB Error Codes 30-8 BOARD ALERR_CAPS_IOBASEADDRSEL_STRING -2100 Invalid .CAP IoBaseAddrSelect setting. ALERR_CAPS_MINIOBASEARRR_STR

Strona 67

Chapter 43 ADLIB Error Codes 30-9COMMON DEVICE SETTINGS ALERR_CAPS_IRQSHAREABLE_STRING -2300 Invalid .CAP IrqShareable setting. ALERR_CAPS_DTM_S

Strona 68

Chapter 3 Configuration, Capabilities and Initialization Files 3-4 Contents include: One or more named sections, each corresponding to a Logica

Strona 69 - 19. TRIGGERING MODES

Chapter 43 ADLIB Error Codes 30-10 ADC ALERR_CAPS_GAIN_STRING -2351 Invalid .CAP GAIN string format. ALERR_CAPS_MINSTARTCHAN_STRING -2352

Strona 70

Chapter 43 ADLIB Error Codes 30-11ADC - continued ALERR_CAPS_OUTPUTCONFIG_STRING -2377 Invalid .CAP OutputConfig setting. ALERR_CAPS_MAXEXPPANELS

Strona 71

Chapter 43 ADLIB Error Codes 30-12 ADC - continued ALERR_CAPS_MAXRATE_STRING - 2403 Invalid .CAP MaxRate setting. CONFIGURATION FILE ALERR_CON

Strona 72

Chapter 43 ADLIB Error Codes 30-13DEVICE SUBSYSTEM CHANNELS ALERR_CHANLIST_LISTTYPE -4000 Invalid Channel list struct list lType, is it an

Strona 73

Chapter 43 ADLIB Error Codes 30-14 DEVICE SUBSYSTEM EXPANSION PANEL GAINS ALERR_EXPPANELGAINLIST_LISTTYPE -4100 Invalid ExpPanelGainList struct

Strona 74

Chapter 43 ADLIB Error Codes 30-15DEVICE SUBSYSTEM INPUT CONFIGURATION LIST ALERR_INPUTCONFIG_LISTTYPE -4120 Invalid InputConfig structure li

Strona 75

Chapter 43 ADLIB Error Codes 30-16 DEVICE SUBSYSTEM DATA OFFSET LIST (con’t) ALERR_GLOBAL DATAOFFSET _STRPTR -4151 Invalid global DataOffset st

Strona 76

Chapter 43 ADLIB Error Codes 30-17DEVICE SUBSYSTEM THERMOUCOUPLES ALERR_CJLIST_LISTTYPE -4401 Invalid CJ structure list lType. ALERR_CJLIST

Strona 77 - 20. CLOCKING MODES

Chapter 43 ADLIB Error Codes 30-18 TRIGGER SOURCES ALERR_TRIGGERSOURCE_OPTION -4507 Specified Trigger source is not supported. ALERR_TRIGGER

Strona 78

Chapter 43 ADLIB Error Codes 30-19CLOCK OUTPUTS ALERR_CLOCKSOUTPUT_UNSUPPORTED -4606 ClockOutput is not supported. ALERR_CLOCKOUTPUT_OPTION

Strona 79

Chapter 4 Application Development 4-14. APPLICATION DEVELOPMENT 4.1 OVERVIEW The ADLIB WIN driver is an extensive set of both function and structu

Strona 80

Chapter 43 ADLIB Error Codes 30-20 INTERRUPTS ALERR_IRQ_LEVELS_UNSUPPORTED -5000 IRQ Levels are not supported. ALERR_IRQ_LEVEL -5001

Strona 81

Chapter 43 ADLIB Error Codes 30-21DATA RANGE ALERR_DATARANGE_UNSUPPORTED -5500 Data Range is not supported. ALERR_DATARANGE -5501 Spe

Strona 82

Chapter 43 ADLIB Error Codes 30-22 DATA BUFFER CONTROL ERRORS ALERR_BUFFER_HANDLER -6000 Invalid handler specified. ALERR_BUFFER_SIZE

Strona 83

Chapter 43 ADLIB Error Codes 30-23GATING ALERR_GATING_UNSUPPORTED -8000 Gating is not supported. ALERR_GATING_OPTION -8001 Specified G

Strona 84

Chapter 43 ADLIB Error Codes 30-24 DRIVERS ALERR_DRV_NOT_LOADED -10002 The board's device driver is not loaded. ALERR_DRV_ADDR_STRUCT

Strona 85 - 21. GATING MODES

Chapter 43 ADLIB Error Codes 30-25DRIVERS - continued ALERR_DRV_BUFFERNOTIFYMETHOD_ADDR_PTR -10029 Driver SetBuffNotifyMethod function not

Strona 86

Chapter 43 ADLIB Error Codes 30-26 ALERR_DRV_SETHANDSHAKE_ADDR_PTR -10049 Driver SetHandShake function not found. DRIVERS - continued ALER

Strona 87

Chapter 43 ADLIB Error Codes 30-27DEVICE DRIVER HANDLES ALERR_LHDRVSUBSYS -10100 The LHDRVSUBSYS specified does not exist. ALERR_LHD

Strona 88

Chapter 43 ADLIB Error Codes 30-28 PORT RESOLUTION ALERR_PORTRESOLUTION_UNSUPPORTED -10500 PortResolution is not supported on this LHLD. ALE

Strona 89

Chapter 43 ADLIB Error Codes 30-29ALERR_LOADLIBRARY_MEM -100008 There was insufficient memory to start the application. ALERR_LOADLI

Strona 90

Chapter 4 Application Development 4-2 Notification Methods:See function AL_SetBufferDoneHandler(…) AL_CHECK_BUFFER This is a “synchronous” metho

Strona 91 - 22. BURST MODES

Chapter 43 ADLIB Error Codes 30-30 ENVIRONMENT SPECIFIC ERROR CODES - continued ALERR_LOADLIBRARY_SECONDINST -100016 Attempt was made to load a

Strona 92

Chapter 43 ADLIB Error Codes 30-31

Strona 94

Chapter 44 Board Driver Error Codes 31-131. BOARD DRIVER ERROR CODES DRVERR_DRVMAIN_PROCSTATE = -401000 Invalid DriverMain procedure

Strona 95 - 23. CHANNEL SELECTIONS

Chapter 44 Board Driver Error Codes 31-2 DRVERR_CYCLEMODE_TRANSMETHOD_CONFLICT = -401100 A conflict between the CycleMode and t

Strona 96

Chapter 44 Board Driver Error Codes 31-3DRVERR_TRIGMODE_ARBGAIN_CONFLICT = -401110 A conflict between the TriggerMode and arbitrary

Strona 97

Chapter 44 Board Driver Error Codes 31-4 DRVERR_DAOUTPUT_TRANFERMETHOD_CONFLICT = -401119 A conflict between the DAC Output and T

Strona 98 - Pci55xx Series: ADC0

Chapter 44 Board Driver Error Codes 31-5DRVERR_EXPPANEL_MAXLEN = -401401 The specified expansion panel gain list is invalid. DRVERR_EXPPANEL_ARR

Strona 99

Chapter 44 Board Driver Error Codes 31-6 DRVERR_INTERRUPT_OVERRUN = -402005 The board's interrupt rate is too fast for the driver to

Strona 100

Chapter 44 Board Driver Error Codes 31-7DRVERR_SETGATESOURCE_NOTSUPPORTED = -405012 The requested operation is not supported. DRVERR_SETSWGA

Strona 101

Chapter 4 Application Development 4-3Visual Basic for Windows Postmessage Handler Example Global lpDataBuffStat As DATABUFFSTATUS Global DataBuff

Strona 102

Chapter 44 Board Driver Error Codes 31-8 DRVERR_DIGITALOUTPUT_NOTSUPPORTED = -405030 The requested operation is not supported. DRVERR_BOAR

Strona 103

Chapter 44 Board Driver Error Codes 31-9DRVERR_BURSTRATE_LOW= -406000 The specified Burst rate is low. DRVERR_BURSTRATE_HIGH= -406001 The spec

Strona 104

DAQ Board API Functions Version 4.00 06/20/2004

Strona 106

Chapter 5 Program Development 5-15. PROGRAM DEVELOPMENT 5.1 INCLUDING ADLIB WIN IN C\C++ The sections presented below describe the mechanics of i

Strona 107

Chapter 5 Program Development 5-2 5.2 INCLUDING ADLIB WIN IN VISUAL BASIC FOR WINDOWS The sections presented below describe the mechanics of in

Strona 108

Chapter 5 Program Development 5-3/* Start the logical device. */ errnum& = AL_StartDevice(gblLhld&) If errnum& < 0 Then

Strona 109

Chapter 5 Program Development 5-4 errnum& = AL_ReleaseDevice(gblLhld&) If errnum& < 0 Then MsgBox "AL_ReleaseDevi

Strona 110

Chapter 6 Memory Buffer Allocation 6-16. MEMORY BUFFER ALLOCATION 6.1 OVERVIEW ADLIB WIN removes the complexity of allocating suitable DMA and Int

Strona 111 - 25. DATA OFFSETS

Chapter 6 Memory Buffer Allocation 6-2 long lErrorFlags The Error Flags specify the condition that has stopped a buffer from successfully comple

Strona 112

Chapter 6 Memory Buffer Allocation 6-3 DWORD dwBufferType; /* Data Buffer type. */ DWORD dwBufferSize; /* Size of each buffer in b

Strona 113

Chapter 6 Memory Buffer Allocation 6-4 long FAR PASCAL_ export AdlibBufferProc (hwnd, message, wParam, 1Param) { LPBUFFSTRUT 1pbuff; lpbuff

Strona 114

Chapter 6 Memory Buffer Allocation 6-5 If lpDataBuffStat.lErrorFlags <> 0 Then Msg = "Buffer Error = " Msg = Msg &

Strona 115

Contents i1. INTRODUCTION ...1-1 1.1 OVERVIEW...

Strona 116

Chapter 6 Memory Buffer Allocation 6-6

Strona 117 - 26. COUNTER / TIMERS

Chapter 7 Dynamic Linking to ADLIB WIN 7-17. DYNAMIC LINKING TO ADLIB WIN 7.1 IMPLICIT LINKING C\C++ ADLIB WIN provides an import library adlcor

Strona 118

Chapter 7 Dynamic Linking to ADLIB WIN 7-2

Strona 119

Chapter 8 Error Handling 8-18. ERROR HANDLING 8.1 OVERVIEW All Library functions return 32-bit signed numbers (long). All the positive numbers, 0

Strona 120

Chapter 8 Error Handling 8-2

Strona 121

Chapter 9 Environment Configurations 9-19. ENVIRONMENT CONFIGURATIONS Each time the ADLIB library is to be used, the Environment configuration mus

Strona 122

Chapter 9 Environment Configurations 9-2 9.2 AL_ReleaseEnvironment Prototype C\C++ ERRNUM AL_ReleaseEnvironment(void); Visual Basic for W

Strona 123

Chapter 9 Environment Configurations 9-39.3 AL_SetEnvString Prototype C\C++ ERRNUM AL_SetEnvString(LPSTR lpstrEnv); Visual Basic for Windows

Strona 124

Chapter 9 Environment Configurations 9-4 9.4 AL_GetEnvString Prototype C\C++ ERRNUM AL_GetEnvString(LPSTR lpstr, long lMaxLength); Visual B

Strona 125

Chapter 9 Environment Configurations 9-5

Strona 126

Contents ii 6.3 THE BUFFER STRUCTURE... 6-1 6.4 BUFFER NOTIFIC

Strona 128

Chapter 10 Board Functions 10-110. BOARD FUNCTIONS The Board Functions are used to retrieve information stored within the hardware, from the confi

Strona 129 - AL_GetBufferDoneHandler

Chapter 10 Board Functions 10-2 10.2 AL_GetBoardDriverVersion Prototype C\C++ DRIVERVER AL_GetBoardDriverVersion(BRDID brdid); Visual B

Strona 130

Chapter 10 Board Functions 10-310.3 AL_SetBoardString Prototype C\C++ ERRNUM AL_SetBoardString(BRDID brdid, LPSTR lpstrBrd); Visual Basic

Strona 131

Chapter 10 Board Functions 10-4 10.4 AL_GetBoardString Protype C\C++ ERRNUM AL_GetBoardString(BRDID brdid, LPSTR lpstr, long lMaxLength);

Strona 132

Chapter 10 Board Functions 10-510.5 AL_GetBoardName Protype C\C++ ERRNUM AL_GetBoardName(BRDID brdid, LPSTR lpstr, long lMaxLength); Visual

Strona 133

Chapter 10 Board Functions 10-6 10.6 AL_GetMfgProductId Prototype C\C++ PRODID AL_GetBoardHardwareVersion(LHLD lhld); Visual Basic for W

Strona 134

Chapter 12 Logical Device String Names 11-111. LOGICAL DEVICE ALLOCATIONS Logical Devices are considered to be individual board subsections that c

Strona 135

Chapter 12 Logical Device String Names 11-2 Returns: On success returns a handle to the logical device subsystem that the application uses in a

Strona 136

Chapter 12 Logical Device String Names 11-311.2 AL_ReleaseDevice Prototype C\C++ ERRNUM AL_ReleaseDevice(LHLD lhld); Visual Basic for Windo

Strona 137

Contents iii11.2 AL_ReleaseDevice... 11-3 11.3 AL_Set

Strona 138

Chapter 12 Logical Device String Names 11-4 11.3 AL_SetLdsString Prototype C\C++ ERRNUM AL_SetLdsString(LHLD lhld, LPSTR lpstrLds); Visua

Strona 139

Chapter 12 Logical Device String Names 11-511.4 AL_GetLdsString Prototype C\C++ ERRNUM AL_GetLdsString(LHLD lhld, LPSTR lpstr, long lMaxLength

Strona 141

Chapter 14 Logical Device Start / Stop Operations 12-112. LOGICAL DEVICE INITIALIZATIONS Each Logical Device subsystem requires initialization bef

Strona 142

Chapter 14 Logical Device Start / Stop Operations 13-2 13. LOGICAL DEVICE START / STOP OPERATIONS Once a device has been fully configured and in

Strona 143

Chapter 14 Logical Device Start / Stop Operations 13-313.2 AL_StopDevice Prototype C\C++ ERRNUM AL_StopDevice(LHLD lhld); Visual Basic for

Strona 145

Chapter 15 Logical Device Cycle Modes 14-114. LOGICAL DEVICE CYCLE MODES The Cycle Mode setting specifies the duration of the acquisition as eith

Strona 146

Chapter 15 Logical Device Cycle Modes 14-2 14.2 AL_GetCycleMode Prototype C\C++ ERRNUM AL_GetCycleMode(LHLD lhld, LPSTR lpstrMode, long lMaxLen

Strona 147

Chapter 16 Logical Device Transfer Methods 15-115. LOGICAL DEVICE TRANSFER METHODS Depending on the acquisition needs, the device may be controll

Strona 148

Contents iv 19.1 AL_SetTriggerMode ... 19-1 19.2 AL_SetT

Strona 149

Chapter 16 Logical Device Transfer Methods 15-2 15.2 AL_GetDataTransferMethod Prototype C\C++ ERRNUM AL_GetDataTransferMethod(LHLD lhld, LPS

Strona 150

Chapter 17 Logical Device Status Information 16-116. LOGICAL DEVICE STATUS INFORMATION The Device Status provides the current running condition o

Strona 151 - 30. ADLIB ERROR CODES

Chapter 17 Logical Device Status Information 16-2

Strona 152 - LOGICAL DEVICE HANDLES

Chapter 18 Analog Output 17-117. ANALOG OUTPUT The Analog Output function immediately sets the specified DtoA channel to specified voltage. This i

Strona 153 - CAPS STRUCTURE

Chapter 18 Analog Output 17-2

Strona 154 - FILE I/O

Chapter 19 Digital Input/Output 18-118. DIGITAL INPUT/OUTPUT The Digital Input/Output functions immediately reads or writes the specified Digital

Strona 155 - INI FILE

Chapter 19 Digital Input/Output 18-2 18.2 AL_DigOutput Prototype C\C++ ERRNUM AL_API AL_DigOutput(LHLD lhld, long lChan, long lOutputData, l

Strona 156 - INI FILE - continued

Chapter 19 Digital Input/Output 18-3 18.3 AL_DigBitsTest Prototype C\C++ STATUS AL_API AL_DigBitsTest(LHLD lhld, long lChan, long lTestBits);

Strona 157 - CAPABILITIES FILE

Chapter 19 Digital Input/Output 18-4

Strona 158 - DRIVER

Chapter 20 Triggering Modes 19-119. TRIGGERING MODES Triggering allows the device acquisition to begin at some external event. Typically the devic

Strona 159 - COMMON DEVICE SETTINGS

Contents v23. CHANNEL SELECTIONS...23-1 23.1 AL_SetChannelList ...

Strona 160

Chapter 20 Triggering Modes 19-2 Pci55xx Series Trigger and Buffer Considerations: Depending on the number of Buffers and Cycle Mode specified

Strona 161 - ADC - continued

Chapter 20 Triggering Modes 19-319.2 AL_SetTriggerSource Prototype C\C++ ERRNUM AL_SetTriggerSource(LHLD lhld, LPSTR lpstrSource); Visual B

Strona 162 - CONFIGURATION FILE

Chapter 20 Triggering Modes 19-4 19.3 AL_SetTrigSourceSignal Prototype C\C++ ERRNUM AL_SetTrigSourceSignal(LHLD lhld, LPSTR lpstrSourceSigna

Strona 163 - DEVICE SUBSYSTEM CHANNELS

Chapter 20 Triggering Modes 19-519.4 AL_SetPostSampleCount Prototype C\C++ ERRNUM AL_SetPostSampleCount(LHLD lhld, long lCount); Visual Ba

Strona 164

Chapter 20 Triggering Modes 19-6 19.5 AL_GetTriggerStruct Prototype C\C++ ERRNUM AL_GetTriggerStruct(LHLD lhld, LPTRIG lptrigStruct); Vis

Strona 165

Chapter 20 Triggering Modes 19-719.6 AL_SetTriggerOutput Prototype C\C++ ERRNUM AL_SetTriggerOutput(LHLD lhld, LPSTR lpstrMode); Visual Bas

Strona 166

Chapter 20 Triggering Modes 19-8 19.7 AL_GetTriggerOutput Prototype C\C++ ERRNUM AL_GetTriggerOutput(LHLD lhld, LPSTR lpstrTriggerOutput, long

Strona 167 - TRIGGERS

Chapter 21 Clocking Modes 20-120. CLOCKING MODES Clocking Modes provides either accurate timed device conversions or software-controlled conversio

Strona 168 - CLOCK SIGNALS

Chapter 21 Clocking Modes 20-2 20.2 AL_SetClockRate Prototype C\C++ ERRNUM AL_SetClockRate(LHLD lhld, double dRate, long lUnits); Visual

Strona 169 - DATA OFFSET

Chapter 21 Clocking Modes 20-320.3 AL_GetActualClkRate Prototype C\C++ (32 bit) ERRNUM AL_GetActualClkRate(LHLD lhld, double *dActualRate);

Strona 170 - DATA SPAN

Contents vi 27.4 AL_CopyBuffer ... 27-4 27.5 AL_

Strona 171 - START DEVICE

Chapter 21 Clocking Modes 20-4 20.4 AL_MaxClkRate Prototype C\C++ (32 bit) ERRNUM AL_GetMaxClkRate(LHLD lhld, double *dMaxRate); Visua

Strona 172 - BURST MODE CONTROL ERRORS

Chapter 21 Clocking Modes 20-520.5 AL_GetClockStruct Prototype C\C++ ERRNUM AL_GetClockStruct(LHLD lhld, LPCLK lpclkStruct); Visual Basic f

Strona 173 - GATE LEVELS

Chapter 21 Clocking Modes 20-6 20.6 AL_SetClockOutput Prototype C\C++ ERRNUM AL_SetClockOutput(LHLD lhld, LPSTR lpstrMode); Visual Basic

Strona 174 - DRIVERS

Chapter 21 Clocking Modes 20-720.7 AL_GetClockOutput Prototype C\C++ ERRNUM AL_GetClockOutput(LHLD lhld, LPSTR lpstrClockOutput, long lMaxlen)

Strona 175 - DRIVERS - continued

Chapter 21 Clocking Modes 20-8

Strona 176

Chapter 22 Gating Modes 21-121. GATING MODES Gating allows either software or an external signal to enable or disable a devices clocking source. T

Strona 177 - HANDSHAKE

Chapter 22 Gating Modes 21-2 21.2 AL_SetGateLevel Prototype C\C++ ERRNUM AL_SetGateLevel(LHLD lhld, LPSTR lpstrGateLevel); Visual Basic

Strona 178 - CTR MODE (continued)

Chapter 22 Gating Modes 21-321.3 AL_GetGateStruct Prototype C\C++ ERRNUM AL_GetGateStruct(LHLD lhld, LPGATE lpgateStruct); Visual Basic for

Strona 179

Chapter 22 Gating Modes 21-4 21.4 AL_SetSwGate Prototype C\C++ ERRNUM AL_SetSwGate(LHLD lhld, long lSwGate); Visual Basic for Windows F

Strona 180 - ADLIB INTERNAL ERROR CODES

Chapter 22 Gating Modes 21-521.5 AL_GetSwGate Prototype C\C++ STATUS AL_GetSwGate(LHLD lhld); Visual Basic for Windows Function AL_GetSwG

Strona 181

Contents vii30. ADLIB ERROR CODES ...30-1 31. BOARD DRIVER ERROR CODES...

Strona 182

Chapter 22 Gating Modes 21-6

Strona 183

Chapter 23 Burst Modes 22-122. BURST MODES Burst Mode uses a separate Burst Rate clock to initiate conversions. For the Pci55xx Series the Burst R

Strona 184

Chapter 23 Burst Modes 22-2 22.2 AL_SetBurstLength Prototype C\C++ ERRNUM AL_SetBurstLength(LHLD lhld, long lBurstSamples); Visual Basic

Strona 185

Chapter 23 Burst Modes 22-322.3 AL_SetBurstRate Prototype C\C++ ERRNUM AL_SetBurstRate(LHLD lhld, double dRate, long lUnits); Visual Basi

Strona 186

Chapter 23 Burst Modes 22-4 22.4 AL_GetBurstStruct Prototype C\C++ ERRNUM AL_GetBurstStruct(LHLD lhld, LPBURST lpburstStruct); Visual B

Strona 187

Chapter 24 Channel Selections 23-123. CHANNEL SELECTIONS Channel selection allows the random ordering of channels to be programmed into the board

Strona 188

Chapter 24 Channel Selections 23-2 Returns: On success ERRNUM is set to 1 and the information contained in the lpchanlist structure is transferr

Strona 189

Chapter 24 Channel Selections 23-323.2 AL_GetChannelList Prototype C\C++ ERRNUM AL_GetChannelList(LHLD lhld, LPCHANLIST lpchanlist); Visual

Strona 190

Chapter 24 Channel Selections 23-4 Supported Logical Device Subsystems: Pci55xx Series: ADC0

Strona 191

Chapter 24 Channel Selections 23-523.3 AL_SetMinStartChan Prototype C\C++ ERRNUM AL_SetMinStartChan(LHLD lhld, long lMinChan); Visual Basic

Komentarze do niniejszej Instrukcji

Brak uwag