How do i use my NI 6216 daq to find a angular position of an incremental encoder

i have a ni 6216 daq baord and an incremental encoder (i dont know the pulses per revolution of encoder). How do i write a labview code to get the angular positon of a motor wihch is interfaced with the encoder. How can i know the pulses per revolution of the incremental encoder.
Thanks.

Hi, 
My name is Thomas and I am an application engineer at National Instruments.
I looked through some of the information we have on file for incremental encoders and found a couple of documents that may be of help to you. 
Follow this link for some general documentation on setting up an incremental encoder to measure the angular position of your motor.
Follow this link for some example code off of which to build your application.
As you alluded to, we are going to need to know at how many pulses per revolution your encoder runs. Which encoder are you using? With a bit of research we can hopefully learn the specifications for your specific encoder. 
Best Regards,
Thomas B.
National Instruments
Applications Engineer

Similar Messages

  • How can i use my ipod mac address to find it?

    simply put, i left my ipod at work. they missplaced it, now i need to locate it... p.s. its only a 3rd gen 32 gig so its not ios 7 campatible ,icloud only works if you have the device and download cloud on to it(and icloud is turned on).....not looking for opinions just looking for options such as: how can i use my ipod mac address to find it?       i do have the mac address

    You cannot.
    If you did not set up find my pod on the iPod itself, then it cannot be tracked.
    Sorry

  • HT201365 How would i use someone else's iPhone to find my iPhone? what App to I need to run to search for my iPhone

    How would i use someone else's iPhone to find my iPhone? what App to I need to run to search for my iPhone

    Settings>general>resets>erase all content and settings.
    That will put it back to its out of the box state. Set it up with your own apple Id.

  • TS3376 how do I use a non mac comupter to find my lost iphone?

    how do i use find my iphone application if I am no on a Mac computer?

    You open Apple's iCloud site and run it from there.
    (96775)

  • How can I use a different Apple ID for Find My iPhone than for iCloud syncing/storage and iTunes purchases?

    I use two different Apple ID's for two iPhone 4's and for iTunes on my PC. I use one for purchases and the other for Find My iPhone on both phones. How can I set up iCloud for both phones using each ID for it's user for storage and backup but keep one ID for purchases and one for Find My iPhone on both phones?

    To better describe what I am needing:
    1. - iPhone 1
    2. - iPhone 2
    A. - Apple ID #1
    B. - Apple ID #2
    On 1. I need A for purchases and iCloud and B for Find My iPhone.
    On 2. I need A for purchases and B for iCloud and Find My iPhone.
    In addition, will iCloud store text messages?

  • TS3376 how do i use the app on itunes to find my iphone

    how do i get find my iphone app to work on i tunes

    firefighter201... The device that is lost has to have had Find My iPhone service turned on in Settings > iCloud > Find My iPhone (Toggle ON) prior to being lost; that being said, iCloud had to have been also activated and signed into on the missing device.
    If the above is true, then using another computer you go to iCloud.com > Sign in with the Apple ID/password used for iCloud on the missing device > Chose Find My iPhone web app button > All devices linked to that Apple ID will then be viewable on the map > Chose a specific device from the "Devices" Button (upper-left corner) > Then you can choose options > 1. Play a Sound ; 2. Lost Mode (lock with a passcode of your choice) ; 3. Erase iPhone (this wipes all data, last resort!!!)
    Find My iPhone App: Download from the App Store onto any iOS device and repeat the instructions as seen above when you sign in with the same Apple ID.
    **Important** For the device to be locatable or for the chosen option to take effect the device has to have a cellular or wifi connection, if it is not locatable using the "Lost Mode" option will alert you via e-mail when it does become locatable.
    I hope this helps!

  • How can I use the app in itunes to find my iphone 4S

    I've gone to itunes to use the find myiphone app but it doesn't do anything.  I went to Apps and that is where I see the app.  I need to find my phone.
    Sandy

    Was the "Find My iPhone" feature enabled on the device prior to it beling lost?  If it was not, the only way to find the device is to physically look for it.
    If the feature was enabled, go to www.iCloud.com and search for the device.  As long as the device is powered on and connected to a network (wi-fi or cellular) it can be tracked.

  • How can I use spotlight on ipad air to find docs in pages?

    I was hoping the spotlight would find doc with terms (e.g. Shawl, HOA) in the title, it it doesn't seem to search that deep into apps.  Is this not possible or am I missing something in settings?   I would like to find all docs or PDF files in Pages or iBooks collections with the word "shawl" in the title or content.

    You are not missing anything at all.
    Spotlight will not find files or documents for you. You can see what you can search for using Spotlight in Settings>General>Spotlight Search. You can search for an application, but you cannot search for documents within the applications.

  • How can i use the iCloud

    how can i use the iCloud,i can't find the icon which should need i download

    system preferences - internet & wireless section - iCloud

  • What is time machine and how i can use it

    what is time machine and how i can use it ?

    Hope you may find these articles helpful.
    https://www.apple.com/support/timemachine/
    http://support.apple.com/kb/HT1427
    http://en.wikipedia.org/wiki/Time_Machine_(OS_X)
    Best.

  • How i can use user-exit

    How i can use user-exit

    hi,
    in order to find out the user exits for any tcode,
    1. get the developement class of the tcode from SE93.
    2. Now goto transaction SMOD and press F4,
    3. give in the Deve class in the dev class and Press ENTER
    this will show u the exits for any tcode.
    or execute this report
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    which gives the list of exits for a tcode
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
    For information on Exits, check these links
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    Regards
    Anver

  • How do I use two DAQ cards in one Labview code? Current I'm getting error " error 200558 occurred at DAQmx Create Channel.vi. One task cann't contain multiple independent devices". Can someone help me?

    The two DAQ cards are NI PCI-6070E & NI PCI-6052E. The Labview I'm using is labview 7 Express and the Window system is Window XP. I'm using NI SCXI-1000 chasis and SCXI-1102 & 1102B two modules plus a feedthrough SCXI-1180. 1102 is connected through SCXI-1349 cable to DAQ card 6052E while 1102B is connected through SCXI-1349 cable to DAQ card 6070E. SCXI-1180 is connected to 6070E through SCXI-1349 adaptor on the back of 1102B.

    Sarah, thank you for replying my question. It seems that I'm making progress everyday (smile). I'm able to run the test using both daq cards in my code now. But as I'm moving forward, I'm getting new questions too. How do I use one STOP button to control both tasks and how can I save data into one single file?
    I attached my code here hoping you can get the specifics on my application by looking at the code. Thanks very much!
    Thanks.
    Attachments:
    DAQmx_Task_Example_plus_voltage_2.vi ‏416 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

  • How can I use USB camera with NI 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:
    Host Computer Image or Vision Acquisition Software Installed.JPG ‏91 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

    When you select My Computer, you are running the program on the PC.  In this case, the camera works because it is connected to the PC.  The scan engine doesn't work because it needs to run on the cRIO, not the PC.
    When you create the program on the cRIO, you can use the scan engine because the program is on the cRIO.  You can't use the camera because it is back on the PC, and can't be found on the cRIO.
    The project is a wonderful tool, but it may be making the programming seem too simple.  It may not be clear to you that by moving a program to a different location (PC or cRIO), it is running in an entirely different environment on a totally different machine, even though it is just a little further down in the project.  You can't easily access the hardware on one machine while running the program on the other.
    So the summary is:  The camera is attached to the PC.  The scan engine runs on the cRIO.  Never the twain shall meet.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How do I use AO update in the Route signal.vi

    Hi support,
    My goal is to create a waveform (to buffer it) and output it using the analog card (PCI-6713) N times and with the frequency F. Apperanlty this is done using a (actually 2) digital counter(s) on the PCI-6602 card.
    This is done using route signal.vi using "AO update". However I have not managed to get it working. I only get error -10341. So my questions are how do I do it? More specificly how do I use AO update in the Route singal.vi Do I need to conect the cards in any perticular way (cabels or so)? Also do you have more information about how the vi route signal works (the help file does not help me much)?
    Grateful for all help.
    I'm using labview 6.0 as developpement platform, and using the PCI-6601, PCI-67
    13 and a PCI-7344 cards. Since the program is quite large I will only send a portion of it, the pulseGen is supposed to generate the waveform (loaded as a text file, also submitted) the digital output used is in case 1 (in pulseGen) the analog output is in case 3. The MissingWaveform.vi is just to ensure that a waveform is supplied to the pulseGen.vi
    Sorry about the mess.
    /Chatri

    Cabling and Interfacing between Boards: You have capability for direct simultaneous connection between 6713 and 6602 (also 6601) via the RTSI bus, but you need to get a cable to connect between the boards. You can connect between the boards using the I/O pins of their respective signal conditioning hardware. These connections are slower. There are also PFI (Programmable Function Interfaces) connections that are set within the VI's.
    All that said, it is not obvious why you want to use the RTSI. You can use the PCI-6713 to generate AO. Presumably you have some signal conditioning accessory; which ever pin of that accessory the AO appears on, you wire it over to the SC accessory for the 6601 and the appropriate pin for the counter gate or
    source you want to use.
    Suggestions: Don't try to work in the context of your big VI for now. Get the AO bit and the counting bit to work together by themselves. Then shoe-horn them into the big VI. Also, consider a call to the NI help line. They are very good. 800.433.3488 (800IEEE488)
    In case you hadn't noticed the DAQ cards and Counter/Timer cards come in different flavors and there are specific example VI's to suit. 6602 uses NI-TIO chip, but PCI-671X are DAQ-STC. Again the NI help people are good at catching this kind of stuff.
    Your question is rather large and hard to manage. Perhaps if you break it down into small chunks the advise will be more free flowing.
    mike

Maybe you are looking for