Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Short duration pulses not detected in a Digital Input on CompactDAQ with 9401

Hi everyone,

 

I have the following signal at the entry of my module 9401.

 

DSC01348 redil.jpg

 

Zoomed it is like that :

 

DSC01357 redim.jpg

 

So the lengh of the pusle is very short (1,5 ms)

 

I am able to count it using a counter and simple edge counting for instance.

But I don't want to use a counterbecause I don't need it and I need to save counters for other applications.

 

So, my point is : I'm not able to work with this signal using a digital input. I mean if you invert this signal and link it to a indicator like a LED, the LED never blink.

 

I did a test to know if it was my .vi the culprit.

 

I tried my .vi with a function generator, generating pulse like that but much longer (a 5V PWM with a duty cycle of 50%, instead of 0,003 % like here) and it works.

 

Do you know if it is because the duration of the pulse is too short it doesn't work ?

so do I need to make it longer with a monostable multivibrator (if i can avoid this I will be glad)

 

I'm using the .VI enclosed.

 

It's strange because I can count this signal but I cannot use it in a digital input !

 

 

Thank you very much , I can provide more informations if needed.

 

Guillaume.

 

P.S : My .vi aims to represent a camshaft turning. As input I have the camshaft speed (frequency) and the signal from the top dead center  (the one you have seen above).

I am measuring the time since I did not see the TDC (in sec) and the I multiply it by the speed, (in °/sec).

So I end up with the number of degrees travelled since the last TDC, So I know exactly, in real time, the actual position of the camshaft. Thank you again, gdlbb.

 

 

 

 

 

0 Kudos
Message 1 of 1
(3,858 Views)