Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a continuous pulse and count it

Hi

 

I would like to create a continuous pulse with my Mio16E-4 DAQ board, and also keep track on how many pulses that are generated. I have a quite slow pace, about 1Hz

I have tried to use one counter to generate pulses and one to count them, but I'm not sure how to route signals internally. Preferably I would like to only allocate one of the counters for this task.

 

Skärmklipp.JPG

 

0 Kudos
Message 1 of 4
(4,263 Views)

Hello,

 

Please see Example 1 in the following KB:

http://digital.ni.com/public.nsf/allkb/8A85E97855EDADC98625730C00065F58

 

I made a quick modification of your code that runs on my hardware. See the vi attached to this post.

 

You will need one counter to generate a pulse and one to count them. This is explained here:

http://digital.ni.com/public.nsf/allkb/9D1780F448D10F4686257590007B15A8

 

 

Best regards,

 

Christopher

0 Kudos
Message 2 of 4
(4,123 Views)

Necesito ayuda para crear un filtro para los datos que estoy sacando de un equipo que mide frecuencia estos datos estan siendo enviados al computador por puerto serial.

El problema es que necesito eliminar datos que estan fuera de un rango determinado y ademas numerar cada uno de estos datos validos para exportarlos a una tabla de excel.... 

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

Hello sgcardenas88,

 

Please have a look in the spanish section of the forums:

 

http://forums.ni.com/t5/La-Comunidad-en-Espa%C3%B1ol/ct-p/ESAForum

 

 

Best regards

 

Christopher

Message 4 of 4
(4,050 Views)