Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Pulse Generation by External Analogue Input and Analogue Output Generation timed by generated Digital Pulse

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.

 

Pulse Generation.png

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

 

AO Generation.png

 

 

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?

 

 

 

 

 

 

 

 

0 Kudos
Message 1 of 2
(3,008 Views)

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.

Mr.O
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,004 Views)