ADLINK Technology PCI-7200 Uživatelská příručka

Procházejte online nebo si stáhněte Uživatelská příručka pro Karty / adaptéry rozhraní ADLINK Technology PCI-7200. ADLINK Technology PCI-7200 User`s guide Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - PCIS-DASK

PCIS-DASK Data Acquisition Software Development Kit For NuDAQ PCI-bus Cards, Windows NT/98/2000 User’s Guide

Strany 2

4 ? PCIS-DASK Overview GetActualRate Returns the actual sampling rate the device will perform for the defined sampling rate value. 2.3 Analog Input

Strany 3 - CONTENTS

PCIS-DASK Overview ? 5 AI_ContReadChannel Performs continuous A/D conversions on the specified analog input channel at a rate as close to the rate you

Strany 4

6 ? PCIS-DASK Overview AO_6308A_Config Informs PCIS-DASK library of the current range selected for the analog output operation of PCI6308A. You must

Strany 5 - Contents ? iii

PCIS-DASK Overview ? 7 DI_ReadPort Reads digital data from the specified digital input port. 2.5.3 Continuous Digital Input Functions DI_ContReadPor

Strany 6 - How to Use This Manual

8 ? PCIS-DASK Overview DO_InitialMemoryAllocated Gets the actual size of digital output DMA memory that is available in the device driver. DO_

Strany 7 - Introduction to PCIS-DASK

PCIS-DASK Overview ? 9 CTR_Read Reads the current contents of the selected counter. CTR_Clear Sets the output of the selected counter to the specifi

Strany 8

10 ? PCIS-DASK Overview DIO_T2_EventMessage Controls Timer2 Interrupt and notifies the user’s application when an interrupt event occurs. The notific

Strany 9 - PCIS-DASK Overview

Creating PCIS-DASK Application ? 11 3 Creating PCIS-DASK Application 3.1 Contiguous Memory Allocation in Driver for Continuous Operation The continuo

Strany 10 - 4 ? PCIS-DASK Overview

12 ? Creating PCIS-DASK Application Open a new project by selecting the New Project command from the File menu. If it is an existing project, open i

Strany 11 - PCIS-DASK Overview ? 5

Creating PCIS-DASK Application ? 13 The event code defines the action you want to perform when an event occurs. To write the event code, double-click

Strany 12 - 6 ? PCIS-DASK Overview

@Copyright 1997-2003 ADLink Technology Inc. All Rights Reserved. Manual Rev. 4.01: Mar. 07, 2003 The information in this document is subject to cha

Strany 13 - PCIS-DASK Overview ? 7

14 ? PCIS-DASK Application Hints 4 PCIS-DASK Application Hints This chapter provides the programming schemes showing the function flow of that PCIS-D

Strany 14 - 8 ? PCIS-DASK Overview

PCIS-DASK Application Hints ? 15 4.1 Analog Input Programming Hints PCIS-DASK provides two kinds of analog input operation ? nonbuffered single-poin

Strany 15 - 2.8 DIO Function Group

16 ? PCIS-DASK Application Hints 4.1.1 One-Shot Analog input programming Scheme This section described the function flow typical of non-buffered sing

Strany 16 - DIO_T2_EventMessage

PCIS-DASK Application Hints ? 17 4.1.2 Synchronous Continuous Analog input programming Scheme This section described the function flow typical of sync

Strany 17 - Visual Basic:

18 ? PCIS-DASK Application Hints AI_xxxx_Config(xxxx means the card type,e.g. AI_9112_Config)NoAI_AsyncCheckOperation complete?YesAI_AsyncClearSample

Strany 18

PCIS-DASK Application Hints ? 19 AI_xxxx_Config(xxxx means the card type,e.g. AI_9112_Config)AI_AsyncDblBufferHalfReadyNext half bufferready for trans

Strany 19

20 ? PCIS-DASK Application Hints 4.1.5 Trigger Mode Non-double-buffered Asynchronous Continuous Analog input programming Scheme This section describe

Strany 20 - PCIS-DASK Application Hints

PCIS-DASK Application Hints ? 21 trigger is an event that occurs based on a specified set of conditions. An interrupt mode or DMA-mode Analog input op

Strany 21 - - synchronous continuous AI

22 ? PCIS-DASK Application Hints [Example Code Fragment] card = Register_Card(PCI_9118, card_number); … AI_9118_Config(card,P9118_AI_BiPolar|P9118_A

Strany 22

PCIS-DASK Application Hints ? 23 4.2 Analog Output Programming Hints This section described the function flow typical of single-point analog output c

Strany 23 - =SYNCH_OP

Contents ? i CONTENTS INTRODUCTION TO PCIS-DASK...

Strany 24 - =ASYNCH_OP

24 ? PCIS-DASK Application Hints 4.3 Digital Input Programming Hints PCIS-DASK provides two kinds of digital input operation ? non-buffered single-

Strany 25 - Release_Card(card);

PCIS-DASK Application Hints ? 25 4.3.1 One-Shot Digital input programming Scheme This section described the function flow typical of non-buffered sing

Strany 26 - AI_AsyncClear

26 ? PCIS-DASK Application Hints Release_Card(card);

Strany 27

PCIS-DASK Application Hints ? 27 4.3.3 Non-double-buffered Asynchronous Continuous Digital input programming Scheme This section described the functio

Strany 28 - [Example Code Fragment]

28 ? PCIS-DASK Application Hints DI_xxxx_Config(xxxx means the card type,e.g. DI_7200_Config)DI_ContReadPort/DI_ContReadPortToFileDI_AsyncDblBufferHa

Strany 29 - Another outputting?

PCIS-DASK Application Hints ? 29 DI_xxxx_Config(xxxx means the card type,e.g. DI_7300B_Config)DI_ContMultiBufferStartDI_AsyncMultiBufferNextReadyNext

Strany 30

30 ? PCIS-DASK Application Hints buffered continuous digital output operation and pattern generation. The non-buffered single-point DO uses software

Strany 31 - With SyncMode=SYNCH_OP

PCIS-DASK Application Hints ? 31 4.4.1 One-Shot Digital output programming Scheme This section described the function flow typical of non-buffered sin

Strany 32

32 ? PCIS-DASK Application Hints Release_Card(card);

Strany 33 - Operation complete?

PCIS-DASK Application Hints ? 33 4.4.3 Asynchronous Continuous Digital output programming Scheme This section described the function flow typical of a

Strany 34 - With Enable=TRUE

ii ? Contents 3.2.1 Creating a Windows NT/98/2000 PCIS-DASK Applications Using Microsoft Visual Basic ...11 PCIS-DASK APPLICATIO

Strany 35

34 ? PCIS-DASK Application Hints [Example Code Fragment] card = Register_Card(PCI_7300A_RevB, card_number); … DO_7300B_Config (card, 16, TRIG_INT_P

Strany 36

PCIS-DASK Application Hints ? 35 … // start multi-buffered DO DO_ContMultiBufferStart (card, 0, 1); do { do { DO_Asyn

Strany 37

36 ? PCIS-DASK Application Hints 4.5 DAQ Event Message Programming Hints DAQ Event Message functions are an efficient way to monitor your background

Strany 38

PCIS-DASK Application Hints ? 37 4.6 Interrupt Event Message Programming Hints PCIS-DASK provides two methods to perform interrupt occurrence notific

Strany 39 - DO_PGStop

38 ? PCIS-DASK Application Hints ….. //wait for INT2 event if (WaitForSingleObject(hEvent[1], INFINITE) == WAIT_OBJECT_0) { ResetEvent(hE

Strany 40

Continuous Data Transfer in PCIS-DASK ? 39 5 Continuous Data Transfer in PCIS-DASK The continuous data transfer functions in PCIS-DASK input or output

Strany 41

40 ? Continuous Data Transfer in PCIS-DASK 5.2 Double-Buffered AI/DI Operation PCIS-DASK uses double-buffering techniques in its driver software for

Strany 42

Continuous Data Transfer in PCIS-DASK ? 41 The PCIS-DASK double buffer mode functions were designed according to the principle described above. If you

Strany 43

42 ? Continuous Data Transfer in PCIS-DASK 5.3 Trigger Mode Data Acquisition for Analog Input A trigger is an event that occurs based on a specified

Strany 44 - //wait for INT2 event

PCIS-DASK Utilities ? 43 6 PCIS-DASK Utilities This chapter introduces the tools that accompanied with the PCIS-DASK package. 6.1 NuDAQ Registry/Conf

Strany 45

Contents ? iii 7.1.2 Microsoft C/C++ Sample Programs...

Strany 46 - Transfer Buffer

44 ? PCIS-DASK Utilities DMA or Interrupt transfer can be performed. It will induce an unexpected result in that DMA or Interrupt transfer performed

Strany 47

PCIS-DASK Utilities ? 45 Using PciUtil to change the buffer allocated settings of one of the PCIS-DASK drivers, select the driver from the Registere

Strany 48

46 ? PCIS-DASK Utilities [PciUtil in Windows 98] This utility is used to set/modify the allocated buffer sizes of AI, AO, DI and DO. The allocated bu

Strany 49 - PCIS-DASK Utilities

PCIS-DASK Utilities ? 47 [PciUtil in Windows 2000] This utility is used to set/modify the allocated buffer sizes of AI, AO, DI and DO. The allocated b

Strany 50

48 ? PCIS-DASK Utilities 6.2 PCIS-DASK Data File Converter utility (DAQCvt) The data files, generated by the PCIS-DASK functions performing continuo

Strany 51

PCIS-DASK Utilities ? 49 The data in hexadecimal is scaled to engineering unit (voltage, ample, …etc) according to the card type, data width and data

Strany 52

50 ? Sample Programs 7 Sample Programs There are several sample programs provided in this software diskette. They could help you to program your own

Strany 53

Sample Programs ? 51 SDK7230Int D/I, and D/O of PCI-7230/cPCI-7230 by Interrupt Event Status checking and waiting method Visual C/C++ Program SDK

Strany 54

52 ? Sample Programs VB7250 D/I, and D/O of PCI-7250/51 Visual Basic Program PCI-7252 SDK7252 D/I, and D/O of cPCI-7252 Visual C/C++ Progr

Strany 55

Sample Programs ? 53 SDK7300aMBufWav Multiple buffer mode digital input of PCI-7300A_Rev.B/cPCI-7300A_Rev.B through DMA transfer Visual C/C++ Progr

Strany 56 - Sample Programs

4 ? PCIS-DASK Utilities How to Use This Manual This manual is to help you use the PCIS-DASK software driver for NuDAQ PCI-bus data acquisition cards.

Strany 57

54 ? Sample Programs SDK7432DbEvt D/I, and D/O of PCI-7432/cPCI-7432 by Interrupt Event Status checking and waiting method (Dual Interrupt Events)

Strany 58

Sample Programs ? 55 C9111DbfFile 1.Double buffer mode analog input of PCI-9111 through Interrupt operation 2.Storing the data to disk Visual C/C+

Strany 59

56 ? Sample Programs SDK9114DbfInt Double buffer mode analog input of PCI-9114 through Interrupt operation Visual C/C++ sample program C9114Fil

Strany 60

Sample Programs ? 57 SDK9118DbfDma Double buffer mode analog input of PCI-9118 through DMA data transfer Visual C/C++ Program SDK9118HRDbfDma

Strany 61 - PCI-9114

58 ? Sample Programs SDK9812DelayTrg Delay trigger with Single buffer mode analog input of PCI-9812/cPCI-9812 through DMA data transfer Visual C

Strany 62

Sample Programs ? 59 7.1 Sample Programs Development Environment 7.1.1 Visual Basic Sample Programs There are several Visual Basic sample programs p

Strany 63 - PCI-9812

60 ? Sample Programs Figure 7.2 Analog Input (A/D) : This is used to show the results of A/D conversion. You can select the Input channels (allow

Strany 64

Sample Programs ? 61 7.3.2 Data I/O through DMA Data Transfer or Interrupt operation This kind of programs is used to demonstrate how to use PCIS-DASK

Strany 65

62 ? Sample Programs In this kind of programs you can select Input channels, Input range (PCI-7200 does not have these two options), sampling rate, a

Strany 66

Sample Programs ? 63 7.3.3 Double buffer mode data I/O through DMA transfer or Interrupt operation This kind of programs is used to demonstrate how to

Strany 67 - Figure 7.3

Introduction to PCIS-DASK ? 1 1 Introduction to PCIS-DASK 1.1 About the PCIS-DASK Software PCIS-DASK is a software development kit for NuDAQ PCI-bus

Strany 68 - Figure 7.4

64 ? Sample Programs 7.3.4 Trigger Mode Data I/O through DMA Data Transfer or Interrupt operation This kind of programs is used to demonstrate how to

Strany 69

Distribution of Applications ? 65 8 Distribution of Applications 8.1 Files To install an application using PCIS-DASK on another computer, you also mu

Strany 70

66 ? Distribution of Applications third-party tools such as InstallShield. Some programming environments provide simplified or trial versions of thir

Strany 71 - Distribution of Applications

2 ? Introduction to PCIS-DASK 1.2 PCIS-DASK Hardware Support ADLink will periodically upgrade PCIS-DASK for new NuDAQ PCI-bus data acquisition cards

Strany 72 - 8.3 Manual Installation

PCIS-DASK Overview ? 3 2 PCIS-DASK Overview This chapter describes the classes of functions in PCIS-DASK and briefly describes each function. PCIS-DAS

Komentáře k této Příručce

Žádné komentáře