i, Joel
I am leading All NI open source driver development at ITER (International Thermonuclear Experimental Reactor) with supporting of NI R&D team and/or using resource from NI partners.
The DAQ open source driver currently works well with PXIe-6368 board, PXIe-6356 and I have implemented PXIe-6363 support now.
The new open source driver works very well with PXIe-6363 board except three functions (finite sampling, reference trigger, external gate).
The system configuration I have used here is described below.
OS: RHEL 7.3 64 bits
CPU: Industrial computer with PCIe-PXIe extension (NI PXIe-PCIe 8371)
PXI Chassis: PXIe-1065
DAQ board: PXIe-6363
1. Finite test configuration: The test configuration is exactly same as aiex2.cpp example.
* Example Features (! means highlighted, * means default)
* Device
* Operation : voltage measurement
* Channel
* Channels : ai0, ai1, ai2, ai3
* Scaling : Volts (*) or raw ADC codes
* ! Terminal config : RSE (*), differential, non-referenced single-ended
* Input range : +/- 10 V (*), +/- 5 V, +/- 2 V, +/- 1 V,
* +/- 500mV, +/- 200 mV, +/- 100 mV
* Timing
* ! Sample mode : finite
* ! Timing mode : hardware-timed
* ! Clock source : on-board oscillator
* ! Clock rate : 20 kHz sample clock; 200 kHz convert clock (MIO only)
* Trigger
* ! Start trigger : PFI0 (retriggerable digital rising edge)
* Reference trig : none
* Pause trigger : none
* Read Buffer
* Data transfer : programmed IO from FIFO
* Behavior
* Timeout : 10 seconds
*
* External Connections
* ai0:3 : voltages within +/- 10 V (*) or other specified range
* PFI0 : TTL start trigger
*
* Copyright 2011 National Instruments
* License: NATIONAL INSTRUMENTS SOFTWARE LICENSE AGREEMENT
* Refer to "MHDDK License Agreement.pdf" in the root of this distribution.
*
2. reference triggering: The configuration is exactly same as aiex4.cpp
* Example Features (! means highlighted, * means default)
* Device
* Operation : voltage measurement
* Channel
* Channels : ai0
* Scaling : Volts (*) or raw ADC codes
* Terminal config : RSE (*), differential, non-referenced single-ended
* Input range : +/- 10 V (*), +/- 5 V, +/- 2 V, +/- 1 V,
* +/- 500mV, +/- 200 mV, +/- 100 mV
* Timing
* Sample mode : finite
* Timing mode : hardware-timed
* Clock source : on-board oscillator
* Clock rate : 500 Hz
* Clock polarity : rising edge (*) or falling edge
* Trigger
* Start trigger : software
* ! Reference trig : PFI0
* Pause trigger : none
* Read Buffer
* ! Data transfer : scatter-gather DMA ring
* ! DMA buffer : overwrite unread samples
* Behavior
* Timeout : 10 seconds
*
* External Connections
* ai0 : voltage within +/- 10 V (*) or other specified range
* PFI0 : TTL reference trigger
*
* Copyright 2011 National Instruments
* License: NATIONAL INSTRUMENTS SOFTWARE LICENSE AGREEMENT
* Refer to "MHDDK License Agreement.pdf" in the root of this distribution.
*
*/
3. External gate: AI_Trigger_Select_Register (AI_External_Gate_Select bits)
AI_External_Gate_Select register configured (Gate_PFI1, value 2), all PFI ports are configured as INPUT direction.
AI_External_Gate_Polarity configured 0,
I have provided 50% duty cycle at 1Hz on PFI1, configured 16 channel, differential mode, at 1MS/s sampling rate for 10 secnond. I expect 5MS total for 10 sececond but I have acquired 10MS for 10 second.
Please note that all these failed functions are working fine for simulatenous board.
I would appricate if NI confirms finite sampling, refernce trigger, external gate functions works fine with NI DDK and PXIe-6363 board.
Thank you in advance,
Changseung