Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Measuring pulse width using a counter that is controlled by an analog input.

 nidaqmx python /USB-6363 NI-DAQ. 

 

First time using NI-DAQ/nidaqmx/USB-6363, any pointers are appreciated 

 

I'm trying to measure a pulse of 1us, with a resolution of 0.01us. My plan was to set up my above-level analog trigger set to 2.0V (50% amplitude) and then route this analog comparison event to a PFI line. I can use the PFI as the gate for the counter, and set the counter source to the 100 MHz timebase. 

 

Is this possible to do in python with very little LabView/NI-daqmx knowledge?  Any other suggested ways to take this measurement?

0 Kudos
Message 1 of 2
(105 Views)

The basic concept is at least plausible, but I would highly recommend you do some tinkering and experimenting with the behavior of the "analog comparison event" signal.  You may find that you need to use a less common style of trigger such as the "analog window".

 

But I don't know what your analog pulse signal looks like or which characteristics you're trying to collect timing information about.  And unfortunately I also can't really help with any of the Python particulars as I only program in LabVIEW.  But it *does* sound like you're on the right track.

 

 

-Kevin P

 

 

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 2
(85 Views)