Ni9402 CompactDaq Encoder measurement? DIO-ctr-PFI?

Hello,
I need to read two encoders. Actually, by now if I can read one I will be happy enough.
I've been trying with a ni9402 module and a 4-slot CompactDaq chassis. However, I haven't been able.
First tries were using DAQAssistant, but, can't understand how to perform the cabling. I get to choose with counter to use (CTRO/CTR1), afterwards I'm ask to cable A and B into PFI0 and PFI2, but my inpunts are named DIO0-3. So I've found in the help documents a correlation between PFI and CTRs... but still don't know how to cable. 
Can somebody help me?

Hi pd1234,
You are probably picking up glitches on the transitions (encoders tend to be pretty noisy signal sources).  These glitches would register as very short pulses, which would in turn be calculated to represent very large frequencies.  To fix the problem, you should enable digital filtering (see M Series User Manual):
The above will pass through any pulses larger than 6.425 us, but will ignore the small glitches that you are likely seeing.
Best Regards,
John Passiak

Similar Messages

  • Encoder measurement

    I found this paper that shows how to take the encoder measurment,,, now there is VI front panel shown at the bottom of this paper.... Now Iam using an NI Elvis board to take measurement and I need to know the code for this front panel..
    http://zone.ni.com/devzone/cda/tut/p/id/7109#toc4
    Thanks

    SK0480,
    Here is a link that explains how to use the quadrature encoder with NI Elvis.  If you follow the link at the bottom of the article, you will also find an example that illustrates how to implement this in LabVIEW.
    Good luck with your project!
    Thanks,
    Trey C.
    Links:
    http://zone.ni.com/devzone/cda/tut/p/id/4623
    http://sine.ni.com/devzone/cda/epd/p/id/2177

  • Quadrature Encoder measurements with PXI-6143 S-Series DAQ

    Has anyone used a S-series PXI-6143 DAQ to take encoder position measurements? I believe there are 2 counters available, if you have any examples of how to access and read from these counters it would be greatly appreciated.

    Hi Bentup,
    Measuring a quadrature encoder on your device is actually going to be a bit different than on an M series device.  The STC-2 chip, which is used in the M series, allows for A and B inputs specifically for encoder signals (used in the Angular Encoder task).  The original STC-1 chip which is used in E series and most S series boards (including your 6143) does not have these same inputs.  Instead, you may must a Count Digital Events task (taking advantage of the up/down line of the counter).  The Angular Encoder task is not supported on STC-1 devices.
    The article that lab_boy linked earlier actually mentions how to use an encoder with an E series device once you scroll down a bit (here's the link again).  This same procedure should apply to your S series--connect the A output of your encoder to the source of the Counter (this is the signal that you are counting).  Connect B to the up/down line of the counter (P0.6 and P0.7 for counter 0 and 1 respectively). 
    The downside with this method is that it is more susceptible to vibrations or noise on the encoder lines. If this is a problem for you, you can look into an external encoder conditioner like the one mentioned in the article.  I hope this helps!
    Best Regards,
    John
    John Passiak

  • Troulbe in measurement quadrature encoder with 6601.

    Hi,
    We are trying to measure position with 6601. The frequency of quadrature encoder is from 100Hz to 8MHz. Now, we connet the A,B and Z channel directly to counter . Using the example in CVI, we change the filter to 100ns and use x4 mode. It works perfect at low frequency.
    The problem is when the frequency of encoder is higher than 2MHz, the accuracy decreases greatly. I'd like to know about following:
    1.Can 6601 do the previous task enough? Or I must change to use 6602.
    2.If 6601 is available, is there any way to increase measurement accuracy ?(in software or wire connection )

    Jimmy,
    You would need to specify what type of accuracy you are looking for, which is pretty much dependant on the type of operation you are performing. You could be looking to timestamp your encoder positions or you could also be looking to perform position/angle tracking over time. You could also be performing single point vs. multiple point (buffered) operations. You could mention which one of the CVI examples you are using and that could give an idea of the type of operation you are performing.
    The NI-6601 is able to perform quadrature encoder measurements and the only limitations you can have in regards of frequency are the filtering parameters (if you use filtering) and the actual maximum timebase of the board (20 MHz).
    Please keep in mind that by ena
    bling filtering at 100 ns you are only guaranteeing that pulses with widths of 100 ns or longer are not being filtered out. This limits your encoder phase frequency to around 5 MHz. (Each encoder period has a 50% duty cycle, therefore the pulse duration is half the encoder period). You can refer to the board�s manual for more information on filtering.
    We would have to know the following in order to provide further help:
    a) Type of operation being performed
    b) Specific example you were using
    c) Type of accuracy you were looking for
    d) Range of accuracy you needed on your measurement
    Regards
    Alejandro Asenjo
    Applications Engineer
    National Instruments

  • Encoder and Teslameter measurement....

    HI all!!
    I am using Encoder (A,B,Z) and Teslameter (measuring magnetic field).. Encoder has got 10000 pulses per revolution... I have connected the teslameter to AI 0... I tried programming to get the encoder reading and teslameter reading at the same time (i mean, for each pulse from the encoder, i should able to attain a value from teslameter)...  i am getting failure as shown in the attachment.. i am attching my program as well...
    I am using LabVIEW 2012, PCIe 6341..
    Thanx in advance..
    Every Expert was once a Beginner!!
    Attachments:
    Test_Drehmomentmessung2.vi ‏41 KB
    error.PNG ‏8 KB

    Hi Ed,
    The DAQ-STC counter/timer chip on your PCI-6035E card is not your most accurate counter/timer chip to perform encoder measurements. You are better off using a PCI-6601 card which is much more accurate and has real encoder capabilities.
    PCI-6601 (w/ NI-TIO Counter/Timer Chip)
    http://sine.ni.com/apps/we/nioc.vp?cid=3589〈=US
    The reason the NI-TIO chip is better suited for encoder measurements than the DAQ-STC is because of the following (which might also explain some of the difficulties):
    1) DAQ-STC can't reset the count after an encoder revolution (NI-TIO can w/ Z-Index line)
    2) DAQ-STC only has one encoder measurement mode and that is the 2-pulse encoder measurement mode. The NI-TIO has the X1, X2, X4, 2-pulse
    This essentially me
    ans that your DAQ-STC will count up when channel A leads B and count down if channel B leads A. There is no reference point, no ability to reset and no filters on the lines to prevent glitches.
    What is probably happening in your case is that you are measuring 9,000 pulses in one revolution and you are also measuring glitches on the line which is why you are getting the extra 5,000 counts. The DAQ-STC shipping example programs will give you some insight into programming your E Series counter to make encoder measurements but your errors are more likely caused by the fact that it is just a simple 2-pulse encoder (up/down encoder).
    Hope that helps. Have a good day.
    Ron

  • Having problems with encoder readings due to motor commutation noise

    Hello everyone,
    I wanted to ask for advice with a hardware problem which I believe is rather usual.
    Here I describe my application:
    We are controlling an electric actuator for a robotics application. We are using encoders to take position readings and we need to perform analog acquisition for other measurements (such as force measured with strain gauges).
    The problem is:
    In summary, I am having problems to acquire properly position readings from a quadrature linear encoders and also some analog inputs. The cause  is the commutation noise generated by the motor drive we are using (which is a brushless dc motor Moog BN-23-23).
    Our acquisition platform is a NI PXI-8106 with a PXI-1042Q chassis. We have two possibilities to acquire the signals. We have a multifunction DAQ M series NI PXI-6259 and a FlexRIO NI PXI-7951R with a DIO module NI PXI-6581R.
    The commutation noise have a frequency of 30 kHz. In an oscilloscope we can see a series of noise peaks that are only present during a short period of time (about 1/10 of the period of the noise). The rest of the time the noise is not present.
    The Accelnet amplifier module that feeds the electric motor provides us with a clock signal synchronized with the noise (which frequency is about 1/4 of the noise frequency). This clock signal provides a mean to solve the problem of the analog acquisition. We can use this clock to perform a buffered acquisition with an external clock in LabView connecting the clock to a PFI pin or to the FPGA card. But the noise is also corrupting this clock signal (we get a daqmx error warning us about possible glitches in the clock signal, and also stopping the acquisition). I believe that solving the encoder problem we can solve also the analog acquisition problem.
    In the encoder readings the noise is making our counter count upwards or backwards gradually rather fast. We can get an increase in position of about 10 cm/second without any appreciable movement in the linear actuator.
    It would be of great help if anyone could post the solution he is using to solve this problem.
    Thanks in advance for your help,
    jespestana
    PS: I insist in my belief that we are having a hardware issue, because we are only having bad readings when the electric motor is working. I am convinced so because we have already performed encoder and analog readings using other drives, such as hydraulic cylinders. Thus, I think that it is not a problem of our software (of our LabView VI).
    Solved!
    Go to Solution.

    Hi jespestana,
    I'm not sure why the noise would be causing your encoder measurement to increment more slowly...  However I do have one suggestion on the M Series board (6259):
    The M Series cards have built-in digital filtering on the PFI lines (see the M Series User Manual).  It sounds like the noise is a series of ~3 us pulses (1/10 of 1/30 kHz).  One of the available filtering frequencies that you may set on your M Series is 6.425 us, which should ignore any pulses (high or low) that are less than 6.425 us. You may set digital filtering with a DAQmx Property Node:
    A caveat is that the driver only allows you to configure digital filtering for counter inputs on M Series devices.  So, you could use digital filtering directly on your encoder task but not for your AI Sample Clock.  A workaround can be found here, which involves configuring a dummy counter task to set the PFI filter for your AI task.  If you're using the same PFI line for your encoder and AI task, you should just be able to set the PFI filter through the encoder task and not worry about the workaround.
    With regards to the Flex RIO, I believe you could implement something similar on the FPGA, but I'm probably not the best person to comment about this.  It would likely be a great deal more work than using the built-in filtering of the DAQmx API.
    Best Regards,
    John Passiak

  • Problem Counting A and B Encoder Signals on Two Counters.

    Hi All,
    I have an existing LabVIEW program that uses three counters to measure A, B and Z signals of the encoder.  I can read these signals separately if I hook only one of them to the PCI 6602.  If I hook up A and B, I will get intermitten correct reading for signal A.  I will always get the correct reading for signal B.  Is there a problem of trying to measure these signals using separate counters?  This program basically tries to measure the time between the different edges.  There isn't any documentation, so I am not even sure which board this application was written for.  Although, there is an analog input section of this code.  I even tried the counter for the 6502E board.  I get the same problem.  I am not sure if the physical channels constants in the program is correct.  Has anyone run into this problem before?
    Thank you for your input.
    Attachments:
    Main Encoder Tester.vi ‏883 KB

    Hello Van626,
    After looking over your code for measuring a encoder, I would suggest performing this acquistion in a different way. The reason why is that it is not advisable to create and clear or start and stop in a while loop. In order to get around this, here are some ideas I had:
    1.) Use the Counter Input Angular Encoder Task. This task will allow you to record the encoder measurements so that you don't have to program this yourself. I would suggest starting with Measure Angular Position.vi example in LabVIEW. In order to specify the PFI lines for the A, B, Z terminals, there is a channel property node under Counter Input » Encoder for A, B, and Z terminals.
    2.) If you want to record each signal, you have enough counters to do this. There is a VI called DAQmx Connect Terminals that will connect PFI lines together. In doing this, you can connect your three signals to three PFI lines but have them go to multiple counters. I have current tested this with an Angular Encoder task with a Two edge Separation and it works perfectly
    Note: You will need to look at the Device Routes for the PCI-6602 to ensure that you are sending the signal to the correct place. Another caveat about connecting PFI lines together you will have to disconnect them when you are done. If you don't they will always be connected. This can be done by reseting the device using the DAQmx Reset Device.vi or the DAQmx Disconnect Terminals.
    Jim St
    National Instruments
    RF Product Support Engineer

  • Need to use quadrature encoder to trigger (RTSI) single point DAQ on 2 channels of E-Series DAQ, using 6602 NI-TIO for counting encoder pulses.

    This is for LV6i, W2000, all PCI equipment.
    Using a quadrature-measure position-VI, I get 7200 edges/rev from the encoder of my physical system. This equates to 0.05 degrees of angular displacement. This amounts to an angle stamp as opposed to a time stamp.
    I need each of these 7200 edges (source: 6602 NI-TIO) to trigger (using RTSI) the acquisition of a single sample from each of 2 channels on an E-Series DAQ board (maybe more channels later). I only need/want one rev (7200 samples per channel) of data for each run of the test. As I write this I think I want pre-triggering and a little more than a rev of data. So the
    re is a buffering step. Anyway, you can get the idea.
    I need this angle stamp and the DAQ samples to be placed in an array and on the hard drive for graphing and other mathematical treatment, analysis, etc.
    I think there must be a way to use the quadrature output of the counter/timer as a scan clock for the DAQ board, but I haven't seen an example to guide me.
    It seems like all of the RTSI or other triggering examples I have seen trigger once to start a continuous scan, not a series of discrete samples repeated quickly. I am not sure how to fill an array with this data. Again, examples are for continuous sampling, not a series of discrete readings.
    Any hints on any part of this task will greatly appreciated. This is my first LV project.

    Sounds like a fairly ambitious first project!
    I assume your 7200 edges/rev come from an encoder with 2 channels in quadrature which each provide 1800 cycles/rev. You can clock in analog data at 1800 scans/rev with either of the two encoder channels, but will probably need an external quadrature decoder circuit to produce 7200 scans/rev. Either method can be done with screwdriver and wire or else by using another counter from the 6602 and the RTSI bus. Here are two approaches in detail, but you could mix-and-match as needed.
    Note also that if you can be sure that your reference encoder will be uni-directional, you wouldn't need to measure position -- position could be determined by the array index of the analog scan data. This would simplify things greatly.
    1800 scans/rev, screwdriver & wire
    Wire both encoder channels to your 6602 breakout box and configure your counter for the 4x quadrature option. Send a wire from one of the encoder channel connections at your 6602 breakout box to a PFI pin at your E-series board breakout box. Config the analog acquisition to use an external scan clock and specify the correct PFI pin -- there are built-in examples that will guide you. Now one edge of one encoder channel acts as a scan clock for your analog acquisition. Inside the 6602 breakout box, route the same signal to one of the default gate pins and configure your encoder counter gate to use that pin as its gate signal. Note that there will be a race condition governing whether the encoder value updates from the encoder inputs before or after the value is latched by the gate.
    7200 scans/rev, extra counter & RTSI
    Make sure you have a RTSI connector between your two acquisition boards inside your PC. Build a quadrature decoder circuit that will convert your two encoder channels into a clock and direction output. (Consider the LSI 7084 decoder chip or similar). Setup your "encoder" counter for buffered position measurement. Use "Counter Set Attribute" to define "up down" as "digital" (don't use it to define "encoder type"). The clock output goes to the counter SOURCE and the direction output goes to the counter UP_DOWN pin.
    Use "Adjacent Counters.vi" to identify the counter considered adjacent to your encoder counter. Configure it for "retriggerable pulse generation". Use "Counter Gate (NI-TIO).vi" to specify "other counter source" as the gating signal. Configure the output pulse specs to be short duration (make sure total of delay + pulse width is less than the minimum period of the incoming encoder clock signals). Use "Route Signal.vi" to send this counter's output onto the RTSI bus, say RTSI 0.
    Now configure the analog acq. to use RTSI 0 as its external scan clock. Also configure the encoder counter to use RTSI 0 as its gate signal. Voila! Now your quadrature decoder clock output acts as a scan clock for analog acquisition and a "gate" to buffer your encoder measurement. The short delay helps ensure that the clock updates the position measurement before the gate fires to latch the value.
    Respond if you need clearer explanation. There's a fair amount of decent info "out there" if you scour the online help and this website. Good luck!

  • Simultaneo​us acquisitio​n of accelerome​ter and an encoder measuremen​ts of a rotating machinery.

    I want to do a simultaneous acquisition of accelerometer and an encoder measurements of a rotating machinery.
    So which National Instruments data acquisition product must be chose to do this capture.
    Solved!
    Go to Solution.

    1st:  check the voltage ranges of your encoders and accelerometers
    2nd:  do your accelerometers need IEPE power?
    Ideas: (for accelerometers needing power and encoders with > +/-10V range)
    NI USB 4432
    NI USB 9232
    NI CompactDAQ with 9232
    other options in C series include 9234, 9229, 9215, etc.
    In PXI, there is the 449x series of PXI express cards.
    Do you have analysis and visualization requirements?
    Take a look at these manuals:
    http://digital.ni.com/manuals.nsf/websearch/5D3436​72A7367E6286257B9D00527B30
    http://zone.ni.com/reference/en-XX/help/372416C-01​/
    Regards,
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • Connect an encoder

    I use a 6025E and I don t know how to connect an encoder on this card.I read in the user manual to connect DIO 6 7 to the encoder. So I have to Make a special cable and if I connect an encoder on a device,can I connect in the same time a module SCXI on this device.
    Thank you

    You can connect an encoder to a PCI 6025E and to a SCXI chassis at the same time with out any problems. The SCXI chassis uses DIO lines 0, 1, 2, and 4 to control the chassis.
    If you are using a SCXI chassis, I would recommend using a SCXI 1180 (feed through panel) with the 1302 terminal block to gain access to the pins required to attach an encoder. If you are not using a SCXI chassis, you could use a standard SCB-68.
    Here is a link that discusses how to connect the encoder in great detail.
    http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&36BD71244BB26FC886256869005E541B&cat=75CA12ECD25F39A78625679000743752
    For the most part connect your A line from your encoder to GPCTR0_SOURCE (pin 37 on a SCB 68) and your B line to DIO 6 (pin 16 on a SCB
    68).
    Here is an example in LabVIEW and a KB that explains how to program this in more detail.
    http://venus.ni.com/stage/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E9AD56A4E034080020E74861&p_node=DZ52326&p_submitted=N&p_rank=&p_answer=&p_source=Internal
    http://digital.ni.com/public.nsf/websearch/C6C6632A54DBA7DD86256275005E18E2?OpenDocument
    Note: There are several examples of how to use an encoder with the E-Series devices (DAQ-STC) on National Instruments web site in different programming environments. Also, the 660x (DAQ-TIO) devices are the recommended devices for performing encoder measurements.
    Joshua

  • How Do I Configure the PFI Lines as input in PXI 6713 module

    Hi,
    I have PXI 6713 module in my PXI 1044 chassis. I have configured PXI 6713 module to geneate certain analogue signals to my board.
    Board inturn process this analogue signal and responds back the status signals through a status register on the board. In my application,the status bits in status register of  the board are mapped to the PFI 0:3 bits on PXI 6713 module ( pins 11,10 , 42 and 43).
    My query is how do i configue the PFI lines as input in PXI 6713 module to read these status bits ??
    May be below explanation could give you little bit more information w.r.to my query.
    When i use NI USB - 6008    module to read the same bits , since this device has 12 digital I/O lines, i could able to read the status bits in to the last 4 digital lines by configuring the those digital lines as input.
    In PXI 6713  module i have only 8 digital lines. These 8 digital lines i have used to send the digital signals to the board. I am left with no digital I/O lines. Hence i couldn't use these digital lines. I am left with only one option to use. Theya re PFI lines. Moreover the status bits in the pin out of board are mapped such that the bits can be read through the PFI lines.
    I am wondering do we have any example code to use  inorder to read these status bits on the board using the PFI lines.
    Please let me know if you need additional information to help me out.
    Thanks.
    Solved!
    Go to Solution.

    Hello There,
    When using the PFI pin as an input, you can individually configure each PFI for edge or level detection and for polarity selection.  This PFI information can be referenced in the DAQ Analog Output Series Manual on page 6-1 (http://www.ni.com/pdf/manuals/370735e.pdf).  Unfortunately, the PXI-6713 PFI lines are only capable of timing input and output signal for AI, AO, or counter/timer functions.  The option of creating static DI from the PFI lines is not available for the PXI-6713. However, some cards have this capability.  Newer National Instruments products with PFI lines have the option of setting PFI lines as:
    Static Digital Input 
    Static Digital Output
    Timing Input Signal for AI, AO, DI, DO, or counter/timer functions 
    Timing Output Signal from AI, AO, DI, DO, or counter/timer functions
    (http://digital.ni.com/public.nsf/allkb/14F20D79C649F8CD86256FBE005C2BC4)
    When set as static DIO, the PFI lines are assigned to a different port (eg. PFI0-7 is Port1).  More details about this can be referenced at:
    http://digital.ni.com/public.nsf/allkb/DA2D3CD0B8E8EE2A8625752F007596E1
    http://digital.ni.com/public.nsf/allkb/862567530005F09E8625677800577C27
    Regards,
    Roman Sandoval | National Instruments | RF Systems Engineer

  • Can you do Digital In or Out on the same port (byte) as PFI timing?

       I'm using an M series board with three digital ports.  Port 0 is only for DIO, ports 1 and 2 can be used for DIO or PFI (e.g. clocking, triggering).  My question is:  can I do both DIO and PFI functions on any one port.  For example, on Port 1, I would like to use bits 0 to 6 as Digital Inputs and have an external clock signal go into bit 7 as a clock for Analog Out.  Can the port be mixed like this?
    Thanks,
       Dave
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.

    Dave,
    The DIO lines on any DAQ device that uses the DAQ-STC ASIC can be configured on a per line basis, so using PFI and DIO lines on the same port will work just fine. 
    You can run a quick test on this using the "Gen Dig Pulse.vi" example (found in the NI Example Finder under Browse -> Hardware Input and Output -> DAQmx -> Generate Digital Pulses).  You should be able to generate a pulse on one of the PFI lines on the board, then read that pulse back in on one of the DIO lines of that port using an external connection.
    -Justin

  • Quadrature encoder counter with 8 channels

    Hi,
    I need to acquire the signals (A and B) of four quadrature encoders. The signals have a maximum frequency of about 5kHz and should be read out with about 100 Hz. Is there a device that fulfils these requirements? It seems that a frequency of 5kHz is no problem since e.g. the USB-6008 has a counter for frequencies up to 1 MHz. However, I can't find a simple low-cost device that provides several counters. Does anyone know such a device with 4 or 8 counters?
    No other analog or digital channels are necessary, but a USB connection and Matlab support would be ideal.
    Thanks in advance.

    Depending on your definition of low-cost, the 9171+9401 might suit your needs:
    4 counters capable of quadrature encoder measurements (the single counter on the 6008 only does simple edge counting).
    USB connection.
    MATLAB support via the Data Acquisition Toolbox (according to their website).
    I don't believe NI currently has any other option that meets these requirements at a lower cost.  If USB isn't mandatory, you could also consider the PCIe-6612 which provides 8 counters.
    Best Regards,
    John Passiak

  • Tuning an optical encoder with a linear actuator

    Hello everyone!
    I am trying to get an optical encoder (5 lead single ended, incorperated into an Ultramotion D2 series linear actuator) to read the position of the linear actuator's position to 4 decimal figures precision (0.0001), and the DAQ I am using is NI cDAQ 9121 with 2 channels. I decided to use the 65 mV configuration. The encoder has ground, channels A and B, index and 5V leads, of which I have omitted using the index and channel B. Channel A is connected to the AI+. The linear actuator has a scaling of 20,000 steps per revolution and a movement of 4mm per revolution (point to point configuration of the stepper motor drive ST5-S, by Applied Motion). 
    I am not sure if the above configuration is suitable, but I am limited to the current equipment. I have coded the program using LabVIEW 2014 and, while it seems to give a good estimation of the displacement to the nearest 1 mm,  it is not recording the fractions and counts anything that is 1mm or less as simply 1.
    My question is actually threefolds:
    1) How can I tune the encoder to read the exact measurement to the nearest 0.0001 accuracy?
    2) Am I using an appropriate configuration for the leads?
    3) If the problem is not one of the above, could it be something concerning the DAQ software settings and/or the code itself?
    Thanks for your advice in advance!

    Hey kmhijazi,
    Here I share the most general documentation about using encoders with DAQ devices:
    Using Quadrature Encoders with E Series DAQ Boards
    http://www.ni.com/tutorial/4623/en/
    Then, here’s a second resource where you can find more details that you can adjust to improve the measurement (i.e the Decoding type, which will however depend on your encoder specifically):
    Encoder Measurements: How-To Guide
    http://www.ni.com/tutorial/7109/en/
    And, here you will find how to create a test task in NI MAX to try changing these parameters and test if these improve your accuracy.
    Connecting Quadrature Encoders to a DAQ Device
    http://www.ni.com/getting-started/set-up-hardware/data-acquisition/quadrature-encoders
    I hope this can help.
    Regards,
    >>Daniel C.

  • New M Series DDK Example: High Frequency Measurement with 2 Counters

    This example demonstrates how to configure two counters on an M Series device to measure a high digital frequency. One counter generates a continuous pulse train of a set frequency while the other counts the external signal using the pulse train to latch values. Data is transferred via DMA.
    Use this example to add high digital frequency measurements or DMA data transfer for counter input to your driver.
    Please let me know if you have questions or problems. Thanks :-)
    Joe Friedchicken
    NI VirtualBench Application Software
    Get with your fellow hardware users :: [ NI's VirtualBench User Group ]
    Get with your fellow OS users :: [ NI's Linux User Group ] [ NI's OS X User Group ]
    Get with your fellow developers :: [ NI's DAQmx Base User Group ] [ NI's DDK User Group ]
    Senior Software Engineer :: Multifunction Instruments Applications Group
    Software Engineer :: Measurements RLP Group (until Mar 2014)
    Applications Engineer :: High Speed Product Group (until Sep 2008)
    Attachments:
    gpctex5.cpp.gz ‏4 KB

    You should connect the signal (whose frequency needs to be measured) to Ctr-1, and there gonna be an internal connection between the output of the first counter and the gate of the second counter (as described here).
    You may want to check this link as well.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

Maybe you are looking for