- Computers & electronics
- Computer components
- System components
- Server/workstation motherboards
- HP (Hewlett-Packard)
- PCI-9111DG/HR
- User's Guide
_9111_AD_FFHF_INT_Start. HP (Hewlett-Packard) NuDAQ PCI-9111HR, PCI-9111DG/HR
Add to My manuals83 Pages
advertisement
Visual Basic (Windows 95)
W_9111_AD_INT_Start (ByVal cardNo As Integer, ByVal auto_scan
As Integer, ByVal ad_ch_no As Integer, ByVal ad_gain As Integer,
ByVal count As Integer, ad_buffer As Integer, ByVal c1 As
Integer, ByVal c2 As Integer) As Integer
@ Argument cardNo: the card number of PCI-9111 card initialized.
auto_scan: 0: autoscan is disabled.
1: autoscan is enabled. ad_ch_no: A/D channel number.
If the auto_scan is set as enable, the selection sequence of A/D channel is: 0, 1, 2, 3, ... , [ad_ch_no], 0, ad_gain:
1, 2, 3, ... , [ad_ch_no], ... .
If the auto_scan is set as disable, only the data input from [ad_ch_no] is converted.
A/D analog input range, the possible values are:
AD_B_10_V, AD_B_5_V, AD_B_2_5_V,
AD_B_1_25_V, AD_B_0_625_V, count: the number of A/D convertion ad_buffer: the start address of the memory buffer t store the AD data, the buffer size must large than the number of AD conversion. c1: c2: the frequency devider of Timer#1. the frequency devider of Timer#2.
@ Return Code
ERR_InvalidADChannel
ERR_AD_InvalidGain
ERR_InvalidTimerValue
ERR_NoError
5.40 _9111_AD_FFHF_INT_Start
@ Description
This function is used to initialize and start up AD FIFO Half Full Interrupt
Transfer mode. This function could perform A/D conversion N times by using pacer trigger and perform data transfer by using AD FIFO Half Full
Interrupt Transfer. It takes place in the background and will not stop until the N blocks of conversion has been completed or your program execute
_9111_AD_INT_Stop() function to stop the process. After executing this function, it is necessary to check the status of the operation by using the
60 • C/C++ Library
function _9111_AD_FFHF_INT_Status(). While all the specified blocks of data are acquired, the interrupt status will be changed to
“AD_FFHF_BLOCK_FULL”. The function can perform on single A/D channel (autoscan is disable) or multiple A/D channels (autoscan is enable) with fixed analog input range.
@ Syntax
C/C++ (DOS)
U16 _9111_AD_FFHF_INT_Start (U16 cardNo, U16 auto_scan, U16 ad_ch_no, U16 ad_gain, U16 blockNo, I16 far *ad_buffer, U16 c1,
U16 c2)
C/C++ (Windows 95)
U16 W_9111_AD_FFHF_INT_Start (U16 cardNo, U16 auto_scan, U16 ad_ch_no, U16 ad_gain, U16 blockNo, I16 far *ad_buffer, U16 c1,
U16 c2)
Visual Basic (Windows 95)
W_9111_AD_FFHF_INT_Start (ByVal cardNo As Integer, ByVal auto_scan As Integer, ByVal ad_ch_no As Integer, ByVal ad_gain
As Integer, ByVal blockNo As Integer, ad_buffer As Integer,
ByVal c1 As Integer, ByVal c2 As Integer) As Integer
@ Argument cardNo: the card number of PCI-9111 card initialized.
auto_scan: 0: autoscan is disabled.
1: autoscan is enabled. ad_ch_no: A/D channel number.
If the auto_scan is set as enable, the selection sequence of A/D channel is: 0, 1, 2, 3, ... , [ad_ch_no], 0,
1, 2, 3, ... , [ad_ch_no], ... .
If the auto_scan is set as disable, only the data input ad_gain: from [ad_ch_no] is converted.
A/D analog input range, the possible values are:
AD_B_10_V, AD_B_5_V, AD_B_2_5_V,
AD_B_1_25_V, AD_B_0_625_V, blockNo: the number of blocks for performing A/D convertion, one block of A/D conversion is 512. ad_buffer: the start address of the memory buffer to store the AD data, the buffer size must large than the number of AD c1: c2: conversion (blockNo*512). the frequency devider of Timer#1. the frequency devider of Timer#2.
@ Return Code
ERR_InvalidADChannel
ERR_InvalidTimerValue
ERR_AD_InvalidGain
ERR_NoError
C/C++ Library • 61
advertisement
Related manuals
advertisement
Table of contents
- 11 Features
- 12 Applications
- 12 Specifications
- 14 Software Supporting
- 14 Programming Library
- 15 Driver
- 15 PCIS-VEE: HP-VEE Driver
- 15 : ActiveX Controls
- 15 driver
- 16 Driver
- 16 PCIS-OPC: OPC Server
- 17 What You Have
- 17 Unpacking
- 18 PCI-9111's Layout
- 19 Jumper Descriptions
- 19 Hardware Installation Outline
- 20 Device Installation for Windows Systems
- 20 Connectors Pin Assignment
- 22 Daughter Board Connection
- 22 Connect with ACLD
- 22 Connect with ACLD-9138 and ACLD
- 23 PCI PnP Registers
- 24 I/O Address Map
- 24 A/D Data Registers
- 25 A/D Channel Control Register
- 26 A/D Channel Read Back Register
- 26 A/D Input Signal Range Control Register
- 27 A/D Range and Status Readback Register
- 27 A/D Trigger Mode Control Register
- 28 Software Trigger Register
- 28 Interrupt Control Register
- 29 Hardware Interrupt Clear Register
- 29 A/D Mode & Interrupt Control Read Back Register
- 30 Extended I/O Ports
- 30 Digital I/O register
- 31 D/A Output Register
- 31 Timer/Counter Register
- 32 A/D Conversion
- 33 A/D Conversion Procedure
- 33 A/D Signal Source Control
- 35 A/D Trigger Source Control
- 36 A/D Data Transfer Modes
- 38 Pre-Trigger Control
- 40 A/D Data Format
- 41 Interrupt Control
- 41 System Architecture
- 41 IRQ Level Setting
- 41 Dual Interrupt System
- 42 Interrupt Source Control
- 42 Extended Digital I/O Port
- 43 D/A Conversion
- 44 Digital Input and Output
- 44 Timer/Counter Operation
- 44 Introduction
- 45 Pacer Trigger Source
- 45 Pre-Trigger Counter
- 45 I/O Address
- 46 Libraries Installation
- 47 Programming Guide
- 47 Naming Convention
- 47 Data Types
- 48 _9111_Initial
- 48 _9111_DO
- 49 _9111_DO_Channel
- 49 _9111_DI
- 50 _9111_DI_Channel
- 50 _9111_EDI
- 51 _9111_EDO
- 51 _9111_EDO_Read_Back
- 52 _9111_Set_EDO_Function
- 53 _9111_DA
- 53 _9111_AD_Read_Data
- 54 _9111_AD_Read_Data_Repeat
- 54 _9111_AD_Set_Channel
- 55 _9111_AD_Get_Channel
- 56 _9111_AD_Set_Range
- 57 _9111_AD_Get_Range
- 57 _9111_AD_Get_Status
- 58 _9111_AD_Set_Mode
- 59 _9111_AD_Get_Mode
- 59 _9111_INT_Set_Reg
- 60 _9111_INT_Get_Reg
- 60 _9111_Reset_FIFO
- 61 _9111_AD_Soft_Trigger
- 61 _9111_Set
- 62 _9111_Get
- 62 _9111_AD_Timer
- 63 _9111_Counter_Start
- 63 _9111_Counter_Read
- 64 _9111_Counter_Stop
- 65 _9111_INT_Source_Control
- 66 _9111_CLR_IRQ
- 66 _9111_Get_IRQ_Channel
- 67 _9111_Get_IRQ_Status
- 67 _9111_AD_FFHF_Polling
- 68 _9111_AD_Aquire
- 68 _9111_AD_HR_Aquire
- 69 _9111_AD_INT_Start
- 70 _9111_AD_FFHF_INT_Start
- 72 _9111_AD_INT_Status
- 72 _9111_AD_FFHF_INT_Status
- 73 _9111_AD_FFHF_INT_Restart
- 74 _9111_AD_INT_Stop
- 75 What do you need
- 76 VR Assignment
- 76 A/D Adjustment
- 77 D/A Adjustment
- 77 Unipolar Analog Output
- 77 Bipolar Analog Output
- 78 9111util
- 78 Running 9111util.exe
- 79 System Configuration
- 80 Calibration
- 81 Functional Testing
- 82 I_EEPROM