DAQ 6008 & 6211 counting

Hi all.

I work with an application that is count the pulses of an encoder hollow shaft renco to measure the distance traveled on a platform single axis powered by a ball screw and controlled by an engine step by step. The encoder is mounted at the opposite end of the motor directly to the ball screws.

That said encoder has 100 impulses per revolution and at the moment im using only 1 channel on its release to make the count. I use the channel of single window on a DAQ 6008 real counting down.

Here's my problem.

When I run the engine at a moderate speed and measure count pulses from a full trip on the axis I get 8200 impulses. If I reverse the engine now and bring it back at the same speed, the full trip will give the same 8200 impulses which is exactly what I want. However, if I run the motor at extremely slow speeds the same 8200 impulses correspond to only 3 quarters of the race on the same axis.

My hypothesis is that at top speed the DAQ 6008 lacks a large number of charges. I am correct in this assumption?  I will soon have access to a DAQ 6211. This will provide a more reliable metering device?.

Thanks in advance guys. I'd appreciate comments.

It is just as likely (if not more) that you are picking up additional indictments at the slower speed - you can confirm enough easily by calculating how many pulses to be emitted during the movement of the platform to the desired distance.

The signal directly from a quadrature encoder can be quite noisy.  The 6008 is only able to edge simple counting, so no noise on a front amount could lead on Board being counted more than once.

The 6211 supports a specific type of channel linear encoder, which configures the meter to use both signals A and B of the encoder.  In this mode, the meter requires alternating the edges of A and B to continue incrementing, which means a noisy transition will always only picked up like an edge.

In case you do not have access to both A and B signals (or if the encoder is particularly noisy for some reason any and produced false edges in the middle of a period of high/low), the 6211 also supports filters PFI (link pdf Manual of use).

Best regards

Tags: NI Hardware

Similar Questions

  • Find the difference of pressure between the two transducers using a NI DAQ 6008

    Hello

    First of all, I'm a relatively inexperienced LabVIEW Developer, so my apologies in advance if this message does not have something, or otherwise lacks clarity.

    I try to develop a VI as follows the pressure difference between the 2 EME 3100 pressure sensors (4-20 my), related to two different pressure lines, using a NO-DAQ 6008. I would like for the acquisition of data to read the two transducers, then have him find VI the differential and write this differential in an Excel file.

    The data sheet for these sensors may be found at: http://www.gemssensors.com/Products/Pressure/Pressure-Tranducers/Sputtered-thin-film/~/media/GemsNA/...  It is a 3-wire system, with a voltage between 8 - 24V. I use an external power supply of generic brand to power sensors, which provides a maximum of 24V @ 4A.

    I drifted my physical connection (for the two transducers) this thread http://forums.ni.com/t5/LabVIEW/I-am-having-trouble-Omega-PX4200-Pressure-Transducers-to-where-I/m-p... and am relatively certain of the accuracy of the information. For purposes of signal conditioning, I use a 500 Ohm resistor between the signal of each transducer and the Earth wire.  On the side of software, I use the latest version of LabVIEW (2011) as well as MAX on a Windows 7 64-bit machine.

    In an ideal world, the sampling rate would be as high as possible, but 4 samples per second would suffice for all purposes useful.

    Given this goal, are there any sample of VI (especially for MAX, which I have not yet used) who would be similar/applicable to this project, specifically, regarding setting a sampling frequency, calibration of the transducers or affecting the pins/channels appropriate? All resources would be greatly appreciated.

    Kind regards

    MG Wilkinson

    Measure the voltage between the two resistance (resistance by probe 4-20 MA) using the differential inputs of the x 600.

    When you configure the task, you can read several entries at once, by entering in "Dev_ / AI0:1" in the physical channels and using the "several channels / {unique |}". multiple} samples"polymorphic instance.

    600 x can read 1kS/sec.

    Do maths/conversions on the table, and then simply subtract the two tables.

    Could also take some samples (10-100) at 1 kHz and their average together, give you a smaller rate effective sampling but with less noise.

    A loop of producer-consumer would be good architecture here, let the daqmx reading live in a loop and sends the data via a queue to a 2nd consumer that performs mathematical operations and write to a file.

  • Continuous output signal using usb DAQ 6008 in matlab


    Hi Takou,

    You already post with the same subject. Is this the same thing, isn't?

    If so, refer to the following link:

    How to get out a sinus with usb 6008 on MATLAB

    http://forums.NI.com/T5/Multifunction-DAQ/how-to-output-a-sine-with-USB-6008-on-Matlab/m-p/1510508#M...

    Best regards

  • DC motor of control using the analog output of DAQ 6008

    Hello

    Since the 6008 DAQ implements not good PWM, can I control the speed of the DC motor using outputs analog, protected by amplifiers?

    This will damage my DAQ?

    Ok.  The engines will be quite low.

    Consider using an LM317 as the "amplifier". Add one or two diodes protection. Connect the AO to the terminal of the regulator with a resistance setting to land.  Your output voltage can go down to 1.25 V and up to minutes (battery-2 V, Vaomax-1,25 V). If you have a battery of 12 V and a 12 V, the maximum speed of the motor engine will be slightly lower than the nominal speed full. The minimum voltage the motor probably will not work.  The regulator has a built in protection against overcurrent and overheating.  It's the motor controller cheaper you can do and works very well.

    If you need to reverse the engines, things get complicated a bit more.  You can use a DPDT relay or a transistor H-bridge.

    Lynn

  • DAQ 6008 must be reconnected

    Hello

    I have a problem during execution of a measure of voltage using 6008 DAQ board.

    I need to reconnect to the Commission whenever I want to measure otherwise if I launch the program, stop and then run it again

    I get error 200284 saying that some or all of the requested samples are not yet acquired.

    Any suggestion is welcome.

    Thanks, Chipet

    Hey Chipet,.

    I looked into this error code for a little bit and found this article that passes on a few common reasons to get:

    http://digital.NI.com/public.nsf/allkb/FEF778AD990D5BD886256DD700770103

    I don't know where this happens in your VI, but I guess it happens when shows you samples. Setting the type of reading you do (finished vs continuous and corresponding settings) could be useful. Here is another article that goes through some of the most common functions DAQmx and when to use:

    http://www.NI.com/white-paper/2835/en

    Hope this helps,

    -KP

  • Traditional DAQ against DAQmx Counter

    I'm trying to convert an existing legacy application written in LabVIEW LabVIEW 2012 6. I have a problem with a traditional Daq counter. Specicically the VI "event or time meter Config.vi. In the attached VI, you can see that 1 meter is configured to count the cycles of an internal signal, not a PIN counter SOURCE signal. This configuration generates an integer for each cycle of the internal signal: every 10 microseconds in this case. I can't find a way to replicate this feature in DAQmx. I use a DAQCard-6062E (PCMCIA Slot) card in a Dell D620 Laptop. I tried to attach a fully functional VI, but get the error 'the content of the attachment does not match the type of file.' to fix this I had to fix a JPG image. I've included comments in VI to clarify things. Any help appreciated. Thank you.

    In DAQmx you can achieve the same result by setting the terminal entrance for a task of edge to the time base County internal 100 kHz:

    The 100 kHz Timebase is considered to be a "Advanced terminal" (don't get started me on the topic) so see in the dropdown menu, you must right-click on the control / constant and select the appropriate name of I/O filtering option.

    Best regards

  • Issues of analog input DAQ-6008, voltage not zero to pin when you are offline

    I use the 6008 NOR-DAQ to produce a series of tensions and then read a sense resistor using the analog input (CSR). I noticed that my analog input gives me 1.3 V, when I probe it (compared to the mass of the device), when it is completely disconnected. This changes the reading to give me a different measure of sense than expected resistance.

    Why is my pin for analog input non-zero? Any help would be appreciated. Thank you!

    The 1.3 V is expected. The USB-6008-and-6009 case have the strangest input of the world circuit. The input impedance is approximately 144000 ohms terminated in 1.4 V. check the document User Guide and specifications.

    Lynn

  • Integrate USB DAQ 6008 program Labview

    I'm new to LabVIEW and am currently writing a vi to access the 6008. I'm using LabVIEW 2012. I installed the driver NOR-DAQmx 3.6, however, the sample code is code c - no vi. Also, I can't see examples of NOR-DAQmx in the finder of the example. I downloaded various examples, but each are missing Subvi which I believe should be installed with the driver. All advice is appreciated.

    Harry,

    1 DAQmx Base is only supported on Mac OS.  You can find petitions on the exchange of idea ask for better support.

    2 DAQmx and all its beautiful examples are not installed on the Mac.  This means that the measurement and Automation Explorer (MAX) is not installed on the Mac and things such as the DAQ Assistant exist (although it is not a great loss).

    3. when DAQmx Base is installed on Mac OS X with LV 2012 you should have the DAQmx Base screws accessible from the measures of e/s palette.

    4 installation DAQmx Base includes a bunch of examples in this direction: Applications: National Instruments: LabVIEW 2012: examples: daqmxbase: However, the example Finder doesn't seem to know they are there, then you will need to manually search.

    One good thing about DAQmx Base is that it is almost entirely written in LabVIEW, so you can see what he does.

    Once you get past the obstacles, the USB-6008 case works well with DAQmx Base and the Mac.

    Lynn

  • I want to vary the speed of a 12v dc fan using a mosfet with a DAQ 6008.Is this possible.

    I am a college project that is to use a data acquisition to monitor and control the temperature. I use a LM35 temperature sensor. I need to control the speed of the fan a12v dc. I use an external power supply of dc 12. I hope to control the fan speed by varying the voltage of 5v to the door of the

    MOSFET. Is this possible.

    Hi shaggydog.

    You can use one of the channels of analog output of the USB-6008 output a variable voltage to the gate MOSFET, this should provide the features you need.

  • DAQ 6008 4-20mA output

    Oh wow, first post and don't even know if it really belongs here, but... in any case...

    I am a beginner and I am a little lost.

    Need to work on a final project and it seems that I do not understand how to turn it on. I need to use a lm35 (temperature sensor) as input to data acquisition and output... to this 4-20mA that controls the speed of an air/fan Extractor.

    At 25 ° C the fan should stop, and gradually increse will get its speed depending on the temperature as in, at 40 ° C is max. And at 50 ° C, necessary of LED lights as a sign "emergency."

    I know that I would need a few resistors in the... Range of 200-250 ohms or more, but... How to connect all this * beep * the output of data acquisition for the fan? because it's just a project I'll use one of these fans of pc/laptop as the "air Extractor.

    Thank you, peace.


  • DAQ 6008 cannot be seen on a mac "says invalid firmware. any help on this

    I'm trying to get my macbook pro to see DAQ6008 of data acquisition, I get invalid firmware error any version OR-DAQmx version I use

    I managed to do the work.

  • DAQ 6008

    Buenas tardes, una duda as tengo para a proyecto...

    Necesito UN tomar el dato Escalin engine UN frecuencia alterna a medida as voy variando, con esta tarjeta themselves can tomar esa frecuencia, o as proceso debo realize?... gracias.

    ¿Me can enviar su VI?

  • 6008 NI DAQ issues of reading pressure transducer

    Hello everyone, I am a new user of labeled and not one expert on electronics, so please bear with me.

    I'm trying to read a signal 4-20 my by a pressure transducer using a NI DAQ 6008 and Labview version 8.6. I am running Windows XP Professional. I'm the transducer, (http://www.omega.com/Pressure/pdf/PX01-I.pdf) providing a voltage of 10 v I have a 235 external resistance ohms between the terminals positive and negative data acquisition (although I am not sure that it is correct). At the start of my VI, I am able to measure a voltage of environ.9 data acquisition (verified by a voltmeter/ammeter) V and a current of environ.39 my.

    My problem is the fact that when I have a supply pressure of my sensor, I have not received any signal whatsoever by the transducer, despite the fact that it is important that the pressure should give me a signal. Is this a problem with my installation, connections, data acquisition (which has been reset in MAX number of times and pass the self-test) or the sensor itself?

    Thank you for your time and consideration

    Hi prenerk,

    You are right that resistance must be connected to the terminals positive and negative a way to HAVE to create a measured voltage to current.  Here are two troubleshooting steps you can try:

    1. check with an ammeter so you are detecting a change in the current when you apply pressure to the transducer.

    2. open the Explorer Measurement & Automation and use a Test Panel to measure the voltage of the device.  This will ensure that there is a mistake in your LabVIEW code.  Also check the MAX pinout diagram to see if your sons are correctly plugged into the channel of GOT it.

    If you have not discovered a problem with the above steps, we will have to learn more about your sensor pressure and how you connect it to the 6008.  We will need the information on the sons of the Omega instrument and how they are connected to the excitation voltage source and 6008.  Let us know how it goes!

    Brian

  • 6211 DAQ high output frequency

    HI guys.

    Ive had my hands on hardware DAQ USB 6211. Im trying to generate a signal of high output frequency of one of the 2 counters. The frequency is of the order of 5 to 20 kHz. Can someone tell me if this is possible with this device USB 6211?. Ive been searching but cant seem to find the answers. Are the counters on this device just to read the entries of high frequency or can also ouput. Any help would be appreciated.

    Thanks for your reply . Ive since found code that does exactly what I want. This isn't in the examples of labview so can someone find it useful. See the attached VI.

  • 6008 daq digital outputs to control relays

    Hi all, I'm looking to help create a VI to send out digital to a daq 6008 to control relays. What I'm trying to do is when you press start and a condition is met send a digital output to control a relay for 30 seconds or so to take a measured voltage to be taken an analog voltage. After 30 seconds, I want the first relay to switch off and the next relay lights for the same amount of time. I want to continue this sequence to 7 readings, blood for every step and send the data to an excel file. I know it's basic stuff, but my experience with labview is limited! Any help would be greatly appreciated.

    Thank you

    Paul

    Hi Paul,.

    I looked on your problem this afternoon and I agree completely Fan Ravens that the state machine is in fact the most appropriate architecture for such a task of data acquisition. A state machine architecture is one of the most commonly used in LabVIEW design patterns and is especially suitable for any program where you have clearly defined the steps that can be represented by the States and rules for the transition between these States.

    There is a model of Machine of State Standard contained in LabVIEW which should give you an idea of the underlying architecture and is a good starting point. To give you a better idea of how this architecture can be applied to a data acquisition task, I would recommend that you look at This example. Although States will be slightly different in your case, this should provide you with a good understanding of how you can architect such a request.

    I hope this helps.

    Best regards

    Christian Hartshorne

    Technical sales engineer

    National Instruments UK

Maybe you are looking for

  • KB3086084 (update rollup 8 for System Center R2 2012)

    Hello I am trying to download this update, but it does not appear on the Microsoft Update Catalog, any idea why not or where I can get this? I downloaded it via Windows Update on a single server but it does not appear in the updates of Windows on ano

  • I can't print from my IPad to my printer HP4500 wireless

    I am trying to print from my new IPad on my HP4500 printer all-in-one wireless and had to send my email address to HP so they could get a confirrational so I can print but I entered my wrong email.  How can I fix it? My correct email is [removed pers

  • BlackBerry smartphone app world without wifi 3g curve

    I bought a blackberry curve 3g yesterday and everything works as usual put. All the email, phone, internet and browsers and bb I'm all work perfectly. And bb app world works WITH a wi fi connection. But when I try to access bb app world without wifi

  • WebVPN more ipsec ASA5505

    Hi all I have 2 active ipsec on ASA5505 (license secplus) tunnel. I would like to activate sslvpn also. Is it possible or there are issues to keep both services? Thank you

  • Get the content type of frame

    HelloI used PlaceFileInFrame() to create the frame and import the file, now I want to get the content type (text or Image) of this created frameworkNo idea how to do?Thank you.