LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchronized position measuring

Hi,

I'm using 6601 with LabView 8.
I'd like to do a synchronized measurement of two position signals (rotating) to check relative position between both.
Is there a possibility to read two counters at the same time?

Or do I have to go get another card?


0 Kudos
Message 1 of 3
(2,624 Views)
It can be done, but there are some limitations with your 6601 board.
 
You'll need to configure two counter tasks to perform hardware-clocked sampling using 'DAQmx Timing.vi'.  You'll probably want to generate the sample clock yourself using another counter.  Finally, at least one of your position measurement counter tasks will need to be configured for interrupt-based data transfer because your board only supports 1 channel of DMA-based data transfer.
 
There are some examples posted by fredni late in this thread that ought to illustrate how to configure interrupts vs. DMA on a 6601.  You can expect sampling rate limitations somewhere in the kHz realm.
 
-Kevin P.
ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 3
(2,617 Views)
Please have a look at this example which should cover most aspects of your application.

Best regards,

Jochen Klier
National Instruments Germany
0 Kudos
Message 3 of 3
(2,604 Views)