Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating DC voltage in synchronization with digital waveform

Dear all,

                 I am trying to generate an analog voltage output (DC voltage in steps of 0.1V), simultaneously i need to trigger a firewire camera to acquire image. At the beginning of every frame, the DC voltage increases to a new value from 0.1V to 0.2V in the second interation and so on...

 

I am stuck now on generating a finite sample DC voltage with continuous digital waveform. I can not think of running both of them in different loops or one while loop (for digital waveform) and on for loop (for DC generation).

 

I need to generate both of them from same USB PCI 6259. By the way i am using counter pulse for triggering these two tasks for sync.

 

Any help would be appreciated. See the attached  images for front panel and block diagram.

 

Regards

Visu

0 Kudos
Message 1 of 2
(2,837 Views)

Here is the vi which i have used for generating DC voltage simultaneously digital waveform. PWM is a sub vi used for creating digital waveform.

Download All
0 Kudos
Message 2 of 2
(2,824 Views)