Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

ADLINK PCI-9118 series high-speed DAQ card selection and DMA configuration

F: | Au:FANS | DA:2026-08-06 | 52 Br: | 🔊 点击朗读正文 ❚❚ | Share:

5.2 Three data reading methods

Polling: Software loops to check the FIFO status and read data, suitable for low-speed or simple applications, but with high CPU usage.

Interrupt: When the FIFO is half full or a single conversion is completed, an interrupt is triggered and the ISR reads the data. More efficient than polling, but the interrupt frequency may be too high at high rates.

Bus Master DMA (recommended): PCI-9118 adopts Bus Master DMA, and data is directly written into the host memory through the PCI bus without CPU intervention. With the design of "seamless continuous transmission", even under the Windows operating system, it can ensure long-term high-speed data collection without losing points. DMA mode is particularly suitable for applications that require continuous recording of large amounts of data, such as recording vibration signals for several hours.

DMA activation steps:

Configure channel gain queue.

Set the sampling rate (triggered by Pacer).

Allocate user memory buffer and initiate DMA transfer.

The software only needs to wait for DMA completion or use circular buffering to distinguish batch reads.


Analog Output (DAC)

PCI-9118 provides 2-channel 12 bit analog output with a fixed output range of ± 10V, a driving capability of ± 5mA, and a setup time of 4.5 μ s to 0.5LSB. Can be used for outputting control signals, waveform generation, or as an excitation source. The output is directly written to the DAC register through programming I/O, without the need for DMA.

Application scenario: Output control voltage drives proportional valves in closed-loop control; Or output analog signals in sensor simulation.


Digital I/O and Timer

TTL digital I/O: 4-channel input and 4-channel output, compatible with 5V/TTL, used for simple status monitoring or control (such as reading trigger signals, lighting LEDs).

External trigger input (EXTTRG) and trigger output (TGOUT) * *: are respectively the external trigger source input and the acquisition start indication output, which can be used for synchronization with other devices.


Software support and driver ecosystem

The PCI-9118 series provides comprehensive driver support:

PCIS-DASK (Windows 2000/NT/XP/9x): Includes DLL and sample code, supports VB/VC+/Delphi/BCB.

PCIS-DASK/X (Red Hat Linux): Shared library, supports GNU C/C++.

LabVIEW: Provides VI through PCIS-LVIEW/PnP and seamlessly integrates with NI LabVIEW.

ActiveX Control (PCIS-OCX): Suitable for rapid development.

DAQBench: Provides advanced analysis controls.

Development suggestion: For continuous high-speed data acquisition, prioritize using DMA API (such as _9118A_DMA_Start) and cooperate with double buffer loop reading to ensure that data is not lost.


Typical application cases

Case 1: Vibration Monitoring of Rotating Machinery

Use PCI-9118DG to collect 4-channel accelerometer signals at a sampling rate of 333kS/s, with a gain of x2 (± 2.5V) for each channel. Using DMA to directly write data streams to the hard drive, achieving continuous 24-hour monitoring. Connect the external trigger signal to the key phase sensor to achieve order tracking.

Case 2: Multi type sensor data acquisition

In a test bench, simultaneously connect thermocouples (± 10mV), pressure sensors (0-5V), and displacement sensors (± 10V). Using a 256 level channel gain queue, set HG version gain to 100 and DG version gain to 1 and 2 respectively. All signals can be obtained in a single scan without switching gains.

Case 3: High precision DC measurement

Use PCI-9118HR to collect 16 bit resolution bridge weighing sensor output (0-10V) at a sampling rate of 100kS/s. Single pole mode with x1 gain is used to achieve microvolt level resolution for accurate recording of force values in material testing machines.


Calibration and Accuracy Verification

The calibration of PCI-9118 is carried out through a software utility tool (such as 9118Cal), which requires an external high-precision voltage source and a multimeter. Mainly adjust A/D offset and gain error. The accuracy given in the specification sheet (such as 0.008% FSR ± 1LSB) is a typical factory value, and it is recommended to calibrate it once a year to maintain performance.

Simple self-test: Connect AGND at the channel input and read data close to 0 (bipolar) or midpoint of range (unipolar). If the deviation is too large, software offset compensation can be performed.


Common troubleshooting

A/D data is all zero or saturated: check whether the channel gain queue configuration is correct and whether the input signal exceeds the range; Confirm that the trigger source has been started (software triggering requires calling a function).

DMA transfer failed: Confirm that PCI-9118 has been inserted into the PCI slot that supports bus master control (some old motherboards require driver updates); Is the allocated memory buffer page aligned; Check the completion status of DMA transfer.

The sampling rate cannot reach the nominal value: confirm that the timer frequency division setting is correct and the external trigger frequency has not exceeded the limit; Other high load tasks on the Windows system may affect DMA response and can increase process priority.

  • ABACO VMIC VMICBL-000-F3-102 Reflective Memory Cable
  • VMIC 332-000131-B VMIVME PCB Card
  • VMIC 320-250236 with VMIVME-7588 Processor Board
  • VMIC ASSY 12149 Module
  • FANUC VMIC VMIVME5010 I/O PCB Board
  • VMIC VMIVME-7698-345 VME Single Board Computer
  • IS215UCVEH2A VME Controller Card
  • VMIC VMIVME-7658-330 VME Single Board Computer
  • VMIC VMIPCI-5790-000 Dual-Channel Ultra160 SCSI Adapter
  • VMIC VMICPCI-7756-460 Single Board Computer
  • VMIVME-4920 Dual Channel Digital Converter Board – VMEbus
  • GE Fanuc VMIVME-4140 VMEbus Module
  • VMIC VMIPMC-7440 PMC Sound Card
  • VMIC PCI 4320 VMEbus Board-333-854320-000
  • VMIC VMIVME 5530S VMEbus Interface Module
  • FANUC 332-999995-000 VMEbus PCB Assembly
  • FANUC VMIVME-4116-030 VMEbus Module
  • VMIC VMIVME-7658-330 VMEbus Single Board Computer
  • VMIC VME-2532A VMIVME2532A-413 Digital I/O Board
  • VMIC VMIVME-7696-650 VMEbus Processor Board
  • VMIC VMIVME-7487A Mainframe Board
  • GE Fanuc VMIVME-2120-175 Digital Output Board
  • Abaco VMIVME-4125A-000 System Test Calibration Board
  • VMIC VMICPCI-5579 Reflective Memory PCI Board
  • FANUC A860-2000-X003 Encoder Interface Module
  • FANUC 332-999992-000 VME Module
  • VMIC VMIVME-7698 VME Module
  • FANUC A860-2000-X003 Encoder Interface Module
  • VMIC 333-657755-000 B LSC-3 4201 Board
  • VMIVME-9304 CPU Board with NEC FGA-002A Interface Chip
  • VMIC VMIVME-7805 VMEbus Board – VMIVME-7805-234001
  • VMIC 332-000131-000M01 VMIVME PCB Card
  • FANUC GE VMIC VMIVME 2510B Digital I/O Board
  • VMIC VMIPMC-5795-000 PMC Ultra160 SCSI Adapter
  • GE Fanuc VMIVME 5588 High-Speed Reflective Memory Board
  • VMIC VMIVME 4132 VMEbus Analog Output Board
  • VMIC VMIVME-3418 8-Channel Strain Gauge and RTD Board
  • VMIC VMIPMC-5797-000 Ultra320 SCSI Host Bus Adapter
  • VMIC VMIACC 0562 Accessory Module
  • Abaco VMIVME 4116 8-Channel 16-Bit Analog Output Board
  • VMIC VMIVME 4512 Analog I/O Board – 332-004512-300
  • VMIC VMIVME 4120 VMEbus Circuit Board – 332-004120
  • VMIC VMIVME-3801-100C Analog-to-Digital Converter Module
  • IS215UCVEH2AE VME Controller Card
  • FANUC 333-00DMA0-000 VME Module
  • GE Fanuc VMIVME-5588-200 High-Speed Reflective Memory Card
  • VMIC VMIVME-7696-650 VMEbus Single-Board Computer
  • GE Fanuc VMIVME-5532S VMEbus Fiber-Optic Repeater Link
  • VMIC GE EV-DIO-01 Control Board
  • Abaco VMIVME-7751 Pentium III VME Single Board Computer
  • PMC-5565PIORC-110000 128MB Reflective Memory Card
  • Abaco VMIVME-5565-010000 Reflective Memory Board
  • VMIC VMIPMC-5565 Reflective Memory PMC Module
  • VMIC VMIVME 5504 Slave VME Module
  • VMIC VMIVME-5740-12000 VMEbus Hard Drive Module
  • VMIC VMIVME-7751 VMEbus Processor Module
  • VMIC VMIVME-7588 CPU Module
  • VMIC 332-000132 VMIVME PCB Card
  • GE Fanuc VMIVME-4514A Analog I/O Board
  • Abaco VMIVME-2528-000 128-Bit TTL Digital I/O
  • VMIC VMIVME 4514 Scanning Analog I/O Board
  • VMIPCI 5588-101 High Speed Fiber Optic Reflective Memory Card
  • VMIC VMIVME-1228 VMEbus Board
  • VMIC VMIVME-7455 CD-ROM Drive Module
  • VMIC VMIACC 0577 Compact PCI Board
  • IS415UCVGH1A VME Controller Card
  • VMICPMC-5664 VME PMC Dual Fiber Card
  • VMIVME1128 128-Bit High-Voltage Digital Output Board
  • VMIC VMIVME-2170A VMEbus PCB Board
  • VMIC 332-015565-010L VME Module
  • VMIC VMICPCI-7612-470 Single Board Computer
  • VMIC EV-CNT/01 Control Board
  • VMIC VMIVME 1181 VMEbus Input Board – 333-001181-000 A
  • VMIC VMIVME-1150 VMEbus Module
  • VMIC VMIVME-5576 VMEbus Module
  • VMIC VMIVME-4150 VMEbus Module
  • VMIC VMIOMAX-8001B PLC Rack
  • VMIC VMIVME 2128 High-Voltage Digital Output Board
  • VMIC VMIVME-1111 64-Bit High-Voltage Digital Input Board
  • GE Fanuc VMIVME 1182 VMEbus Input Board – 332-011182-060C
  • VMIC VMIVME-7696 VMEbus PC Board
  • VMIC VMIVME-7686 VMEbus Module
  • GE VMIVME-7486 VME PCB Board
  • VMIC VMIVME-7740-840 Processor Module
  • VMIC VMIACC BT01 REV 0 Transition Board
  • Abaco VMIPCI-5576-001 Fiber-Optic Reflective Memory Card
  • GE IS215UCVGH1A VME Controller Card
  • VMIVME 7671-421000 VME Module
  • VMIC FLKMD37SUBS Module
  • VMIC VMICPCI-7611-465 Single Board Computer
  • GE VMIC VMIPMC-6003 PMC Module – 302-000227-000
  • VMIC VMIVME 1330 VMEbus Circuit Board
  • GE Fanuc VMIVME 1182 VMEbus Input Board – 332-011182-001A
  • VMIVME-2534-111D 32-Bit High-Voltage Digital I/O – VMEbus
  • VMIC PCI-5565 Reflective Memory Card
  • VMIC VMIVME 6015 VMEbus Serial Interface Board
  • VMIC 320-250236 VMIVME 7588 VME Bus Assembly
  • VMIC VMIVME-7750-734000 VMEbus Module
  • GE Fanuc VMIVME-7750 VMEbus Input Board
  • VMIC VMIVME 4132 32-Channel Analog Output Board
  • VMIC VME-3418 Analog Input Module
  • VMIC VMIOMAX-8005A PLC Rack
  • GE PCI-5565 Reflective Memory Card
  • VMIC VMIVME-7750-3144702-09 CPU Module
  • Abaco VMIC VMIVME-5620 VME Module
  • VMIC VMIVME-2536 Digital I/O Board
  • Abaco VMIVME-7851-230100 VME Single Board Computer
  • VMIC 7487A CPU Board
  • VMIC 322-000228-137A VMIACC-BT09-137 Adapter Module
  • VMIC VMEbus 3230 Thermocouple Card
  • Abaco VMIVME-7455 VMEbus IDE CD-ROM Drive Module
  • VMIC VMIATX 5553 ATX Power Supply Module
  • VMIC VMIVME 1111 VMEbus Assembly – 332-001111-010D
  • Abaco VMIVME 7450 VMEbus Circuit Board with Floppy Drive
  • GE Fanuc VMIVME-4140-011 32-Channel Analog Output Board
  • VMIC VMIVME-2528-000 Digital I/O Board
  • VMIC VMIVME-7459 VMEbus Module
  • VMIC VMIVME 7452 VMEbus PCB Board
  • VMIC VMIVME-7750-259000 VMEbus CPU Module
  • VMIC VMIVME-7587 VMEbus Module Circuit Board
  • VMIC VMIVME-1101 VMEbus Circuit Board
  • VMIC 332-000132-B VMEbus PCB Board
  • VMIC VMIVME 2170A VMEbus PCB Board
  • VMIC VMIVME-7651-120000 VMEbus Single Board Computer
  • GE Fanuc VMIC VMIVME 2200 VMEbus Circuit Board
  • Abaco VMIPMC6100 PMC Gigabit Ethernet Adapter
  • FANUC VMIC VME-2528 128-Bit TTL Digital I/O Board
  • VMIC VMIVME 6015 VMEbus Serial Interface Board