LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

trigger acquisition and pulse generation

Hi,

 

I would like to generate a pulse on a PXI 6602 and start aquiring data on a PXI 6133 at the same time. 

The attached VI seems to do the job but it has a race condition at the read vi. I am sure there is a better way to implement. 

 

The problem is that the read vi seems to have an implicit wait until done. Labview does not continue but waits until the read vi finishes.

Is there a way to commit a read task to the DAQs and then start and trigger it? Similar to what I did with the clock on the PXI 6602.

 

Thanks!

Download All
0 Kudos
Message 1 of 2
(1,957 Views)

Take a look at this KB article: http://digital.ni.com/public.nsf/allkb/EBD603683446EC13862575B3006A63A2 It discusses how to synchronize your tasks. Not in the examples that there needs to be a start task for each task you create. Also take a look at both the Synchronization Examples in LabVIEW and the Multiple Device Examples. These should illustrate everything you should need to get your system up and running. I would also recommend that you use the Trigger VI's instead of the Property Nodes. 

Alex D
Systems Engineer
Academic Research
National Instruments
0 Kudos
Message 2 of 2
(1,927 Views)