USB 6211 with 2 Encoders labVIEW Interface

Hi,
I am trying to use 2 encoders (780251-01) to measure shaft rotation of 2 shafts to assure that they are rotating at the same velocity.  The encoders I plan on using are 780251-01 with a NI USB 6211.  I am seeking assistance on creating a VI.  Any help would be appreciated as I am a beginner to LabVIEW.  In the futiure, I plan to implement a National Instruments load cell. ( 783212-01)

We have a great getting started guide for setting up encoders. The following guide will walk you through creating a DAQmx virtual channel for your encoders:
http://www.ni.com/getting-started/set-up-hardware/data-acquisition/quadrature-encoders
If you need help implementing the virtual channel into your LabVIEW code, we have a video tutorial for that as well:
http://www.ni.com/tutorial/5375/en/
Daniel C.
Applications Engineer
National Instruments

Similar Messages

  • Usage of DAQ USB-6211 with Sound and Vibration Measuremen​t Suite

    Hi,
    Could I use DAQ USB-6211 with Sound and Vibration Measurement Suite ? All examples are based on 24-bit devices (usually with IEPE-on) such as NI 9234 or similar.
    I don't need IEPE, 16 bit is sufficient for my dynamic range, could leave without simultaneous sampling - so 6211 (that I have) is OK for me.
    Actually I'm interested in S&V Toolkit ( or Measurement Suite) as a tool with some specific Signal processing capabilities (for example, short-time FFT etc.)
    Thanks in advance

    Hi sgabr,
    Yes, you can use the 6211 with some of the Sound and Vibration VIs, including most of the FFT functions.  I know that's a little vague -- I don't have a list of which functions do or do not support 16-bit devices, but I did test it out on my system this afternoon.  If there are specific functions or examples you'd like to know about, let me know, and I will try them out.
    You also have the option to download the evaluation version of the Sound and Vibration Measurement Suite.  That way, you can test drive it yourself!
    Kyle B  |  Product Support Engineer  |  ni.com/support

  • Can somebody please tell me the steps to Program USB 6211 with C. Will I get the software to program the device along with the drivers CD that I got when I purchased the Device?

    Is it compulsary that I need to purchase the Labwindows or there is someother way to program the device using C?
    Thanks,
    Diya
    Solved!
    Go to Solution.

    Hey Divya,
    You should be able to run it, but if doesn't work, I found a few links that you may want to look at.
    How Can I Use The NI-DAQmx ANSI C Function Library With Borland C and Delphi? has specific instructions on using the C library of DAQmx with Borland C.
    Can I Make NI-DAQmx Calls From Borland Delphi? will show how to use it with certain versions of DAQmx.
    Regards,
    Jake G.
    National Instruments
    Applications Engineer

  • NI USB 8451 with Sigma Delta ADC interface

    Hello everybody,
    I really apreciate it if you could let me know how can I record online SPI stream from ADS1278 Sigma Delta ADC without any delay.
    Is it possible to use NI USB 8451 card to receive non-interruptable SPI data stream ?
    Thanks a lot,

    Should be possible, as long as your data rate is within the spec of the 8451.   Can't remember it offhand.  What's the clock rate on your data?
    -Matt Bradley
    ************ kudos always appreciated, but only when deserved **************************

  • How to make ROD426 connected to USB-6211 work in Labview

    Hello
    I have a rotary encoder type Hadenhein ROD426 connected to a USB-6211 I/O modul.
    I need to make this work in Labview, so i can read the position for the rotary encoder by angle. I can't find anny tools in Labview that does this.
    Does annyone have anny tips?
    Gøran Steen

    Gsteen,
    There are some examples in LabVIEW's Example Finder (Help menu -> Find Examples...) that might help.  Try Hardware Input and Output -> DAQmx -> Counter Measurements -> Position.  These examples are usually a great place to start.  I looked at "Meas Angular Position-Buffered-Finite-Ext Clk.vi" which looks like it may be of help to you.  You can also limit the example finder to only find examples that pertain to your hardware (USB-6211) by configuring the "Hardware" dropdown in the lower left-hand corner of the example finder.  If you are browsing, check the "Requirements" list in the lower right-hand to see if a particular example works with your DAQ.
    -cb

  • Usb 6211 and LabView - good for IV characteristic aquisition?

    Hi there,
    I pre-emptively declare my lowest level in using LabView and all the annex tools, so my question won't result too silly.
    I need to automatically acquire the IV characteristics for 4 solar devices, so I am thinking about connecting them to the USB 6211 in order to switch from one device to another one.
    My question is: can I use a LabView Program in order to simulate the Voltage signal to apply (range c.ca -1 to +1 V), and then collect the relative current?
    If so, how??
    Many thanks in advance for any sort of help.
    Laura

    http://zone.ni.com/devzone/cda/epd/p/id/5918
    http://zone.ni.com/devzone/cda/tut/p/id/7229
    LabVIEW has a toolkit available for this.  It uses an SMU card but you could simulate that with your 6211 and a current sensing resistor.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • Can I use USB 6008 with LabVIEW 6.1 RT?

    Hi there,
    I've been using LabVIEW 6.1 RT for my applications and so far I haven't felt the need to upgrade.
    However, I decided to try the USB 6008 and I'm learning the hard way that this device will only work with NI-DAQmx and apparently not with the latest NI-DAQ 7.4.2 (legacy)  In fact, I can't see the device in MAX 4.1
    Is there any way I can use the USB 6008 with my 6.1 RT version of LabVIEW ?  or should I send the thing back to NI ?
    I will appreciate your guidance on this issue.
    Thanks a lot,
    at

    Hi at -
    Allisso is right.  There is no way to use the USB-6008 with LV 6.1, because neither of its drivers (DAQmx and DAQmxBase) support that version of LV.  You'll have to either upgrade to a current version of LV or work with another device.  I recommend contacting your sales rep at NI for help.
    David Staab, CLA
    Staff Systems Engineer
    National Instruments

  • LABVIEW programming USB communication with TDS2004B scope

    Is there anyone who has already programmed USB communication with Tektronix TDS2004B digital scope in LABVIEW?
    If that is the case, could it be possible to send me a basic vi that works?
    Thanks.
    João.

    National Instruments has a great library of drivers for various instruments. Most of these include programming examples.
    The drivers are searchable at www.ni.com/devzone/idnet
    The driver for your instrument is available here.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Usb-6211 utilisable avec quelle version de Labview

    Bonjour,
    J'envisage d'acheter une carte USB-6211, mais je lis que l'on ne peut l'utiliser qu'à partir de LV 7.1.
    Or ma version favorite est LV 7.0, pourquoi ne pourrait-on pas l'utiliser avec LV 7.0 ?
    Résolu !
    Accéder à la solution.

    Bonjour,
    Parceque la version de LabVIEW est liée à la version des drivers (DAQmx) pour piloter votre matériel.
    La dernière version compatible de DAQmx avec LabVIEW 7.0 est la version 8.1 comme montré sur cette page :
    Compatibilité entre les versions de LabVIEW et du driver NI-DAQ (Windows)
    Et dans la version 8.1 de DAQmx, le périphérique USB-6211 n'est pas encore supporté (et ne devait pas exister à la sortie de ce driver).
    Cordialement,
    Da Helmut

  • Externally controlled counter direction with USB-6211

    I am using a USB-6211 and created a simple read counter application with the DAQ Assistant. It counts pulses (1 sample on demand) on Counter 0 (PFI0). When I set Direction to Externally Contolled it does not work properly. It counts random up and down. According to the manual my direction input line is Ctr 0 B (PFI1), but the level of this pin has no effect. What am I doing wrong?

    Hello Steffan,
    According to the following Knowledge Base you have cannot use the default settings wehn trying to externaly control the direction of the counter:
    http://digital.ni.com/public.nsf/allkb/1A8818274130FA388625722E00760CC9?OpenDocument
    Since these changes cannot be done in the DAQ assistant you have to use the DAQmx API to resolve this. I have attached a small example that does a simple event count on the source pin of counter 0 (which is also the A input of the counter). With a property node I have set the Counter Direction input terminal to PFI 1 (which is the B input). Now when the PFI 1 is low you will count up, when it is high you will count down.
    hope this helps,
    Regards,
    RikP - National Instruments Applications Engineering
    Message Edited by RikP on 06-05-2008 10:12 AM
    Rik Prins, CLD
    Applications Engineering Specialist Northern Europe, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense
    Attachments:
    Count Digital Events Up-Down USB-621x.vi ‏33 KB

  • How can I use a USB camera with cRIO 9022. Please see my strange problem.

    Hi,
            I would like to use a USB camera with NI cRIO 9022. I used the same USB camera with NI USB 6216 DAQ device and developed a VI(within a PROJECT and outside it). So, It is working fine with NI USB 6216 device when I use the Vision Assistant Express VI and gets detected in its Initialization Window.  Please see JPEG File 3 where I get NO ERROR.
            I am facing a problem when I want to use it with NI cRIO 9022. What exactly I am doing in this case is:
    1) Create a NEW PROJECT
    2) Add Targets and Devices(NI cRIO 9022)
    3) Use the Scan Interface mode
    4) Create a NEW VI under the cRIO 9022 device 
    5) Use a Timed Loop(Synchronized with Scan Engine) for continuous Data Acquisition and Sending from the Analog I/O modules.
    6) Use the Vision Assistant available through the NI Vision Acquisition 2010 Module(I get STUCK HERE! The Express VI opens the Initialization Window, but I don't see the USB camera like in JPEG File 3)
    I am facing difficulties with this HOST COMPUTER, cRIO implementation differences. On my host computer I have the software packages as shown in JPEG File 1, and on my cRIO 9022 as shown in JPEG File 2.
    Can someone guide me how to overcome this and get the USB camera detected when I am using NI cRIO 9022?
    NOTE: If this is a problem with software mismatches on HOST and NI cRIO 9022 device, please see JPEG Files 1 and 2 for available software and Host and cRIO 9022.
    Thanks.
    Amar.
    Attachments:
    NI Vision Acquisition Express Error for NI cRIO 9022.JPG ‏39 KB
    IMAQ and dx Modules Installed on my NI cRIO 9022 hardware(No NI Vision Acquisition 2010 SP1).JPG ‏82 KB
    NI Vision Acquisition Express NO Error for NI cRIO 9022.JPG ‏48 KB

    Only GigE comms are supported on the cRIO Real Time OS. Have a look at the following:
    Machine Vision on NI CompactRIO and Single-Board RIO
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Adaptation of LIFA (LabVIEW Interface For Arduino) to other Arduino compatible boards

    Hello evryone,
     I am trying to use a ''Sakura board", which is an Arduino compatible board, having similar programming as Arduino. This board is manufactured by Renesas; more specifications on it can be found on the following link: http://sakuraboard.net/gr-sakura_en.html
    What I would like to know, is if the firmware used for LIFA to interface Arduino with labview, or the ChipKit firmaware, can be used to this kind of Arduino compatible boards.
    My aim, is to use the Sakura Board for acquiring signals from various pins(Be it digital or analog), and setting other pins (Digital) parralelly, using labVIEW, as this is done using LIFA, or LabVIEW interface for ChiKit!!
    Thanks in advance for your support.

    I haven't had any experience with the Sakura board, so can only go on the information on the website.
    I've used the Arduino LabVIEW interface previously, and it basically uses serial communications between the PC and the Arduino. This serial interface is provided by the on-board USB-serial converter (an ATMega8u2 running custom firmware).
    From what I can tell about the Sakura, it appears as a storage device when plugging into a PC, and doesn't seem to have a USB to serial converter. If this is the case, then the LIFA toolkit won't work. That said, my understanding of the Sakura board may be incorrect (for example I'm unsure what operation modes the slide switch changes between). If you can confirm it has a USB-serial port then LIFA may work. I guess the key thing is that the serial port is required.
    You may be able to use a software serial port (http://arduino.cc/en/Reference/SoftwareSerial) on the Sakura to communicate with a PC, though that would require a PC with a serial port, or an external USB-serial converter. This approach would also require you to modify the LIFA arduino code (located in vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base) to reference the software serial port. It's probably a long shot that this will work, as the software serial library has been written for AVR chips, making use of their specific internal timers.

  • How to send TTL output AND acquire AI voltage data using USB-6211

    Hello,
    I am relatively new to Labview, so please bear with me.  I have a research application involving 2 pressure transducers and a high-speed camera.  I wish to acquire analog voltage data from the 2 pressure transducers.  However, at the start of the acquisition, I will need to send a single TTL output to trigger the camera.  This TTL pulse must be sent out at exactly the same time that the AI acquisition begins, in order to ensure that my 2 pressure measurements and camera images are 'synchronized' in time.
    Is this possible on the USB-6211 running with LabView 8.20?  I currently have a fairly simple LabVIEW vi that uses a software trigger to start an AI acquisition - I have attached it with hopes that it may help anyone willing to assist me.  I would prefer to be able to simply add something to it so that it will output a TTL pulse at the start of the acquisition.  
    Thank you in advance.
    Regards, Larry
    Message Edited by Larry_6211 on 12-19-2008 11:24 AM
    Attachments:
    USB6211_v1.vi ‏212 KB

    Hi All,
    I'd like to clear a few things up. First, you'll find that if you try to set the delay from ai start trigger and delay from ai sample clock to 0, you'll get an error. Due to hardware synchronization and delays, the min you can set is two. Note that when I say two, I am referring to two tick of the AI Sample clock timebase, which for most acquisitions is the 20MHz timebase. I modified a shipping example so you can play around with those delays if you want to - I find that exporting the signals and looking at them with a scope helps me visualize what is going on. The Manual has some good timing diagrams as well but it looks like you've already hit that. The defaults would give you a delay of  250ns from the start trigger - is this too high for your situation? What is an acceptable delay? I tend to think that "exactly the same time" is a measure of how precise rather than an absolute (think delays in cable length making a difference.)
    With all that in mind, I see a few options:
    Start your camera off of the AI start trigger (an internal signal) and just know it is 250 ns before your first convert. 
    Export the convert clock to use as a trigger. This assumes your camera can ignore the next set of convert clocks.
    More complicated option: Internally you have an ai start trigger, sample clock and convert clock. From your start trigger to the first convert is 250ns but if you export your convert clock you're going to get future convert clocks as well. One option would be to generate a single triggered pulse using a counter (start with the  Gen Dig Pulse-Dig Start.vi example) with the AI start trigger as the trigger for the counter, an initial delay of 250 ns, and a high time of whatever you want it to be. This should give you a singe pulse at very close to same time (on the order of path delays) as your first convert clock. 
    Hope this helps, 
    Andrew S
    MIO DAQ Product Support Engineer
    Getting Started with NI-DAQmx
    Measurement Fundamentals
    Attachments:
    Acq&Graph Voltage-Int Clk.vi ‏37 KB

  • USB Communication with Cygnal Kit C8051F320-TB

    Hi i am using Cygnal development kit C8051F320 - TB.
    I want to communicate it with LabVIEW.
    Some members in discussion forum earlier have posted queries regarding communication with LabVIEW to USBExpress development kit from Cygnal.
    My question is, " is it possible to use same DLL (sif32xusb.dll) supplied with USBExpress with this kit ? " .
    If anybody has tried then please send me vi along with firmware.
    Thanking you
    Ishant

    Hello Ishant,
    Based in the excerpt from the USBXpress programming guide, you should be able to:
    "The Silicon Laboratories USBXpress Development Kit provides a complete host and device software solution for
    interfacing Silicon Laboratories C8051F32x microcontrollers to the Universal Serial Bus (USB). No USB protocol or
    host device driver expertise is required. Instead, a simple, high-level Application Program Interface (API) for both
    the host software and device firmware is used to provide complete USB connectivity."
    It looks like aa1982 got it working on this post:
    usb communication with silicon lab c8051f320
    And both are using the C8051F32x series controllers, you may want to get in contact with the owner of that thread to see if he encountered any problems.
    Xaq

  • USB 6211 DAQ counter

    I am using the circuit and labview program found on the following link and I would like to use a USB 6211 DAQ.  I have noticed that the ctr0 and ctr1 both have multiple pins on the DAQ.  The circuit diagram says to connect one to "out" and the other to "gate".  Do I have to initialize anything or declare what pin i am using, or can i just wire to the "out" and "gate" pins for the respective counters and run the program?  
    http://decibel.ni.com/content/docs/DOC-8665

    Hey,
    At the DAQmx Create Channel.vi you declare what counter you are using with the Physical Channel Input.
    E.g.  you specify Dev1/ctr0 then you have to take CTR0 Out or Gate or Source, depending on the Task.
    Christian 

Maybe you are looking for

  • How can i check if my apple care is on my name?

    Hello, i have got a mac book from someone and it has already had the apple care on it. I just called apple care to switch the ownership of apple care to my name, but i still wonder if the representative has changed for me. So i do not have to worry i

  • Thunar-archive-plugin not working with Ark

    I'm trying to use thunar and ark together. Drag'n'drop from Ark to Thunar does not work. (Drag'n'drop from Thunar to Ark does however work.) Extract Here/Extract To from Thunar's context menu gives the following error: Failed to extract files No suit

  • Installing fonts in Solaris 10 x86 10/08

    Hello, I request your help in solving an issue which I am facing. I installed Solaris 10 x86 version on my PC. Installation went on well. I opened a gnome-terminal to enter commands and issued few commands. However, the font did not match my taste. H

  • Consignment issue stock problem

    Hi Guys, One consignment issue sales order of 500 qty has been created but only 139 qty got confirmed. When I check in MMBE for the particular customer, consignment stock is there. 503 qty. Still, cant able to confirm full qty in order. What could be

  • Behaviour of  v$standby_log; during real time apply...

    hi, i would like to understand the behaviour of this view, during REDO APPLY or real time apply using standby redo log configuration. as in my db, when there is a apply in progress i see the status column having value ACTIVE and DBID column has value