USB-6211

Hi, recently, I ordered the DAQ USB 6211, I wonder how do I connect a quadrature encoder to the DAQ meter, I would like to only use a single meter, pin 1-4, my encoder has two channels only, CH A and CH B.

Best regards;
Jamal

Hi jm56789.

I think that the information you are looking for is located on Via MAX (Measurement and Automation Explorer) by creating a task of angular Position for your device.

The default screen that should come has the Configuration tab selected.  In the middle of this component, there is a box that lists the "connections".  In my case, it says channel should be on PFI0 and canel B on PFI1.

I hope this helps.

Michael G

Tags: NI Hardware

Similar Questions

  • OR USB-6211 is used to count climbing on board TTL

    Hello

    I'm new to NOR-DAQ cards, and so before buying whatever it is would like to know if it is possible to use a device, NI USB-6211

    County and bin amounting to edges of a TTL signal.

    What I want to do is to count how many rising edges of a TTL signal I get in a period of 1 ms; a 20 Mhz sampling frequency should be fine.

    I would like to use Matlab to control and read the number of edges that are counted as well as in the meantime write and read digital IO ports from the USB-6211.

    Is it maybe possible to leave the external TTL signal trigger a 6211 counters, an output then periodically (1 ms) and reset the value of the counter?

    Is it possible and if yes, is it a good idea?

    Thanks and regards,

    Manual

    Manual Hi

    In order to generate this signal, I could use a second timer mode continuous pulse Train generation, right?

    -> Right. You can choose between 2 options

    (1) get the signal to another device, for example signal generator or something like that. If you cannot use such a device, you must select the second solution->

    (2) generate the 1ms period square wave with the meter of the USB-6211 seconds

    I don't know a smart way to generate the 1ms period signal without the software side. You need the software to configure the second counter, route the signal to the second counter for the first counter and so on.

    Maybe you can use what is called "panel test" inside the Explorer Measurment & Automation to generate signal. The Measurment & Automation Explorer is a tool provided with the driver for the DAQ cards. The original purpose of this software utility is to configure your hardware, test and so on.

    I don't know if it works, but I imagine that the following solution:

    You use the test panel called inside the Measurment & Automation Explorer to generate the 1ms period signal (see attached screenshot and http://www.ni.com/white-paper/4638/en). You have no additional program to run the test Panel. Box USB-6211, you use a wire to connect the signal output of the meter of second at the entrance to the first counter. After that, you run Control Panel to test the generation of signals for the seconds counter. At the same time, you start your Matlab program and configure only the first counter. You will need to run the Testpanel all the time if you want to run your measurment.

    Not very nice, but maybe the only solution.

    Best regards, Stephan

  • How I ouptut a digital waveform, it has collated and compare it to the original with a usb-6211 box?

    I want a digital waveform to a circuit of output, read the return signal and compare the original to the read signal. I use a usb-6211 housing is it possible and if so, how?

    Use a comparator "equals sign", mark the post as a solution if you have the makings of what you wanted.

  • Bad first USB 6211 data samples

    I work with the USB-6211 and Signal explicit, and for one of my sensors that I will receive entry incorrect for each sampling period. My sample rates and capture rates is at 44 kHz. The first attachment shows the first few samples each period. At the beginning of each sample is the same as the image below, and this only happens on my device of the accelerometer. My other devices do not exhibit this behavior.

    You see, this is explained in your chart title:

    FILTERED entry

    It is an artifact of conventional filter (the step response of the filter you use coarsly)

    You can try to reduce it by mirroring the first ms (?) of data, but usually you just capture some data more and cut.

  • USB-6211 noise problem

    Hello
    I use an NI USB-6211 device, Windows XP, and I have the problem of blood (photo attached).

    My analog differential signal (signal DC to DC power supply) is connected to an analog input in box usb-6211 (AI1 and AI9 ports).

    The signal I get is evolving between 0V the Volt of entry (in the attached photo - 4V) instead of 4 v DC.

    It might be a good idea to test it with a 9V battery using a differential connection with wiring configuration described in the manual (photo and link below). I know it sounds Basic, but re-seats black connector of i/o to the device might help. Make sure you reference GND AI as well.

    http://www.NI.com/PDF/manuals/371931f.PDF

  • Lack of charges, USB-6211 with linear gauge Mitutoyo (542 series)

    I use a USB-6211 box with a race of 10mm Mitutoyo Linear Gage (542 series, model LGA-110). The Mitutoyo has output similar to an encoder without the time by rev signal quadrature. (B has a phase shift of 90 degrees of A). Signals A and B are airline pilots. I have a k 2 5V to A resistance and another 2K to 5V to B, gives me a minimum of 0.05v and a maximum of 4.75V.

    The problem I encounter is that I seem to be missing certain counts that I can't always zero.

    I found that if I caress the complete range of meter and the return to zero in 20 seconds, I get a value close to 180 meter microphone. If I press the complete range of meter and the return to zero quickly in a second, I get a value close to 800 micrometer.

    If I caress the quick pledge on the compression and rebound more slowly, I find myself with a positive value. I caress the slow pledge on compression and quick on the rebound, I find myself with a negative value.

    As I said before, it seems miss me certain counts. With a pulse of each mic of 4 meters, it means I get only 2500 pulses per 10mm. This means that 10mm per second is only 2500 pulses per second. It seems slow for me, so I don't know what would be the problem.

    Does anyone have ideas for me to try?

    With this type of signal you should not missing any counts.  The time base on the box USB-6211 is 80 Mhz and therefore should have no problem to solve your two pulses per train.  I have a couple of steps that I would like you to try troubleshooting.

    1 to ensure that we plugged the inputs correctly to our DAQ hardware.

    2 ensures that we use both the non-reversed or two signals reversed.  Do NOT mix or 'type' of the signal.

    3 allows you to wire signals A and B in two inputs analog and we will try to read signals to ensure that the sensor is actually be set correctly by the sensor.  Be sure to taste pretty quickly--> 10 the frequency of the pulse train.  If you race through 10 mm in 1 sec--> 2500 pulses per second--> 25 kHz sampling rate.   Allows to check two things.  First we have a good TTL signals, and that we get the right number of charges.  If you reply to this thread plaese attach a screenshot of the present.

    4. we will try different encoder types x 1, x 2, x 4 in the DAQ assistant.  The x 2 and x 4 encoder allows the best sensitivity for small movements (which I'm not sure that it is the source of your proplem but it will be a good thing to check).  Types of encoder are discussed in more detail in the following developer area: quadrature encoder measures: How To?

    Let us know how it shapes to the top.

  • USB-6211 w / DAQmx

    Hello all,.

    Asking if any user can check that the DAQmx; Channel Properties node; Filter; Calculation of the average of windowing is supported by the NI USB-6211 OEM Board?

    This feature is essential for the intended application and need to know before ordering.

    Group thank you,

    Chris

    Hi Chris,

    > By 'no it isn't' I assume you mean that it cannot be what I need. Make you that statement, even if you don't know whatever it is general or specific to the needs of my application )

    I wrote "No, it isn't" as an answer to your question. I should write, "no, the AI. AveragingWinSize property is not supported by the NI USB-6211 OEM Board. »

    Brad

  • PWM - output meter (PFI4) USB-6211

    I managed to control a motor based on PWM signal output via USB-6211 AO continuous. Now, I'm trying to use the Terminal counter instead.

    Can't seem to make it work. NA not get a signal when link the PFI4 terminal to an oscilloscope.

    I don't know wheather my coding is wrong or does not have my wiring (i.e. of USB-6211 for motor continuous). I need to use the terminal of meter that I used the analog output to a different measure.

    Please advice. Attached encodings.

    Thank you very much.

    Front of conneting to DC motor, make sure first that the PWM is get generated correctly... use oscilloscope.

    And have you changed the constant (physical terminals) for your device...?

    Change to:

    Dev1/ctr0 & Dev1/PFI4 and the scheme of connection must be:

  • The PCIe for USB 6211 OEM replacement

    Hi you all,.

    We want to change our design to use PCIe card data acquisition, since we had a few USB driver problem in the past. Is the PCIe-6321 a good match to replace the capture USB-6211-OEM card

    Is there a better alternative?

    Thank you

    Fabrice

    Hello Fabrizio,

    Thank you for taking an interest in our line of PCIe cards DAQ. I took a glance at the USB-6211 OEM and PCIe-6321 to see if they are similar in specifications and capabilities. I would say the 6321 is a good match to replace your current USB card. As long as you intend to use no more i/o lines than expected or exceeds the designated sampling rate then it should be a good substitute.

    If you need high speed sampling or more i/o lines for various tasks, then another card can better meet your needs.

    The resources below compares several of our devices (USB and PCIe) X series.

    What is NI X Series? -1. Presentation of the product

    ---

    These links may also be useful during your upgrade:

    Major differences between series E, series M and material X NI DAQ series

    ---

    Guide to upgrade NI X series (USB to USB devices however)

    ---

    Kind regards
    Alex C.

  • Strange analog output of USB-6211

    I just got USB-6211 to replace USB-6001 to set the clock to external sampling on analog output for LED lighting control. The part of external clock example works fine, but the analog output voltage is strange. To do self-monitoring, I connected control pin LED to AO0 & AI0 of surveillance in the NI MAX test panel and LED control on the ground at AO - GND & GND HAVE since I have both USB-6001 and USB-6211, I conducted tests on two of them with the same setting of wire. When I generate sine wave - 5V to 5V to AO0 (from NI MAX test panel), USB-6001 can monitor the same signal AI0, but watch USB-6211 - 3, 4V to 3.4V voltage truncated. I did the test separately (wiring one device at a time), so there is no interference between the two devices. USB-6211 past self-calibration and self-monitoring. Also, I did reset devices. I don't know why they would behave differently with the same configuration, and I hope that someone could help with this question. Thank you.

    Hi skuo1008,

    The USB-6001 can support + / 5 output current my from terminals to analog output, while the USB-6211 box can provide only +/-2 my current output.  It is likely that the load impedance is too low, causing the 6211 to hit its current compliance and thus cut the tension.  If you try to exchange your load with a resistance of at least 5 v/.002A = 2500 Ohms, you should be able to see the full +/-5V sine wave.  I suspect that your DUT has a words 3.4V/.002A = 1700 Ohms impedance.  You could use a device with higher output current or use a more current source buffer circuit.  If you do not need a bipolar output, you might also consider using digital lines to control the LEDs.

    Kind regards

  • Digital magnification of output using USB-6211

    Hello

    I'm trying to use the example of LV "Cont writing dig port - Int clk.vi" to generate a model.

    But I get the error-200077 on the sample clock. The popup error message suggests

    using "we demand", but it doesn't have the choice with the DAQmx.

    Any clue?  Thank you.

    It is correct. USB-6211 case doesn't have a digital time - analog base only. That's why the (63xx) X series cards are supported only for this example.

  • USB-6211 - digital output not supported?

    Hi all

    I can't use the USB6211 device port... I use daqmx with Delphi7 API functions.

    First of all, I tried this:

    DAQmxCreateTask('', @TaskDO);
    DAQmxCreateDOChan (TaskDO, PChar('Dev1/port0'), ", DAQmx_Val_ChanForAllLines);
    DAQmxWriteDigitalU8 (TaskDO, 1, 1, 1, DAQmx_Val_GroupByChannel, $FF, @written, nil);

    I had an error in the DAQmxWriteDigitalU8:-200012 (= digital output not supported). (???)

    OK, I tried to disable autostart option based on DAQmxWriteDigitalU8 and insert a 'manual' start in the code:

    DAQmxCreateTask('', @TaskDO);
    DAQmxCreateDOChan (TaskDO, PChar('Dev1/port0'), ", DAQmx_Val_ChanForAllLines);
    DAQmxStartTask (TaskDO);
    DAQmxWriteDigitalU8 (TaskDO, 1, 0, 1, DAQmx_Val_GroupByChannel, $FF, @written, nil);
    DAQmxStopTask (TaskDO);

    Now, I got the same error in DAQmxStartTask:-200012 (Digital Output not supported, once again). (?????)

    I don't understand.. 'Digital output not supported "? USB-6211 has 4 lines! What is the problem?

    I want to just turn on and off the lines from code...

    -Cs George-

    Well, finally I figured out...

    Here is the solution:

    DAQmxCreateTask('', @TaskDO);
    DAQmxCreateDOChan (TaskDO, PChar('Dev1/port1'), ", DAQmx_Val_ChanForAllLines);
    DAQmxWriteDigitalU8 (TaskDO, 1, @dummy, 1, DAQmx_Val_GroupByChannel, @bitmask, @written, nil);

    Digital output lines are on port1! Corrected parameter.
    And the part of the interface of DAQmxWriteDigitalU8 had to be changed (in nidaqmx.pas).
    I don't know why, but the AutoStart (dummy) parameter in the DAQmxWriteDigitalU8 function is ignored: function always starts task automatically, regardless of the value of autostart. But this isn't a problem for me.

    -Cs George-

  • How to troubleshoot the work of e/s digital USB 6211

    My e/s digital USB 6211 suddenly stopped giving digital output. Board of directors when connected, LED flashes and passes the self-test. But refuses to give any digital output. Can someone help me please?

    Thank you for your time. Technician came and found this Terminal connector was loose. Problem is solved

  • Sampling frequency for the output of an acquisition of data USB-6211 card?

    Hello-

    I use a CGI CMOS FireWire camera to read an interference figure, then using a transformed of Fourier transform spectral interferometery (FTSI) phase recovery simple algorithm to detect the relative phase between the successive shots.  My camera has a linear 28 kHz scan rate, and I programmed my phase retrieval algorithm take ms ~0.7 (of a trigger of camera at the exit of the phase). I use the live signal to control a piezoelectric stack, by sending a voltage single sample to the analog output of a data USB-6211 acquisition card.

    Send this output voltage increases the time of my loop 4 m, I would really like to achieve a 1 kHz or better sampling rate. Is the problem with my DAQ card or with the processor in my computer? The DAQ cards of NOR can support these speeds?

    Thank you

    -Mike Chini

    Hey Mike,

    With USB, your loop rate will be around or under 1 kHz, even on the best of the systems. USB has a higher latency and less determism PCI and PCIe. You can get rates AO one much better sample on a PCI card, potentially a PCI-6221. We have a few HAVE points of reference for targets of RT for PCI, / AO in a loop, you should be able to get similar performance in Windows, but if you do a lot other treatments may suffer from your local loop rates.

    Hope this helps,

    Andrew S

  • Installation of the USB-6211 for DA

    I try to use a USB-6211 housing in a very simple system of Visual Studio C++. The final goal is to continuousely output for both channels to 180 samples per second. At this point, I have the following Setup:

    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateAOVoltageChan (taskHandle,
    devcmd, //physical channel
    ' ', //name assigned.
    -10.0, the production of //min value
    10.0, output value of //max
    DAQmx_Val_Volts, release //units
    "" scale //custom name
    ));
    DAQmxErrChk (DAQmxCfgSampClkTiming (taskHandle,
    "", //source (default OnboardClock)
    180.0, //rate in the samples per second
    DAQmx_Val_Rising, //active edge
    DAQmx_Val_FiniteSamps, finite number of samples (to change) //a
    samples_to_write //samples to acquire
    ));
    DAQmxErrChk (DAQmxStartTask (taskHandle));

    On the last drive, I get the message:

    Non-bufferered of NI by the equipment operations are not supported for this device and the type of channel. I can't make any sense of it. Any suggestions?

    One of your support staff helped on the phone. It appears as a somewhat obscure command

    DAQmxSetWriteRegenMode (taskHandle, DAQmx_Val_DoNotAllowRegen)

    It takes to get buffering to work properly. It is a command badly documented, and there is no real indication that this is necessary.

Maybe you are looking for

  • Why my screen freezes or blue screen appears in normal mode but not safe modes?

    My monitor quivers at the start and in security mode. PC freezes or blue screen during normal mode but not in safe mode.

  • What security software someone recommendfor XP Home?

    I want to delete my CA security and replace it with some mixture is recommended. I use XP Home and have only 512 MB of ram. Are there free options for Anti virus, Firewall, Spyware scanning, and spam? Any help would be appreciated. Cordially walterzg

  • Windows says it can't open my shortcuts and I don't know why.

    If I put a shortcut on my desktop windows says it can't open it and I don't know why

  • Unable to save all the files.

    Some of my text files have not been restored. Is there one to restore these files? When I try to use the files option to restore rather than restore everything, I can see the files Iwant to restore, but when I add them to the list to be restored and

  • PlayBook and SQLite

    Can someone tell me please in the right direction?  I'm looking for the samle on creating a WebWorks for the PlayBook application using SQLite.  I can't find much info.  I would like to bind a control lixtbox to a sql result set.  Can you get it some