Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous tasks in USB-6211

Dear NI engineer,
 
I'm trying to make my VI to do the following:
1) Generate a digital pulses (PFI4) with given duty cycle and phase delay from an input signal (ctr1, PFI1, TTL, 100 KHz approx)
2) Acquire data from an analog input (ai1) (given number of samples/given sample rate = measurement time)
3) Meanwhile use the remaining counter (ctr0) to measure precise (averaged) value of the input signal frequency.
  
I found that ctr0 task  (3) does not work when the number of samples in task (2) is less than 30000.
Apparently this is because it does not start frequency measurements until the analog waveform is acuired, although it's "start task" subVI is executed first. It looks like it measures frequency only during the transmission of the analog data to PC and if the number of samples to transmit is small enough - does not start at all.
Time and precision are critical parameters in my measurements. Therefore I need all the tasks to run/start simultaneously.
Is it possible using 6211 ???
This is my first Labview project, I might just missing something very basic.
And also can the generation part (task (1)) be simplified ?
 
Thank you very much in advance.
 
0 Kudos
Message 1 of 1
(3,241 Views)