From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

signal level for pulse width measurement

Solved!
Go to solution

Hello,

I am measuring the pulse width with the M6251 by counter (CI Pulse Width)

CI-Pulse Width.png

 

I understand that the digital input is working on TTL levels (0,8V low 2,4V high).

Can it be exactly said at which signal level the pulse width is measured?

 

Thanks,

Ralf

0 Kudos
Message 1 of 8
(6,227 Views)

Electrical Characteristics

Level                                             Min     Max
Positive-going threshold (VT+)       —      2.2 V
Negative-going threshold (VT–)    0.8 V    —
Delta VT hysteresis (VT+ – VT–)  0.2 V    —

 

 

Marco Brauner AES RF NIG

0 Kudos
Message 2 of 8
(6,213 Views)

Thanks for your answer, Marco.

 

Just to make sure I got it right:

When I configure falling edge the pulse width output is the time between

a. the falling edge passes the 0.8V threshold

b the rising edge passes the 2.2V threshold

 

Thanks for your patience,

Ralf

0 Kudos
Message 3 of 8
(6,208 Views)

measuring period is from falling/rising edge to next falling/rising edge. 

What you mentioned would be Half-Period. Falling to rising.

 

Marco 

0 Kudos
Message 4 of 8
(6,205 Views)

@Marco_Brauner wrote:

measuring period is from falling/rising edge to next falling/rising edge. 

What you mentioned would be Half-Period. Falling to rising.

 

Marco 


Pechmann is asking about Pulse Width measurements,  not Period measurements.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 8
(6,202 Views)
Solution
Accepted by topic author Pechmann

In reality the transition from low to high (or vice versa) is somewhere in between 0.8V and 2.2V.  It is not specced exactly where this will be (though you would be able to get a better idea if you have an analog source that you can slowly increase until you see the line state change).  

 

This is why fast rise times are important for accurately measuring digital signals.

 

Best Regards,

John Passiak
0 Kudos
Message 6 of 8
(6,192 Views)

Thanks for your answers.

Maybe I will try to measure the levels as John suggested.

 

But I surely have to find an alternative approach for pulse width measurement

because the need of configurable levels was added.

 

Have a nice day,

Ralf

0 Kudos
Message 7 of 8
(6,172 Views)

Ralf,

 

If you need configurable levels, then you need to to an analog acquisition and then use Pulse Measurements.vi from the Signal Conditioning >> Waveform Measurements palette. Make sure you sample fast enough to get several sample during the transitions so that you can get reasonably accurate measurements.  Digital acquisition by definition reduces the data to two levels - low and high.

 

Lynn

 

 

0 Kudos
Message 8 of 8
(6,164 Views)