LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Technical Advice

Setup: PCI-MIO-16XE-50 card running into a SCB-68 box. I am using one of
the built in counters on the board to count pulses given by one of my instruments.
This instrument (a Hall Effects sensor) has been setup to pulse everytime
a shaft completes one revolution. The shaft speed will increase and descrease
with the user's controls. What I want to do, is to make a correlation between
the time and the pulses. I'm looking to find RPM, but not the average.
I want to take a given time, then count how many pulses happen within the
next 10seconds and then do a little math to find the RPM. The counter is
working fine on the board, but I can't make a connection to time. Please,
I need some advice, maybe I'm missing something obvious and ea
sy, but I have
been unable to calculate (in a semi real-time fashion) the RPM of this shaft.
Advice would be GREAT!
Thanks,
Rob Rodgers
0 Kudos
Message 1 of 3
(2,427 Views)
Rob,

Take look at the "Measure Frequency Easy" VIs found in the \Examples\DAQ\counter
folder. Make note of how to connect the signal. You wll also need to jump
the out of one counter to the gate of another. There is a picture on the
VI front panel showing how this is to be done. I think this method will
work. If you have one pule per revolution the output frequency measured
by the VI will be rotations per second.

-Jim

"Rob Rodgers" wrote:
>>Setup: PCI-MIO-16XE-50 card running into a SCB-68 box. I am using one
of>the built in counters on the board to count pulses given by one of my
instruments.> This instrument (a Hall Effects sensor) has been setup to pulse
everytime>a shaft completes one revolution. The shaft speed will incre
ase
and descrease>with the user's controls. What I want to do, is to make a
correlation between>the time and the pulses. I'm looking to find RPM, but
not the average. >I want to take a given time, then count how many pulses
happen within the>next 10seconds and then do a little math to find the RPM.
The counter is>working fine on the board, but I can't make a connection
to time. Please,>I need some advice, maybe I'm missing something obvious
and easy, but I have>been unable to calculate (in a semi real-time fashion)
the RPM of this shaft.> Advice would be GREAT!>Thanks,>Rob Rodgers
0 Kudos
Message 2 of 3
(2,427 Views)
Jim,
I've seen that VI that you suggested, I don't completely understand how
that one works BUT I have found a way to code this myself. (After a couple
hours)
Thanks,
Rob Rodgers

"Jim Kring" wrote:
>>Rob,>>Take look at the "Measure Frequency Easy" VIs found in the \Examples\DAQ\counter>folder.
Make note of how to connect the signal. You wll also need to jump>the out
of one counter to the gate of another. There is a picture on the>VI front
panel showing how this is to be done. I think this method will>work. If
you have one pule per revolution the output frequency measured>by the VI
will be rotations per second.>>-Jim>>"Rob Rodgers"
wrote:>>>Setup: PCI-MIO-16XE-50 card running into a SCB-68 box. I a
m using
one>of>the built in counters on the board to count pulses given by one of
my>instruments.> This instrument (a Hall Effects sensor) has been setup to
pulse>everytime>a shaft completes one revolution. The shaft speed will increase>and
descrease>with the user's controls. What I want to do, is to make a>correlation
between>the time and the pulses. I'm looking to find RPM, but>not the average.
>I want to take a given time, then count how many pulses>happen within the>next
10seconds and then do a little math to find the RPM.> The counter is>working
fine on the board, but I can't make a connection>to time. Please,>I need
some advice, maybe I'm missing something obvious>and easy, but I have>been
unable to calculate (in a semi real-time fashion)>the RPM of this shaft.>
Advice would be GREAT!>Thanks,>Rob Rodgers
0 Kudos
Message 3 of 3
(2,427 Views)