LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

recording triggered analog input within timed loop

 

I am trying to record the response to simulation in 64 analog channels using a PCI-6071e card (with and SCB100). 

I would like to stimulate in long-ish intervals (the shortest would be about 10 seconds, the longest would be stimulating every 3 minutes or so) and record the the interval between stimulations.

For this, I have set the analog input express vi to record N samples when triggered. I have connected the Ctr1Out to PFI0, so that Ctr1 triggers the analog input recording at the same time as it starts my external stimulator.

In the hopes of keeping everything running smoothly, I have made the recorded period a bit shorter than the actual interval between stimulation pulses (that is, if I would stimulate every 15s, I would write 14.5s worth of samples after the trigger to a file). The problem is that it does not work. 

Could the thing I try to do here work at all? Or am I going about this in completely the wrong way?

 

 

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

Hi WorkingCat,

 

I think the problem is, that your trigger is waiting on the signal, which is generated in the same loop. The analog input Express-VI have a 10s-default Timeout. Try to separate both DAQ-Express VI´s in parallel loops. I think this should help.

0 Kudos
Message 2 of 3
(2,438 Views)

can you upload the vi for 2009 version?

0 Kudos
Message 3 of 3
(2,430 Views)