LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

frequency measurement using counter

I am using PXI-6602 and Labview 8.0 to measure pulse frequency.  Attached is the modified sample I used.  I put a delay in the while loop.  After running the VI, the frequency collected is only half of the input frequency.  After I clicked Step button, there is a warning message displayed.  It reads 'Measurements: finite acquisition or generation has been stopped before the requested number of samples were acquired or generated'.
 
Thanks for any comments on why this happened.
0 Kudos
Message 1 of 3
(2,627 Views)

Hi,

From my understanding, you are using the LabVIEW and the PXI 6602 to measure pulse frequency.  What I would like to do is start from the example that you started from and make the same modifications to test the VI. 

  1. What is the title of the Example that you started from?
  2. What modifications did you make to the example?  You mentioned that you put in a delay.  Is this the only modification to the example or did you make others?


Message Edited by Ima U on 01-25-2008 10:33 AM
Regards,

Ima
Applications Engineer
National Instruments
LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
0 Kudos
Message 2 of 3
(2,603 Views)

Hi

i can load the vi without missing sub vis!

 

Why do you start and stop the task in the loop? it happens every iteration. It is better you start the task once before running the while loop and stop it afterwards.

Mike



Message Edited by MikeS81 on 01-25-2008 10:32 AM

Message Edited by MikeS81 on 01-25-2008 10:34 AM
0 Kudos
Message 3 of 3
(2,601 Views)