Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Counter voltage threshold?

I have a signal that is only outputing a range of voltage from 0.5V to 2.8V.  This does not seem to be triggering the counter.  A different encoder with 0-5V is working great.  Any way to change the voltage threshold?  I'm using NI-DAQmx from visual basic on an NI USB -6251.

 

Thanks,

 

Karsten Wilson

Hewlett Packard

karsten.wilson@hp.com

 

0 Kudos
Message 1 of 4
(6,604 Views)

I also want to do this activity....

 

 

Pictures of Bed Bugs

0 Kudos
Message 2 of 4
(6,587 Views)

There is a hardware solution and a software solution. The hardware solution involves using a zener diode to shift the thresholds based on the breakdown voltages. This is described briefly in the article <link no longer exists>. The software solution would be to use an Analog Input task, and do a software compare and generate the counter events based on implementing some processing on the analog signal. A good example of this would be the Analog Input Threshold community example.

- Regards,

Beutlich
0 Kudos
Message 3 of 4
(6,557 Views)

For periode signals in the MHz range I just had tried this with success.

NPN-Counter driver.png

On a SCB68 screwboard  it was a free air construction 🙂 . I needed a 50Ohm termination, and the R/Cin_PFI are for Simulation only, and I a had lower amplitude.

Short modification.... not beautifull, but sim say it might work 😉

 

NPN-Counter driver2.png

npn counter sig.png

This is a 100kHz sim , blue your signal , green the collector voltage, however I didn't look at the soucre impedance!! Currently this is a low impedance source!

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 4 of 4
(6,551 Views)