ADLIB WIN Interface Library Software User’s Manual for ADAC PCI Data Acquisition Boards the smart approac
Contents viii
Chapter 24 Channel Selections 23-6 23.4 AL_GetMinStartChan Prototype C\C++ STATUS AL_GetMinStartChan(LHLD lhld); Visual Basic for Windows
Chapter 24 Channel Selections 23-723.5 AL_SetMaxEndChan Prototype C\C++ ERRNUM AL_API AL_SetMaxEndChan(LHLD lhld, long lMaxChan); Visual Ba
Chapter 24 Channel Selections 23-8 23.6 AL_GetMaxEndChan Prototype C\C++ STATUS AL_GetMaxEndChan(LHLD lhld); Visual Basic for Windows F
Chapter 26 Global Gain Settings 23-123.7 AL_SetGainGlobal Prototype C\C++ ERRNUM AL_SetGainGlobal(LHLD lhld, lpstr lpstrGain); Visual Basic
Chapter 24 Global Gain Settings 23-2
Chapter 31 Input Configurations 24-124. INPUT CONFIGURATIONS Input Configurations allows the random ordering of Differential, Single Ended or Pseu
Chapter 31 Input Configurations 24-2 Related Functions: AL_GetInputConfigList AL_SetInputConfigGlobal Examples: • string “0(DI),1(PD),2(SE),
Chapter 31 Input Configurations 24-324.2 AL_GetInputConfigList Prototype C\C++ ERRNUM AL_GetInputConfigList(LHLD lhld, LPINPUTCONFIGLIST lpInp
Chapter 31 Input Configurations 24-4 Supported Logical Device Subsystems: Pci55xx Series: ADC0
Chapter 31 Input Configurations 24-524.3 AL_SetInputConfigGlobal Prototype C\C++ ERRNUM AL_SetInputConfigGlobal(LHLD lhld, lpstr lpstrInputCon
Chapter 1 Introduction 1-11. INTRODUCTION 1.1 OVERVIEW ADLIB WIN is a set of sophisticated, high level, dynamically linked library (DLL) data acqu
Chapter 31 Input Configurations 24-6
Chapter 34 Data Offsets 25-125. DATA OFFSETS Data Offsets allows the random ordering of Bipolar and Unipolar channel input types to be programmed
Chapter 34 Data Offsets 25-2 Related Functions: AL_GetDataOffsetList AL_SetDataOffsetGlobal Examples: • string “0(BIP),1(UNI),2(BIP),3(BIP),
Chapter 34 Data Offsets 25-325.2 AL_GetDataOffsetList Prototype C\C++ ERRNUM AL_GetDataOffsetList(LHLD lhld, LPDATAOFFSETLIST lpDataOffsetlist
Chapter 34 Data Offsets 25-4 Supported Logical Device Subsystems: Pci55xx Series: ADC0
Chapter 34 Data Offsets 25-525.3 AL_SetDataOffsetGlobal Prototype C\C++ ERRNUM AL_SetDataOffsetGlobal(LHLD lhld, lpstr lpstrDataOffset); Vi
Chapter 34 Data Offsets 25-6
Chapter 39 Counter Modes 26-126. COUNTER / TIMERS Both the Pci5500 and Pci5500 Series support two counters and two timers. Both counters provide
Chapter 38 Counter Modes 26-2 26.2 AL_GetCtrMode Prototype C\C++ ERRNUM AL_GetCtrMode(LHLD lhld, LPSTR lpstrCtrMode, long lMaxlen); Visua
Chapter 39 Counter / Timer 26-126.3 AL_CounterIn Prototype C\C++ STATUS AL_API AL_CounterIn(LHLD lhld); Visual Basic for Windows Function
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
Chapter 39 Counter / Timer 26-2 26.4 AL_CounterOut Prototype C\C++ ERRNUM AL_CounterOut(LHLD lhld, double dRate, long lUnits); Visual Bas
Chapter 40 Buffer Handler Functions 27-127. BUFFER HANDLER FUNCTIONS Buffer Handler functions provide the means to retrieve and output data a dev
Chapter 40 Buffer Handler Functions 27-2 27.2 AL_GetDoneBuffPtr Prototype C\C++ LPBUFFSTRUCT AL_GetDoneBuffPtr(LHLD lhld); Visual Bas
Chapter 40 Buffer Handler Functions 27-327.3 AL_GetBuffPtr Prototype C\C++ LPBUFFSTRUCT AL_GetBuffPtr(LHLD lhld, long lBuffNum); Visual
Chapter 40 Buffer Handler Functions 27-4 27.4 AL_CopyBuffer Prototype C\C++ (16 Bit) ERRNUM AL_CopyBuffer(LHLD lhld, long lBuffNum,
Chapter 40 Buffer Handler Functions 27-527.5 AL_SetBuffer Prototype C\C++ (16 Bit) ERRNUM AL_SetBuffer(LHLD lhld, long lBuffNum, int _far *
Chapter 40 Buffer Handler Functions 27-6 27.6 AL_GetBufferStatus Prototype C\C++ ERRNUM AL_GetBufferStatus(LHLD lhld, LPDATABUFFSTATU
Chapter 40 Buffer Handler Functions 27-727.7 AL_SetBufferDoneHandler Prototype C\C++ ERRNUM AL_SetBufferDoneHandler(LHLD lhld, LPSTR lpstrMeth
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
Chapter 40 Buffer Handler Functions 27-927.8 AL_GetBufferDoneHandler Prototype C\C++ ERRNUM AL_GetBufferDoneHandler(LHLD lhld, LPSTR lpstrMet
Chapter 3 Configuration, Capabilities and Initialization Files 2-12. INSTALLATION 2.1 INSTALLATION FROM WINDOWS for PCI CARD SUPPORT If you are i
Chapter 40 Buffer Handler Functions 27-10 27.9 AL_SetBufferDoneHandlerMsg Prototype C\C++ ERRNUM AL_SetBufferDoneHandlerMsg(LHLD lhld, HWND
Chapter 40 Buffer Handler Functions 27-1127.10 AL_GetBufferDoneHandlerMsg Prototype C\C++ ERRNUM AL_GetBufferDoneHandlerMsg(LHLD lhld, LPWORD
Chapter 40 Buffer Handler Functions 27-12 27.11 AL_SetBufferDoneHandlerFunc Prototype C\C++ ERRNUM AL_SetBufferDoneHandlerFunc(LHLD lhld,
Chapter 40 Buffer Handler Functions 27-1327.12 AL_SetBufferDoneHandlerParams Prototype C\C++ ERRNUM AL_SetBufferDoneHandlerParams(LHLD lhld, W
Chapter 40 Buffer Handler Functions 27-14 27.13 AL_SetNumOfBuffers Prototype C\C++ ERRNUM AL_SetNumOfBuffers(LHLD lhld, long lNumBuffers);
Chapter 40 Buffer Handler Functions 27-1527.14 AL_GetNumOfBuffers Prototype C\C++ STATUS AL_GetNumOfBuffers(LHLD lhld); Visual Basic for
Chapter 40 Buffer Handler Functions 27-16 27.15 AL_SetBufferSize Prototype C\C++ ERRNUM AL_SetBufferSize(LHLD lhld, long lBuffSize); Vi
Chapter 40 Buffer Handler Functions 27-1727.16 AL_GetBufferSize Prototype C\C++ STATUS AL_GetBufferSize(LHLD lhld); Visual Basic for Window
Chapter 40 Buffer Handler Functions 27-18 27.17 AL_SetAutoInitBuffers Prototype C\C++ ERRNUM AL_SetAutoInitBuffers(LHLD lhld, long lState)
Chapter 40 Buffer Handler Functions 27-1927.18 AL_GetAutoInitBuffers Prototype C\C++ STATUS AL_GetAutoInitBuffers(LHLD lhld) Visual Basic
Chapter 3 Configuration, Capabilities and Initialization Files 2-2 2.2 SUMMARY OF DISK FILES FOR ADLIB WDM PCI CARD SUPPORT \adlib (Root Direc
Chapter 40 Buffer Handler Functions 27-20 27.19 AL_SetPackedData Prototype C\C++ ERRNUM AL_SetPackedData(LHLD lhld, long lState); Visua
Chapter 40 Buffer Handler Functions 27-2127.20 AL_GetPackedData Prototype C\C++ STATUS AL_GetPackedData(LHLD lhld); Visual Basic for Wind
Chapter 41 Data Formatting Functions 28-128. DATA FORMATTING FUNCTIONS: The Data Formatting functions provide conversions of RAW data into Voltag
Chapter 41 Data Formatting Functions 28-2 28.2 AL_DemuxDataSet Prototype C\C++ (16 Bit) ERRNUM AL_DemuxDataSet(LHLD lhld, long lBuffNum,
Chapter 42 Error Handling Functions 29-129. ERROR HANDLING FUNCTIONS The Error Handling functions allow the user to determine when a specific err
Chapter 42 Error Handling Functions 29-2 29.2 AL_GetErrOnReInitRunning Prototype C\C++ STATUS AL_GetErrOnReInitRunning(LHLD lhld); Visua
Chapter 42 Error Handling Functions 29-329.3 AL_SetErrOnReleaseRunning Prototype C\C++ ERRNUM AL_SetErrOnReleaseRunning (LHLD lhld, long lStat
Chapter 42 Error Handling Functions 29-4 29.4 AL_GetErrOnReleaseRunning Prototype C\C++ STATUS AL_GetErrOnReleaseRunning(LHLD lhld); V
Chapter 42 Error Handling Functions 29-529.5 AL_GetBoardError Prototype C\C++ ERRMUM AL_GetBoardError(LHLD lhld); Visual Basic for Windows
Chapter 3 Configuration, Capabilities and Initialization Files 3-33. CONFIGURATION, CAPABILITIES AND INITIALIZATION FILES Beginning with ADLIB ve
Chapter 42 Error Handling Functions 29-6
Chapter 43 ADLIB Error Codes 30-130. ADLIB ERROR CODES ALERR_NOERRORS 1 No errors occurred during the call. ALERR_NOT_SUPPORTED -1 The
Chapter 43 ADLIB Error Codes 30-2 BOARD STRUCTURE ALERR_BOARD_STRUCT_PTR -300 Invalid BOARD struct pointer. ALERR_BOARD_ID -301 No BOAR
Chapter 43 ADLIB Error Codes 30-3LDS STRUCTURE ALERR_LDS_STRUCT_PTR -500 Invalid LDS struct pointer. ALERR_INTERNAL_LDS_TYPE -501 Unknown
Chapter 43 ADLIB Error Codes 30-4 ENVIRONMENT STRUCTURE ALERR_ENV_STRUCT_PTR -700 Invalid ENV struct pointer. ALERR_ENV_LOADED -701 The
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
Chapter 43 ADLIB Error Codes 30-6 INI FILE - continued ALERR_INI_MINSTARTCHAN_STRING -1100 Invalid .INI MinStartChan setting. ALERR_INI_MAXEN
Chapter 43 ADLIB Error Codes 30-7INI FILE - continued ALERR_INI_EXPPANEL_STRING -1126 Invalid .INI ExpansionPanel n setting. ALERR_INI_POSTSAMP
Chapter 43 ADLIB Error Codes 30-8 BOARD ALERR_CAPS_IOBASEADDRSEL_STRING -2100 Invalid .CAP IoBaseAddrSelect setting. ALERR_CAPS_MINIOBASEARRR_STR
Chapter 43 ADLIB Error Codes 30-9COMMON DEVICE SETTINGS ALERR_CAPS_IRQSHAREABLE_STRING -2300 Invalid .CAP IrqShareable setting. ALERR_CAPS_DTM_S
Chapter 3 Configuration, Capabilities and Initialization Files 3-4 Contents include: One or more named sections, each corresponding to a Logica
Chapter 43 ADLIB Error Codes 30-10 ADC ALERR_CAPS_GAIN_STRING -2351 Invalid .CAP GAIN string format. ALERR_CAPS_MINSTARTCHAN_STRING -2352
Chapter 43 ADLIB Error Codes 30-11ADC - continued ALERR_CAPS_OUTPUTCONFIG_STRING -2377 Invalid .CAP OutputConfig setting. ALERR_CAPS_MAXEXPPANELS
Chapter 43 ADLIB Error Codes 30-12 ADC - continued ALERR_CAPS_MAXRATE_STRING - 2403 Invalid .CAP MaxRate setting. CONFIGURATION FILE ALERR_CON
Chapter 43 ADLIB Error Codes 30-13DEVICE SUBSYSTEM CHANNELS ALERR_CHANLIST_LISTTYPE -4000 Invalid Channel list struct list lType, is it an
Chapter 43 ADLIB Error Codes 30-14 DEVICE SUBSYSTEM EXPANSION PANEL GAINS ALERR_EXPPANELGAINLIST_LISTTYPE -4100 Invalid ExpPanelGainList struct
Chapter 43 ADLIB Error Codes 30-15DEVICE SUBSYSTEM INPUT CONFIGURATION LIST ALERR_INPUTCONFIG_LISTTYPE -4120 Invalid InputConfig structure li
Chapter 43 ADLIB Error Codes 30-16 DEVICE SUBSYSTEM DATA OFFSET LIST (con’t) ALERR_GLOBAL DATAOFFSET _STRPTR -4151 Invalid global DataOffset st
Chapter 43 ADLIB Error Codes 30-17DEVICE SUBSYSTEM THERMOUCOUPLES ALERR_CJLIST_LISTTYPE -4401 Invalid CJ structure list lType. ALERR_CJLIST
Chapter 43 ADLIB Error Codes 30-18 TRIGGER SOURCES ALERR_TRIGGERSOURCE_OPTION -4507 Specified Trigger source is not supported. ALERR_TRIGGER
Chapter 43 ADLIB Error Codes 30-19CLOCK OUTPUTS ALERR_CLOCKSOUTPUT_UNSUPPORTED -4606 ClockOutput is not supported. ALERR_CLOCKOUTPUT_OPTION
Chapter 4 Application Development 4-14. APPLICATION DEVELOPMENT 4.1 OVERVIEW The ADLIB WIN driver is an extensive set of both function and structu
Chapter 43 ADLIB Error Codes 30-20 INTERRUPTS ALERR_IRQ_LEVELS_UNSUPPORTED -5000 IRQ Levels are not supported. ALERR_IRQ_LEVEL -5001
Chapter 43 ADLIB Error Codes 30-21DATA RANGE ALERR_DATARANGE_UNSUPPORTED -5500 Data Range is not supported. ALERR_DATARANGE -5501 Spe
Chapter 43 ADLIB Error Codes 30-22 DATA BUFFER CONTROL ERRORS ALERR_BUFFER_HANDLER -6000 Invalid handler specified. ALERR_BUFFER_SIZE
Chapter 43 ADLIB Error Codes 30-23GATING ALERR_GATING_UNSUPPORTED -8000 Gating is not supported. ALERR_GATING_OPTION -8001 Specified G
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
Chapter 43 ADLIB Error Codes 30-25DRIVERS - continued ALERR_DRV_BUFFERNOTIFYMETHOD_ADDR_PTR -10029 Driver SetBuffNotifyMethod function not
Chapter 43 ADLIB Error Codes 30-26 ALERR_DRV_SETHANDSHAKE_ADDR_PTR -10049 Driver SetHandShake function not found. DRIVERS - continued ALER
Chapter 43 ADLIB Error Codes 30-27DEVICE DRIVER HANDLES ALERR_LHDRVSUBSYS -10100 The LHDRVSUBSYS specified does not exist. ALERR_LHD
Chapter 43 ADLIB Error Codes 30-28 PORT RESOLUTION ALERR_PORTRESOLUTION_UNSUPPORTED -10500 PortResolution is not supported on this LHLD. ALE
Chapter 43 ADLIB Error Codes 30-29ALERR_LOADLIBRARY_MEM -100008 There was insufficient memory to start the application. ALERR_LOADLI
Chapter 4 Application Development 4-2 Notification Methods:See function AL_SetBufferDoneHandler(…) AL_CHECK_BUFFER This is a “synchronous” metho
Chapter 43 ADLIB Error Codes 30-30 ENVIRONMENT SPECIFIC ERROR CODES - continued ALERR_LOADLIBRARY_SECONDINST -100016 Attempt was made to load a
Chapter 43 ADLIB Error Codes 30-31
Chapter 44 Board Driver Error Codes 31-131. BOARD DRIVER ERROR CODES DRVERR_DRVMAIN_PROCSTATE = -401000 Invalid DriverMain procedure
Chapter 44 Board Driver Error Codes 31-2 DRVERR_CYCLEMODE_TRANSMETHOD_CONFLICT = -401100 A conflict between the CycleMode and t
Chapter 44 Board Driver Error Codes 31-3DRVERR_TRIGMODE_ARBGAIN_CONFLICT = -401110 A conflict between the TriggerMode and arbitrary
Chapter 44 Board Driver Error Codes 31-4 DRVERR_DAOUTPUT_TRANFERMETHOD_CONFLICT = -401119 A conflict between the DAC Output and T
Chapter 44 Board Driver Error Codes 31-5DRVERR_EXPPANEL_MAXLEN = -401401 The specified expansion panel gain list is invalid. DRVERR_EXPPANEL_ARR
Chapter 44 Board Driver Error Codes 31-6 DRVERR_INTERRUPT_OVERRUN = -402005 The board's interrupt rate is too fast for the driver to
Chapter 44 Board Driver Error Codes 31-7DRVERR_SETGATESOURCE_NOTSUPPORTED = -405012 The requested operation is not supported. DRVERR_SETSWGA
Chapter 4 Application Development 4-3Visual Basic for Windows Postmessage Handler Example Global lpDataBuffStat As DATABUFFSTATUS Global DataBuff
Chapter 44 Board Driver Error Codes 31-8 DRVERR_DIGITALOUTPUT_NOTSUPPORTED = -405030 The requested operation is not supported. DRVERR_BOAR
Chapter 44 Board Driver Error Codes 31-9DRVERR_BURSTRATE_LOW= -406000 The specified Burst rate is low. DRVERR_BURSTRATE_HIGH= -406001 The spec
DAQ Board API Functions Version 4.00 06/20/2004
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
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
Chapter 5 Program Development 5-3/* Start the logical device. */ errnum& = AL_StartDevice(gblLhld&) If errnum& < 0 Then
Chapter 5 Program Development 5-4 errnum& = AL_ReleaseDevice(gblLhld&) If errnum& < 0 Then MsgBox "AL_ReleaseDevi
Chapter 6 Memory Buffer Allocation 6-16. MEMORY BUFFER ALLOCATION 6.1 OVERVIEW ADLIB WIN removes the complexity of allocating suitable DMA and Int
Chapter 6 Memory Buffer Allocation 6-2 long lErrorFlags The Error Flags specify the condition that has stopped a buffer from successfully comple
Chapter 6 Memory Buffer Allocation 6-3 DWORD dwBufferType; /* Data Buffer type. */ DWORD dwBufferSize; /* Size of each buffer in b
Chapter 6 Memory Buffer Allocation 6-4 long FAR PASCAL_ export AdlibBufferProc (hwnd, message, wParam, 1Param) { LPBUFFSTRUT 1pbuff; lpbuff
Chapter 6 Memory Buffer Allocation 6-5 If lpDataBuffStat.lErrorFlags <> 0 Then Msg = "Buffer Error = " Msg = Msg &
Contents i1. INTRODUCTION ...1-1 1.1 OVERVIEW...
Chapter 6 Memory Buffer Allocation 6-6
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
Chapter 7 Dynamic Linking to ADLIB WIN 7-2
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
Chapter 8 Error Handling 8-2
Chapter 9 Environment Configurations 9-19. ENVIRONMENT CONFIGURATIONS Each time the ADLIB library is to be used, the Environment configuration mus
Chapter 9 Environment Configurations 9-2 9.2 AL_ReleaseEnvironment Prototype C\C++ ERRNUM AL_ReleaseEnvironment(void); Visual Basic for W
Chapter 9 Environment Configurations 9-39.3 AL_SetEnvString Prototype C\C++ ERRNUM AL_SetEnvString(LPSTR lpstrEnv); Visual Basic for Windows
Chapter 9 Environment Configurations 9-4 9.4 AL_GetEnvString Prototype C\C++ ERRNUM AL_GetEnvString(LPSTR lpstr, long lMaxLength); Visual B
Chapter 9 Environment Configurations 9-5
Contents ii 6.3 THE BUFFER STRUCTURE... 6-1 6.4 BUFFER NOTIFIC
Chapter 10 Board Functions 10-110. BOARD FUNCTIONS The Board Functions are used to retrieve information stored within the hardware, from the confi
Chapter 10 Board Functions 10-2 10.2 AL_GetBoardDriverVersion Prototype C\C++ DRIVERVER AL_GetBoardDriverVersion(BRDID brdid); Visual B
Chapter 10 Board Functions 10-310.3 AL_SetBoardString Prototype C\C++ ERRNUM AL_SetBoardString(BRDID brdid, LPSTR lpstrBrd); Visual Basic
Chapter 10 Board Functions 10-4 10.4 AL_GetBoardString Protype C\C++ ERRNUM AL_GetBoardString(BRDID brdid, LPSTR lpstr, long lMaxLength);
Chapter 10 Board Functions 10-510.5 AL_GetBoardName Protype C\C++ ERRNUM AL_GetBoardName(BRDID brdid, LPSTR lpstr, long lMaxLength); Visual
Chapter 10 Board Functions 10-6 10.6 AL_GetMfgProductId Prototype C\C++ PRODID AL_GetBoardHardwareVersion(LHLD lhld); Visual Basic for W
Chapter 12 Logical Device String Names 11-111. LOGICAL DEVICE ALLOCATIONS Logical Devices are considered to be individual board subsections that c
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
Chapter 12 Logical Device String Names 11-311.2 AL_ReleaseDevice Prototype C\C++ ERRNUM AL_ReleaseDevice(LHLD lhld); Visual Basic for Windo
Contents iii11.2 AL_ReleaseDevice... 11-3 11.3 AL_Set
Chapter 12 Logical Device String Names 11-4 11.3 AL_SetLdsString Prototype C\C++ ERRNUM AL_SetLdsString(LHLD lhld, LPSTR lpstrLds); Visua
Chapter 12 Logical Device String Names 11-511.4 AL_GetLdsString Prototype C\C++ ERRNUM AL_GetLdsString(LHLD lhld, LPSTR lpstr, long lMaxLength
Chapter 14 Logical Device Start / Stop Operations 12-112. LOGICAL DEVICE INITIALIZATIONS Each Logical Device subsystem requires initialization bef
Chapter 14 Logical Device Start / Stop Operations 13-2 13. LOGICAL DEVICE START / STOP OPERATIONS Once a device has been fully configured and in
Chapter 14 Logical Device Start / Stop Operations 13-313.2 AL_StopDevice Prototype C\C++ ERRNUM AL_StopDevice(LHLD lhld); Visual Basic for
Chapter 15 Logical Device Cycle Modes 14-114. LOGICAL DEVICE CYCLE MODES The Cycle Mode setting specifies the duration of the acquisition as eith
Chapter 15 Logical Device Cycle Modes 14-2 14.2 AL_GetCycleMode Prototype C\C++ ERRNUM AL_GetCycleMode(LHLD lhld, LPSTR lpstrMode, long lMaxLen
Chapter 16 Logical Device Transfer Methods 15-115. LOGICAL DEVICE TRANSFER METHODS Depending on the acquisition needs, the device may be controll
Contents iv 19.1 AL_SetTriggerMode ... 19-1 19.2 AL_SetT
Chapter 16 Logical Device Transfer Methods 15-2 15.2 AL_GetDataTransferMethod Prototype C\C++ ERRNUM AL_GetDataTransferMethod(LHLD lhld, LPS
Chapter 17 Logical Device Status Information 16-116. LOGICAL DEVICE STATUS INFORMATION The Device Status provides the current running condition o
Chapter 17 Logical Device Status Information 16-2
Chapter 18 Analog Output 17-117. ANALOG OUTPUT The Analog Output function immediately sets the specified DtoA channel to specified voltage. This i
Chapter 18 Analog Output 17-2
Chapter 19 Digital Input/Output 18-118. DIGITAL INPUT/OUTPUT The Digital Input/Output functions immediately reads or writes the specified Digital
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
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);
Chapter 19 Digital Input/Output 18-4
Chapter 20 Triggering Modes 19-119. TRIGGERING MODES Triggering allows the device acquisition to begin at some external event. Typically the devic
Contents v23. CHANNEL SELECTIONS...23-1 23.1 AL_SetChannelList ...
Chapter 20 Triggering Modes 19-2 Pci55xx Series Trigger and Buffer Considerations: Depending on the number of Buffers and Cycle Mode specified
Chapter 20 Triggering Modes 19-319.2 AL_SetTriggerSource Prototype C\C++ ERRNUM AL_SetTriggerSource(LHLD lhld, LPSTR lpstrSource); Visual B
Chapter 20 Triggering Modes 19-4 19.3 AL_SetTrigSourceSignal Prototype C\C++ ERRNUM AL_SetTrigSourceSignal(LHLD lhld, LPSTR lpstrSourceSigna
Chapter 20 Triggering Modes 19-519.4 AL_SetPostSampleCount Prototype C\C++ ERRNUM AL_SetPostSampleCount(LHLD lhld, long lCount); Visual Ba
Chapter 20 Triggering Modes 19-6 19.5 AL_GetTriggerStruct Prototype C\C++ ERRNUM AL_GetTriggerStruct(LHLD lhld, LPTRIG lptrigStruct); Vis
Chapter 20 Triggering Modes 19-719.6 AL_SetTriggerOutput Prototype C\C++ ERRNUM AL_SetTriggerOutput(LHLD lhld, LPSTR lpstrMode); Visual Bas
Chapter 20 Triggering Modes 19-8 19.7 AL_GetTriggerOutput Prototype C\C++ ERRNUM AL_GetTriggerOutput(LHLD lhld, LPSTR lpstrTriggerOutput, long
Chapter 21 Clocking Modes 20-120. CLOCKING MODES Clocking Modes provides either accurate timed device conversions or software-controlled conversio
Chapter 21 Clocking Modes 20-2 20.2 AL_SetClockRate Prototype C\C++ ERRNUM AL_SetClockRate(LHLD lhld, double dRate, long lUnits); Visual
Chapter 21 Clocking Modes 20-320.3 AL_GetActualClkRate Prototype C\C++ (32 bit) ERRNUM AL_GetActualClkRate(LHLD lhld, double *dActualRate);
Contents vi 27.4 AL_CopyBuffer ... 27-4 27.5 AL_
Chapter 21 Clocking Modes 20-4 20.4 AL_MaxClkRate Prototype C\C++ (32 bit) ERRNUM AL_GetMaxClkRate(LHLD lhld, double *dMaxRate); Visua
Chapter 21 Clocking Modes 20-520.5 AL_GetClockStruct Prototype C\C++ ERRNUM AL_GetClockStruct(LHLD lhld, LPCLK lpclkStruct); Visual Basic f
Chapter 21 Clocking Modes 20-6 20.6 AL_SetClockOutput Prototype C\C++ ERRNUM AL_SetClockOutput(LHLD lhld, LPSTR lpstrMode); Visual Basic
Chapter 21 Clocking Modes 20-720.7 AL_GetClockOutput Prototype C\C++ ERRNUM AL_GetClockOutput(LHLD lhld, LPSTR lpstrClockOutput, long lMaxlen)
Chapter 21 Clocking Modes 20-8
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
Chapter 22 Gating Modes 21-2 21.2 AL_SetGateLevel Prototype C\C++ ERRNUM AL_SetGateLevel(LHLD lhld, LPSTR lpstrGateLevel); Visual Basic
Chapter 22 Gating Modes 21-321.3 AL_GetGateStruct Prototype C\C++ ERRNUM AL_GetGateStruct(LHLD lhld, LPGATE lpgateStruct); Visual Basic for
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
Chapter 22 Gating Modes 21-521.5 AL_GetSwGate Prototype C\C++ STATUS AL_GetSwGate(LHLD lhld); Visual Basic for Windows Function AL_GetSwG
Contents vii30. ADLIB ERROR CODES ...30-1 31. BOARD DRIVER ERROR CODES...
Chapter 22 Gating Modes 21-6
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
Chapter 23 Burst Modes 22-2 22.2 AL_SetBurstLength Prototype C\C++ ERRNUM AL_SetBurstLength(LHLD lhld, long lBurstSamples); Visual Basic
Chapter 23 Burst Modes 22-322.3 AL_SetBurstRate Prototype C\C++ ERRNUM AL_SetBurstRate(LHLD lhld, double dRate, long lUnits); Visual Basi
Chapter 23 Burst Modes 22-4 22.4 AL_GetBurstStruct Prototype C\C++ ERRNUM AL_GetBurstStruct(LHLD lhld, LPBURST lpburstStruct); Visual B
Chapter 24 Channel Selections 23-123. CHANNEL SELECTIONS Channel selection allows the random ordering of channels to be programmed into the board
Chapter 24 Channel Selections 23-2 Returns: On success ERRNUM is set to 1 and the information contained in the lpchanlist structure is transferr
Chapter 24 Channel Selections 23-323.2 AL_GetChannelList Prototype C\C++ ERRNUM AL_GetChannelList(LHLD lhld, LPCHANLIST lpchanlist); Visual
Chapter 24 Channel Selections 23-4 Supported Logical Device Subsystems: Pci55xx Series: ADC0
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