LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Buffered Counter to Waveform

Hi everybody,

I have posted this question already in the hardware section and after waiting a few days without any answer, decided to post it here as well. I apologize and do hope it doesn't deem me a man without internet etiquettes. Maybe the admins could delete the post from the hardware section?

I use LabView 8.2 and an 6036E with NI-DAQmx to obtain an Analog Voltage Signal and the counter value from a quadrature encoder. My aim is to show the Voltage and the Counter (-> Angular) Value on the same display, meaning the counter waveform needs the same time base or at least an equidistant dt. However though if I understand, the buffered counter works somewhat like an interrupt call, giving out values only, when receiving changing flanks on the ctr source/gates?

How do I adapt the counter signal to suit the analog one?

Thanks in advance,
George


0 Kudos
Message 1 of 5
(2,739 Views)

If i understand correctly..

just place them in the same timed loop. If you will have 1000 samples of the one, you will have 1000 samples for the other, too.

If it is not that, a small code example will help us understand better.

0 Kudos
Message 2 of 5
(2,727 Views)
Hey,
 
actually I'm doing that at the moment. The attachment is made with LabView 8.20
0 Kudos
Message 3 of 5
(2,712 Views)
Sorry,
 
by mistake uploaded an outdated version, this is the right one:
0 Kudos
Message 4 of 5
(2,706 Views)
After reading a few more threads I synched the Counter Input and Anloginput with the Timing VI. However when I compare the length of the waveforms (# of samples) I come a few thousand short on the counter waveform.
0 Kudos
Message 5 of 5
(2,697 Views)