|
The Challenge:
To develop a cost effective and PC based system for performing following functions:
|
1. |
Acquiring high speed TTL pulses occurring at 100 kHz on eight discrete channels |
|
2. |
Logging data at the rate of 10MB/s to the hard drive for a duration of 1000 seconds |
|
3. |
Analyzing file sizes larger than 2 GB for occurrence of rising edges |
The Solution:
Using the National Instruments PCI based High Speed DIO Card, NI DAQmx and LabVIEW Development environment to create a PC based, cost effective and reliable acquisition system within four weeks.
Introduction:
Our client, a leading R&D organization, specializes in study of chemical reactions. The outputs of one of the chemical reactions is given to a measurement system. The measurement system generates output in the form of digital pulse trains of high frequency. The rate of the digital pulses depends on the chemical reactions. The challenge given to our team was to make a cost effective PC based system capable of accomplishing the following tasks:
- Record incoming pulses of TTL levels from eight channels to the system hard disk
- Analyse logged data files and detect occurrences of pulses (rising edges)
- Display and generate results containing the following:
|
1. |
Pulses in the order of their occurrence times, |
|
2. |
Occurrence time of state transitions in the logged data (rising edges) and |
|
3. |
Time interval between consecutive pulses on the same channel |
We selected PCI-NI 6534 for acquiring data from the measurement system. The NI 6534 is a high-speed digital I/O device with two independent timing controllers for high-speed data transfer. It has 32 MB onboard memory. An onboard 20 MHz oscillator generates the timebase on the NI 6534, and data can be transferred at a maximum rate of 20 MS/s, with samples of one, two, or four bytes. Onboard memory of the card and multithreaded DAQmx driver software allowed us to easily achieve a sustained data logging rate of 10 MS/s to the system hard drive.
Our custom data logging algorithms allowed us to overcome the 4 GB file size in LabVIEW and log data till the hard drive gets filled completely.
System Design:
|