10-04-2005 08:41 AM
10-06-2005 09:19 AM
Hi Rags,
In order to generate a finite pulse train and to measure the pulse width, you will need to use a total of three counters. Two counters to generate the train and one to measure the width. With the Finite Pulse Train (NI-TIO) VI example, if you choose to generate your pulse train on counter 1, wire the output of CNT0 (terminal 5 in the SCB-86) to the Gate of CNT1 (terminal 8). With this example program you do not need to specify the PFI line.
To measure the pulse width, wire the output of CNT1 (terminal 9) to the gate of the counter you are using for the measurement.
Is there a particular reason you are using the Traditional DAQ driver examples? I would recommend using the DAQmx driver, it is more robust and will improve your overall application preformace, in fact, this tutorial: Advantages of NI-DAQmx describes many of the benifits. It will even take care of the routing for your pulse train internally! You might consider using the DAQmx base shipping examples: Gen Dig Pulse Train-Finite VI and Meas Pulse Width VI instead of the examples you are trying to use now.
10-06-2005 09:34 PM
Hi Micaela,
Thank you for the reply and guidelines.The main reason for us to use the traditional NI_DAQ is the device old and is n
not supported by the NI_DAQmx. Let me try out this and get abck to you on this ,if any further problem occurs
Regards
Rags(Raghavendra)
10-07-2005 08:54 AM