LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The timing setup step after calling Angular Encoder DAQm, takes a vey long time even at 1000 samples per sec. Any idea why?

Solved!
Go to solution
I am using a quadrature encoder with DAQmx 6259, the call to read counter outputs is slow, much slower than the sampling rate? Any idea why?
Thanks
0 Kudos
Message 1 of 2
(2,114 Views)
Solution
Accepted by Roxanne

Hello Roxanne,

 

In the title of this thread, you mention that the timing setup step takes a long time.  Is this timing setup node being called repeatedly in your code?  You may find that your code runs faster if the channel and task configurations only happen once.

 

Our shipping example, "Count Digital Events.vi" may be of interest to you.

 

Our Example Finder may be found by navigating: 

Help » Find Examples

 

Once the Example Finder is open, you may locate that example by navigating:
hardware Input and Output » DAQmx » Counter Measurements » Count Digital Events.vi

 

Best regards. 

Matthew H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,096 Views)