08-13-2009 04:38 PM
Hi
I am using
I have a source which generates continues pulse of 2ms width, the time difference between each pulse is 50ms.
Now I have to read continues pulse through a digital line of a DAQ and send out a digital pulse through another digital line of DAQ as an acknowledgement.
I am attaching the vi what I have developed, but I feel it is not efficient to handle such a fast rate of pulse train.
Any inputs or suggestion are appreciated.
Thanks
Yarahalli
08-14-2009 04:33 AM
You do everyting softwaretimed which is to slow for this application.
Please have a look at the example "Multi-Function-Synch Dig Read Write With Counter.vi" which can be found via the LabVIEW Example Finder.
Christian
08-14-2009 03:22 PM
Thanks for replay.
It I went thought the example, but it doesn’t solve my purpose.
For me output has to be triggered based on input pulse and also output pulse width should be same as the input signal (i.e., 2ms), this process should happen every 50ms. Output and input waveform should look something like below.
Thanks
Yarahalli
08-18-2009 05:03 PM
Good afternoon yarahalli,
Try generating a pulse train similar to the Gen Dig Pulse Train-Finite-Retriggerable example, except change the counter output from frequency to time. The number of pulses going into the timing VI would be 2 for your 2ms and the start trigger source would be your input pulse.