logo资料库

凌华PCI-7442说明书.pdf

第1页 / 共470页
第2页 / 共470页
第3页 / 共470页
第4页 / 共470页
第5页 / 共470页
第6页 / 共470页
第7页 / 共470页
第8页 / 共470页
资料共470页,剩余部分请下载后查看
PCIS-DASK
Revision History
Preface
Copyright 2009 ADLINK TECHNOLOGY INC.
Disclaimer
Trademarks
Using this Manual
Conventions
Reference Documentation
Getting Service
Table of Contents
1 Introduction
1.1 Application Building Fundamentals in Windows
Using Microsoft Visual C/C++
Using Microsoft Visual Basic
1.2 Application Building Fundamentals in Linux
1.3 Function Classes
2 Function Reference
2.1 Data Types
2.2 Function Reference
AI_9111_Config
AI_9112_Config
AI_9113_Config
AI_9114_Config
AI_9114_PreTrigConfig
AI_9116_Config
AI_9116_CounterInterval
AI_9118_Config
AI_9221_Config
AI_9221_CounterInterval
AI_9222_Config
AI_9222_CounterInterval
AI_9223_Config
AI_9223_CounterInterval
AI_9524_Config
AI_9524_PollConfig
AI_9524_SetDSP
AI_9812_Config
AI_9812_SetDiv
AI_AsyncCheck
AI_AsyncClear
AI_AsyncDblBufferHalfReady
AI_AsyncDblBufferHandled
AI_AsyncDblBufferMode
AI_AsyncDblBufferOverrun
AI_AsyncDblBufferToFile
AI_AsyncReTrigNextReady
AI_AsyncDblBufferTransfer
AI_ContBufferReset
AI_ContBufferSetup
AI_ContReadChannel
AI_ContReadChannelToFile
AI_ContReadMultiChannels
AI_ContReadMultiChannelsToFile
AI_ContScanChannels
AI_ContScanChannelsToFile
AI_ContStatus
AI_ContVScale
AI_EventCallBack (Win32 Only)
AI_GetView
AI_InitialMemoryAllocated
AI_ReadChannel
AI_ReadChannel32
AI_ReadMultiChannels
AI_ScanReadChannels
AI_ScanReadChannels32
AI_SetTimeOut
AI_VReadChannel
AI_VoltScale
AI_VoltScale32
AO_6202_Config
AO_6308A_Config
AO_6308V_Config
AO_9111_Config
AO_9112_Config
AO_9222_Config
AO_9223_Config
AO_AsyncCheck
AO_AsyncClear
AO_AsyncDblBufferHalfReady
AO_AsyncDblBufferMode
AO_ContBufferCompose
AO_ContBufferReset
AO_ContBufferSetup
AO_ContStatus
AO_ContWriteChannel
AO_ContWriteMultiChannels
AO_EventCallBack (Win32 Only)
AO_InitialMemoryAllocated
AO_SetTimeOut
AO_SimuVWriteChannel
AO_SimuWriteChannel
AO_VoltScale
AO_VWriteChannel
AO_WriteChannel
CTR_8554_CK1_Config
CTR_8554_ClkSrc_Config
CTR_8554_Debounce_Config
CTR_Clear
CTR_Read
CTR_Setup
CTR_Status
CTR_Update
DI_7200_Config
DI_7300A_Config
DI_7300B_Config
DI_7350_Config
DI_7350_ExportSampCLKConfig
DI_7350_ExtSampCLKConfig
DI_7350_SoftTriggerGen
DI_7350_TrigHSConfig
DI_9222_Config
DI_9223_Config
DI_AsyncCheck
DI_AsyncClear
DI_AsyncDblBufferHalfReady
DI_AsyncDblBufferHandled
DI_AsyncDblBufferMode
DI_AsyncDblBufferOverrun
DI_AsyncDblBufferToFile
DI_AsyncDblBufferTransfer
DI_AsyncMultiBuffersHandled
DI_AsyncMultiBufferNextReady
DI_AsyncReTrigNextReady
DI_ContBufferReset
DI_ContBufferSetup
DI_ContMultiBufferSetup
DI_ContMultiBufferStart
DI_ContReadPort
DI_ContReadPortToFile
DI_ContStatus
DI_EventCallBack
DI_GetView
DI_InitialMemoryAllocated
DI_ReadLine
DI_ReadPort
DI_SetTimeOut
DIO_7300SetInterrupt
DIO_7350_AFIConfig
DIO_AUXDI_EventMessage (Win32 only)
DIO_GetCOSLatchData
DIO_GetCOSLatchData32
DIO_GetPMLatchData32
DIO_INT_Event_Message (Win32 Only)
DIO_INT1_EventMessage (Win32 Only)
DIO_INT2_EventMessage (Win32 Only)
DIO_LineConfig
DIO_LinesConfig
DIO_PMConfig
DIO_PMControl
DIO_PortConfig
DIO_SetCOSInterrupt
DIO_SetCOSInterrupt32
DIO_SetDualInterrupt
DIO_T2_EventMessage (Win32 Only)
DIO_VoltLevelConfig
DO_7200_Config
DO_7300A_Config
DO_7300B_Config
DO_7350_Config
DO_7350_ExportSampCLKConfig
DO_7350_ExtSampCLKConfig
DO_7350_SoftTriggerGen
DO_7350_TrigHSConfig
DO_9222_Config
DO_9223_Config
DO_AsyncCheck
DO_AsyncClear
DO_AsyncMultiBufferNextReady
DO_ContBufferReset
DO_ContBufferSetup
DO_ContMultiBufferSetup
DO_ContMultiBufferStart
DO_ContStatus
DO_ContWritePort
DO_EventCallBack (Win32 Only)
DO_GetView
DO_InitialMemoryAllocated
DO_PGStart
DO_PGStop
DO_ReadLine
DO_ReadPort
DO_SetTimeOut
DO_SimuWritePort
DO_WriteExtTrigLine
DO_WriteLine
DO_WritePort
EDO_9111_Config
EMGShutDownControl
EMGShutDownStatus
GCTR_Read
GCTR_Clear
GCTR_Setup
GetActualRate
GetActualRate_9524
GetBaseAddr
GetCardIndexFromID
GetCardType
GetInitPattern
GetLCRAddr
GPTC_9524_PG_Config
GPTC_Clear
GPTC_Control
GPTC_EventSetup
GPTC_EventCallBack (Win32 Only)
GPTC_Read
GPTC_Setup
GPTC_Status
HotResetHoldControl
HotResetHoldStatus
I2C_Control
I2C_Read
I2C_Setup
I2C_Status
I2C_Write
IdentifyLED_Control
PCI9524_Acquire_AD_CalConst
PCI9524_Acquire_DA_CalConst
PCI_DB_Auto_Calibration_ALL
PCI_EEPROM_CAL_Constant_Update
PCI_Load_CAL_Data
PWM_Output
PWM_Stop
Register_Card
Release_Card
SetInitPattern
SPI_Control
SPI_Read
SPI_Setup
SPI_Status
SPI_Write
SSI_SourceClear
SSI_SourceConn
SSI_SourceDisConn
WDT_Control
WDT_Reload
WDT_Setup
WDT_Status
Appendix
Appendix A Status Codes
Appendix B AI Range Codes
Appendix C AI Data Format
Appendix D Data File Format
Header
ChannelRange
ChannelCompensation
Data Block
Appendix E Function Support
Multi-Function DAQ/AI Devices
Load Cell Input Devices
Digitizer Devices
General Purpose/Isolated AO Devices
High Performance AO Devices
Relay Output & Isolated DI Devices
TTL DIO Devices
Isolated DIO/High Density Isolated DIO Devices
High Speed DIO Device
Timer Counter Devices
PCIS-DASK Data Acquisition Software Development Kit For NuDAQ PCI Bus Cards Function Reference Manual Manual Revision: 2.06 Revision Date: November 26, 2009 Part No: 50-11223-2050 Advance Technologies; Automate the World.
PCIS-DASK Function Reference Manual ADLINK Technology, Inc. Copyright 2009 Revision History Revision Release Date Description of Change(s) 2.00 2.01 2.02 2.03 2.04 2.05 2.06 2007/03/06 2007/07/17 2008/04/07 2008/09/17 2009/01/16 2009/06/26 2009/11/26 Document created Initial release Bookmarks added Added support for PCI-9524 and PCI-6202 Added support for PCI-9222 and PCI-9223 Added new features for PCI-9524 Added support for PCIe-7350 Corrected typos, refined some content ii
ADLINK Technology, Inc. Copyright 2009 PCIS-DASK Function Reference Manual Preface Copyright 2009 ADLINK TECHNOLOGY INC. This document contains proprietary information protected by copy- right. All rights are reserved. No part of this manual may be repro- duced by any mechanical, electronic, or other means in any form without prior written permission of the manufacturer. Disclaimer The information in this document is subject to change without prior notice in order to improve reliability, design, and function and does not represent a commitment on the part of the manufacturer. In no event will the manufacturer be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or inability to use the product or documentation, even if advised of the possibility of such damages. Trademarks Linux® is a registered trademark of Linus Torvalds. Borland®, Borland® C, C++ Builder®, and Delphi® are registered trademarks of the Borland Software Corporation. Microsoft®, ActiveX®, Internet Explorer®, Microsoft®.NET, MS-DOS®, Visual Basic®, Visual C#®, Visual C++®, Visual C++®, Visual Studio®, Windows NT®, Windows Vista®, Windows® 95, Windows® 98, Windows® 2000, Windows® CE Windows® XP Embedded, and Windows® XP are registered trademarks of Microsoft Corporation. Product names mentioned herein are used for identification pur- poses only and may be trademarks and/or registered trademarks of their respective companies. Preface iii
PCIS-DASK Function Reference Manual Using this Manual ADLINK Technology, Inc. Copyright 2009 Audience and Scope This manual guides you when using the PCIS-DASK software driver for NuDAQ PCI bus data acquisition cards. This manual also describes how to install and use the PCIS-DASK function library when creating programs for your software applications. Manual Organization This manual is organized as follows: copyright important Preface: Presents notifications, disclaimers, trademarks, and associated information on the proper understanding and usage of this document and its associated product(s). Chapter 1 Introduction: This chapter inductees the PCIS- DASK, the fundamentals of building Windows-based applica- tions, and describes the classes of functions that the PCIS- DASK supports. Chapter 2 Function Reference: This section provides detailed description of each function call that the PCIS-DASK provides. Appendix: This chapter provides references on status codes, AI range codes, AI data format, and function support. iv Preface
ADLINK Technology, Inc. Copyright 2009 PCIS-DASK Function Reference Manual Conventions Take note of the following conventions used throughout this manual to make sure that users perform certain tasks and instructions properly. Additional information, aids, and tips that help users per- form tasks. NOTE: NOTE: Information to prevent minor physical injury, component damage, data loss, and/or program corruption when try- ing to complete a task. CAUTION: Information to prevent serious physical injury, compo- nent damage, data loss, and/or program corruption when trying to complete a specific task. WARNING: Preface v
PCIS-DASK Function Reference Manual ADLINK Technology, Inc. Copyright 2009 Reference Documentation The following list of documents may be used as reference materi- als to support installation, configuration and/or the operation of the PCIS-DASK devices described in this Function Reference Manual. This list is prepared in alphabetical order (by vendor name, then by document title) for clarity. Vendor(s) Title ADLINK Technology, Inc. PCIS-DASK User’s Manual: Data Acquisition Software Development Kit for NuDAQ® PCI Bus Cards (Hardware Support) Rev. 2.00 vi Preface
ADLINK Technology, Inc. Copyright 2009 PCIS-DASK Function Reference Manual Getting Service Contact us should you require any service or assistance. ADLINK Technology Inc. Address: 9F, No.166 Jian Yi Road, Chungho City, Taipei County 235, Taiwan 166 9 +886-2-8226-5877 +886-2-8226-5717 Tel: Fax: Email: service@adlinktech.com Ampro ADLINK Technology Inc. Address: 5215 Hellyer Avenue, #110, San Jose, CA 95138, USA Tel: Toll Free: +1-800-966-5200 (USA only) +1-408-360-0222 Fax: Email: info@adlinktech.com ADLINK Technology Beijing Address: 1 E 801 +1-408-360-0200 (100085) Rm. 801, Power Creative E, No. 1, B/D Shang Di East Rd., Beijing 100085, China +86-10-5885-8666 +86-10-5885-8625 Tel: Fax: Email: market@adlinktech.com ADLINK Technology Shanghai Address: 333 39 4 (200233) +86-21-6495-5210 +86-21-5450-0414 Tel: Fax: Email: market@adlinktech.com ADLINK Technology Shenzhen Address: A1 2 C (518057) 2F, C Block, Bld. A1, Cyber-Tech Zone, Gao Xin Ave. Sec 7, High-Tech Industrial Park S., Shenzhen, 518054 China +86-755-2643-4858 +86-755-2664-6353 Tel: Fax: Email: market@adlinktech.com Preface vii
PCIS-DASK Function Reference Manual ADLINK Technology, Inc. Copyright 2009   HPHD#DGOLQNWHFKFRP       IUDQFH#DGOLQNWHFKFRP ADLINK Technology Inc. (German Liaison Office) $GGUHVV 1RUG&DUUHH'XHVVHOGRUI*HUPDQ\ 7HO )D[ (PDLO  ADLINK (French Liaison Office) $GGUHVV UXH(PLOH%DXGRW0$66<&HGH[)UDQFH 7HO  )D[  (PDLO  ADLINK Technology Japan Corporation $GGUHVV   ) $VDKLVHLPHL+DWDJD\D%OGJ)  +DWDJD\D6KLEX\DNX7RN\R-DSDQ   MDSDQ#DGOLQNWHFKFRP 7HO )D[ (PDLO  ADLINK Technology Inc. (Korean Liaison Office) $GGUHVV     %'  )+DQGR%'6HRFKR'RQJ 6HRFKR*X6HRXO.RUHD   NRUHD#DGOLQNWHFKFRP 7HO )D[ (PDLO ADLINK Technology Singapore Pte Ltd. $GGUHVV *HQWLQJ/DQH$&LW\QHRQ'HVLJQ&HQWUH 6LQJDSRUH   VLQJDSRUH#DGOLQNWHFKFRP 7HO )D[ (PDLO  ADLINK Technology Singapore Pte Ltd. (Indian Liaison Office $GGUHVV 1R$QXSDPD6UL$XURELQGR0DUJWK&URVV O  , GL -3 1 3K , % viii Preface
分享到:
收藏