6.3 Third party software support
LabVIEW: DAQ-VIEW PnP VI library, consistent with NI DAQ VIs style.
MATLAB: DAQ-MTLBB adapter, supporting Data Acquisition Toolbox.
Agilent VEE: PICS-VEE User Object Library.
ActiveX/DAQBench: A control package for SCADA/HMI.
DAQCreator: Non programming data acquisition software that supports data recording and FFT analysis.
6.4 Basic Programming Process (PCIS-DASK)
#include <Acl_pci.h>
U16 cardNo, existCards;
//Initialization (DASK style)
if (DASK_Initial(&existCards) ! = SUCCESS) return;
cardNo = 0;
//Relay output (low 4 position engagement)
DASK_DO(cardNo, 0x0F);
//Read isolated input
U16 diVal;
DASK_DI(cardNo, &diVal);
Typical application scenarios and troubleshooting
Key points and precautions for wiring in application scenarios
Drive the contact of the AC contactor relay to the contactor coil, and parallel connect the RC absorption circuit at both ends of the coil. The contactor coil is a strong inductive load and must be protected, otherwise the contact life will be greatly reduced
Read button/limit switch DI connected to one end of the switch, IGND connected to the other end (or common ground). If the input line is long (>10m), it is recommended to enable AC filtering or use shielded wire
Extended Multi Output (3 PCI-7251) Flat Cable Connect PCI-7250 to each expansion board, with automatic address allocation for each expansion board, up to 32 outputs and 32 inputs
Check whether the AC proximity switch DI is connected to the output, IGND is connected to the negative power supply, and the jumper is set to AC filtering. Pay attention to whether the switch output is AC or DC. AC filtering will introduce a delay of about 5ms
Possible causes and solutions for the fault phenomenon
The relay does not engage and the control position is not written correctly; Insufficient driving current; Check if the I/O address is correct when the relay coil is open circuited; Measure whether the+5V power supply of the board is normal; Measure the coil resistance with a multimeter (approximately 150 Ω)
Contact adhesion or erosion of inductive loads without protection; Install RC/diode protection when the load current exceeds the limit; Replace with an external relay with a higher rated current
The input status is always 0, and the input voltage is too low; Wiring error; The optocoupler is damaged and the voltage between DI and IGND is measured (≥ 3V is considered high); Check if the public end is connected
The input state jumping signal has jitter or power frequency interference; Improper setting of filter jumper to enable AC filtering; Increase input capacitance; Add debounce delay in software
The system cannot recognize poor contact in the PCI slot of the board; Resource conflict re plugging; Adjust PCI resources in BIOS; Attempt to replace the slot
Invalid expansion board, flat cable not connected or connection sequence incorrect. Confirm cable connection is secure; Connect PCI-7251 in order from near to far
Selection suggestions and upgrade path
Newly installed industrial computer (without PCI slot): Choose LPCIe-7250, PCIe x1 interface, compatible with modern motherboards.
Compact chassis: Choose LPCI-7250 (Low profile) to save space.
High density rack system: Choose cPCI-7252, support 16 inputs, suitable for CompactPCI platform.
More than 8 channels required: Purchase PCI-7250+up to 3 PCI-7251 to achieve 32 outputs and 32 inputs without the need for additional slots.
Driver selection: DAQPilot is recommended for new projects, and PCIS-DASK (compatible with Windows Vista 64 bit) will continue to be used for upgrading old systems.
