Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquiring digital data through PXI-6251 DAQ

Hi

 

I am using

  • PXI-8106
  • PXI-6251 (DAQmx)
  • Windows XP operating system
  • LabVIEW v8.6.1
  

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

0 Kudos
Message 1 of 4
(3,111 Views)

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

0 Kudos
Message 2 of 4
(3,098 Views)

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.

 

untitled.JPG

Thanks

Yarahalli

0 Kudos
Message 3 of 4
(3,075 Views)

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.

Regards,


h_baker
National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(3,032 Views)