LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need desperate help on a very strange problem!

Hello to everyone!

I have the following problem:
I realized a code to measure the speed of 2 encoders using the 2 counters of
a pci 6010 daq board (one counter for each encoder).
This code read 3600 pulses (one revolution) from each encoder and write the
buffered periods of the two encoders to a measurement file.

I connected encoder1 to PFI 1 (CTR0 Gate) and encoder2 to PFI 4 (CTR1 Gate)
No signals are connected to CTR0 SRC and CTR1 SRC.

In order to validate the complete system I connected only encoder1 to both
PFI1 and PFI4, so that I'm sure that both counters get the same signals in
the same instant.

If I click the start button of the Labview code while the encoder1 speed is
0 and after that I rotate the encoder the buffered periods saved in the
measurement file are the same, that is what I expected to find. See
0_rpm.lvm

On the contrary if the start button is clicked while the encoder1 speed is
not 0 the buffered periods are significantly different and I cannot
understand why. See NOT0_rpm.lvm

I attach also the Labview code.

http://forums.ni.com/ni/board/message?board.id=40&message.id=4553

Thanks a lot in advance,
M.G. Susy


0 Kudos
Message 1 of 1
(2,336 Views)