07-18-2008 07:07 AM
07-18-2008 07:15 AM
Santosh,
Please post all questions and discussions within this one thread. You have started several other threads which are now pointing to this one.
Thanks,
R
07-21-2008 04:48 PM
Hi santosh,
It sounds like what you what to do is a continuous buffered pulse width measurement. I would begin by looking in the NI Example Finder. Open LabVIEW and then go to Help >> Find Examples. Browse to Hardware Input and Output >> DAQmx >> Counter Measurements >> Period or Pulse Width. Inside this folder you will find several pulse width examples like Meas Pulse Width-Buffered-Cont.vi. This example uses a counter to perform a continuous pulse width measurement. This VI could be easily configured to work with an external pulse signal and your DIO cDAQ module by routing the external pulse signal through a PFI line to the counters located on the cDAQ chassis. The DIO module needs to be in slot 5 or slot 6 in order to access the counters through a PFI line.
Hope this helps.
07-28-2008 05:06 AM
07-28-2008 11:54 AM - edited 07-28-2008 11:56 AM
Are you using an internal or external clock? You need a clock signal to acquire samples.
As mentionned near the bottom of the paragraph in the Possible Reason(s), you may have configured the task for external timing and no clock was supplied. If that's the case, supply an external clock (or use the internal one).
R