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 | 305 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.

  • SIGMATEK ICA111 Module
  • SIGMATEK MDD 121-1 Drive Axis Module
  • SIGMATEK M5V121 12-300-121 Krauss Maffei M5 Display Unit
  • SIGMATEK CTMS 020 CD Technology Module 12-250-011
  • SIGMATEK PCT122 Touch Panel
  • Stöger MCS4100 SIGMATEK Control Module
  • SIGMATEK Krauss Maffei M5 Keyboard Unit M5K902 12-310-902
  • SIGMATEK SD310-2 Servo Drive Module
  • SIGMATEK CM5V020 CD Wiring Circuit Module
  • SIGMATEK ENGEL Robot Drive M3 02220-8748
  • Sigmatek CFF011 Drive Module
  • Sigmatek DCP642 DIAS Central Unit
  • Sigmatek SDM081 S-DIAS Safety Module
  • Sigmatek C-IPC 01-450-024 Industrial PC
  • Sigmatek Kompakt NC4 Control Module
  • Sigmatek VI021 VARAN Interface Module
  • Sigmatek Engel RD-M6-2 Robot Drive
  • Sigmatek CNC031 Positioning Module
  • Sigmatek TO161 Digital Output Module
  • Sigmatek CCL912 CPU PSU Module
  • Sigmatek ETV0821 Operator Terminal
  • SIGMATEK ET 261 Operator Terminal
  • SIGMATEK CP731-K Control Module 20-004-731-K
  • SIGMATEK ETEK Motherboard 12-250-021-K CM5V020
  • Sigmatek DEZ 181 DIAS Input Output Module
  • Sigmatek IPC111-D Industrial PC
  • SIGMATEK AKM54L-ANC2GBB0 Servomotor with Gearhead
  • SIGMATEK CTMS020 CM5V020 CNC Controller
  • DEMAG ERGOTECH 061 381 66 Sigmatek Control Unit
  • Sigmatek DAI 883 Module
  • Sigmatek ETV1521 Control Panel Installation Terminal
  • Sigmatek 9802.289.01 Board Control TA71 Display
  • Wittmann Sigmatek EU-252 proDrive W4 Servo Drive
  • Sigmatek CDM166 C-DIAS Module
  • Sigmatek DCP082 DIAS Central Unit
  • Sigmatek CCP081 C-DIAS Processor Module
  • Sigmatek MD111-1 Drive Module
  • Sigmatek ETV0821 Operator Terminal
  • Sigmatek ISE021 Interface Module
  • Sigmatek DCC080L Slide Control Module
  • Sigmatek AI075 Analog Input Module
  • SIGMATEK TO161 20-007-161 Module
  • SIGMATEK CIC011 Module
  • SIGMATEK AE0000318502 Hand Terminal Pendant
  • Sigmatek Krauss Maffei PC323-K Control Unit
  • Sigmatek Krauss Maffei PC321-K Control Cabinet PC
  • SIGMATEK CIV521 Control Module
  • SIGMATEK C-IPC-171 Industrial PC
  • SIGMATEK MDP101-L DIAS Drive Network Module
  • Sigmatek Krauss Maffei PC323-K Control Cabinet PC
  • SIGMATEK CRCH081 C-SLIDES Temperature Module
  • Sigmatek PC301-E6 Industrial PC SSD
  • Sigmatek SDI101 S-SLIDES Safety Input Module
  • Sigmatek CIV521 VARAN Control Module
  • Kollmorgen Sigmatek AKM42G-ANCNGBB0 Servo Motor
  • Sigmatek PC 521 Process Controller
  • Sigmatek Geode LX800 12-780-012 Industrial PC
  • Sigmatek STO081 S-DIAS Safety Output Module
  • Sigmatek SCP111 S-DIAS Safety CPU Module
  • Sigmatek CDI161 Industrial I O Module
  • Sigmatek Wiring Board V2 DIAS 05-250-023
  • Sigmatek CP102 20-004-102 S-DIAS CPU Module
  • SIGMATEK SLIDES CNC 115 Module
  • SIGMATEK DCC080 05-700-080-2 Control Module
  • SIGMATEK MDD 121 Drive Axis Module
  • SIGMATEK CIO011 C-DIAS Multi I/O Module
  • SIGMATEK CIV512 Servo Drive
  • SIGMATEK CM5V020 12-250-021-K Wiring Module
  • SIGMATEK CIO011 12-013-011 Multi I/O Module
  • SIGMATEK 01-450-031 C-IPC Industrial Computer
  • SIGMATEK AKM24D-ANBNGBB0 Servo Motor
  • DEMAG NC4 LP0001289.03 Control Module
  • Sigmatek ETEK Industrial PC C-IPC with Option Module
  • Sigmatek AO081 20-010-081 Analog Output Module
  • Sigmatek CNC 031 Positioning Module
  • Sigmatek CP731-K 20-004-731-K CPU Module
  • Sigmatek MDD 3320-JR-A Drive Module
  • Sigmatek PM Servo Motor AKM52K-ANC2GBB0
  • Sigmatek MDP 101 09-403-101 Power Module
  • Sigmatek S-SLIDES AO046 Analog Output Module
  • Sigmatek ICA111 20-102-111 Interface Module
  • SIGMATEK DCP646 Module 05-004-646
  • SIGMATEK SDI101 Digital Input Module 20-891-101
  • SIGMATEK S3330-2 Directional Gyro Altitude Instrument
  • SIGMATEK MDP102-1 Controller
  • SIGMATEK SMT 01-230-321 Touch Screen
  • SIGMATEK Krauss Maffei PC301-K 01-310-301-K Industrial PC with 8GB SSD
  • SIGMATEK ETT731 01-230-731 Built-in Touch Terminal
  • SIGMATEK CIV521 Control Module
  • SIGMATEK DME 128 Module 05-005-128
  • SIGMATEK SCP111-S 20-890-111-S S-DIAS Safety CPU Module
  • Sigmatek SCP111 S-DIAS Safety CPU
  • Sigmatek CRIF081 Interface Module
  • Sigmatek CP112-1 S-DIAS CPU Module
  • Sigmatek MDD121-L DIAS Drive Axis Module
  • Sigmatek C-IPC 01-450-024 Industrial PC
  • Sigmatek SDD215-23 SLIDES Drive
  • Sigmatek DPS001 DIAS System Components
  • Sigma-Tek 4000B-30 Directional Gyro
  • Sigmatek SDD340-46 SDD Series Drive
  • Sigmatek CEZ221 Euromap67 I O Module
  • SIGMATEK VI021 Interface Module
  • SIGMATEK CP731-K Control Module
  • SIGMATEK Krauss Maffei PC321-K Industrial PC
  • SIGMATEK ET322 Operator Terminal
  • SIGMATEK CP102 Control Module 24VDC
  • SIGMATEK SRO021 Relay Output Module
  • SIGMATEK DCP640 DIAS Central Unit
  • SIGMATEK MDD 121 Drive Axis Module
  • SIGMATEK AI043 Analog Input Module
  • ENOTEC OXITEC 5000 SME-53310000 Oxygen Analyzer
  • SIGMATEK Krauss Maffei PC301-K 01-310-301-K Industrial PC
  • SIGMATEK SDD310-23 VARAN Servo Drive
  • SIGMATEK CDM 163 and CIC 011 C-DIAS Input Modules
  • SIGMATEK MDP 101-1 Power Module
  • SIGMATEK CM5V020 Wiring Circuit with CTMS020
  • SIGMATEK CCP521 C-DIAS Processor Module
  • SIGMATEK MDP 101-K Power Module
  • SIGMATEK ETEK C-IPC 733MHz VIA Eden 7000
  • SIGMATEK DCP 643 DIAS PLC CPU Module
  • SIGMATEK TAE121 12-200-121 Operator Terminal
  • Sigmatek TMS012-T Injection Moulding Technology Module
  • Sigmatek MDD 121-1 Controller
  • Sigmatek CDM167 Module
  • Sigmatek DCP082 DIAS Central Unit
  • Sigmatek ETT731 Built-In Terminal Touch
  • Sigmatek CCP521 C-DIAS Processor Module
  • Sigmatek Krauss Maffei PC301-K Control Cabinet PC