Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate an output waveform and a pulse

I want to generate a waveform and a pulse with LabView and PCI-MIO card.

The waveform must be a sine with a frequency of 1 Hz and sampling frequency 10 Hz. The pulse must be a square signal between 0 and 5 V with frequency of 10 Hz. Every point of the sine waveform must be synchronized with every point of the pulse. The pulse is used as a trigger for a digital camera.

I have been looking at the DAQmx examples but I haven't succeeded.

Any comments on the best way of doing this?

0 Kudos
Message 1 of 2
(2,909 Views)
Hi Raimon,
 
Look at attached VI,
 
Here i am first building 2 waveforms sine and square of 10 hz, 0-5V and generating them on ywo analog output channels.
 
You can use the logic of creating the two singals and for AO generation that i have shown in this VI.
 
If you want AO to be regenerative/non regenerative, find the relevant  example AO generation VI's, modify it to generate functions generated by my VI and go ahead.
 
regards
Dev
 
 
Message 2 of 2
(2,901 Views)