07-25-2012 04:17 PM
Hi,
This is what I want to do with PCIe-6353 card.
Input: Differential Analogue Input (AI). The waveform itself is very similar to digital pulse train.
Desired Outputs:
1. Digital Pulse train (CO) triggered by AI.
I want DAQmx to generate only one single pulse for one trigger. However, it is a continuous process.
Please look at the following picture.
The duration of one AI pulse is between 50 to 60 us and the time difference between AI pulses is also around 50 us.
The duration of one CO pulse is 10 us.
2. Analogue Output (AO) timed by CO.
First, 1D or 2D DBL array will be generated depending on the number of output channels.
The generated CO will be external clock for AO. For each CO pulse AO will change its value according to the array. Please, look at the following picture.
I think once the first task (CO) is done, the second task (AO) will be achieved quite easily. My problem is I do not know where to start with the first task. Could anyone give advice or example codes to refer to?
07-26-2012 11:13 AM
Hello KaiLeem,
Thank you for using NI Forums.
I found this example that I think will give you an idea about how to approach your solution.