Using a Phidget Motor Controller and attempting to get a feedback loop

Hello! Recently, I aquired a Phidgets 1065 motor controller and a compatible motor with built-in encoder. Currently, I am trying to write a program that allows me to input a position, and the motor moves at a user-specified speed until the encoder reaches that position. However, the original instructions to the Phidget VI's are so vague, I'm not entirely sure how to tackle this problem. Any help would be appreciated!
Thanks! 

It looks like Phidget has a lot of documentation on its website. This webpage might be helpful to get started: http://www.phidgets.com/docs/1065_User_Guide . This user guide shows how to connect the wires. Notice that both the motor control cables and the encoder cables are connected to the motor controller. I believe that the position control loops are performed on this controller/drive itself.
Phidget also has LabVIEW VIs that you can use to set the motor position. This new position is sent to the motor controler through the USB connection and the motor controller will control the motion to that new target position. See this document to get started with the LabVIEW API http://www.phidgets.com/docs/Language_-_LabVIEW#Quick_Downloads . See this document for more information about each of the Phidget VIs: http://www.phidgets.com/documentation/web/LabVIEWDoc/index.html I believe that you would need to look at the section that talks about the servo control module.
Take care,
Jeremy P.
Applications Engineer
National Instruments

Similar Messages

  • Linear actuator, motor controller and labview. Establishing connection.

    Overiew:
    I have a 12VDC linear actuator (potentiometer built in) connected to power and Jrk 21v3 USB Motor Controller with Feedback (http://www.pololu.com/catalog/product/1392). The USB motor controller connects to the computer through USB, actuator's feedback wires connect to the motor controller.
    Problem:
    Establishing connection between the motor controller and labview.
    What I have done so far:
    I installed drivers to the motor controller and windows detects it. NI MAX detects my motor controller (pic attached), but for some reason, when i try to access it through daq assistant in labview it doesnt see it. I also tried accessing it through VISA with no results..
    Help will be appreciated.
    Thanks
    Peter
    Solved!
    Go to Solution.
    Attachments:
    problem.jpg ‏124 KB

    You have a few things you need to look into:
    When you installed the software, did it install a USB > Virtual Com Port dll such as FTDIchip or similar? If so, when you hook up your device, it'll reveal itself as a normal (new) Com Port in Device Manager. You then need to try to talk to that com port.
    If you are trying to use the native USB on the board (as MAX has detected for you), then you'll need to use the .NET framework code provided by the manufacturer (probably written in C#), and make your own Constructors in LabVIEW. If you've never done this, it isn't trivial.
    I would call the manufacturer and just tell them what you are trying to do. They've probably dealt with LabVIEW before, and may have an example to get you started.
    edit: For fun, I followed the link you provided (which doesn't really work). I searched their site for "LabVIEW", and indeed got several hits. This one thing I downloaded (can't resist looking at code) was a gigantic turd ball. However, it did appear to use a normal Com port.
    Richard

  • I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.

    I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.
    In particular, I am analyzing the example "Even Angle Reference Signal Processing (Digital Tacho, DAQmx).vi", whose documentation I am reproducing in the following:
    <B>DESCRIPTIONS</B>:
    This VI demonstrates how to extract even angle reference signals and remove the slow-roll errors. It uses DAQmx VIs to acquire sound or vibration signals and a digital tachometer signal. This VI includes a two-step process: acquire data at low rotational speed to extract even angle reference; use the even angle reference to remove the errors in the vibration signal acquired at normal operation.
    <B>INSTRUCTIONS</B>:
    1. Run the VI.
    2. On the <B>DAQ Configurations</B> tab, specify the <B>sample rate</B>, <B>samples per channel</B>, device and channel configurations, and tachometer channel information.
    <B>NOTE</B>: You need to use DSA PXI-447x/PXI-446x and PXI TIO device in a PXI chassis to run this example. The DSA device must be in slot 2 of the PXI chassis.
    3. Switch to <B>Extract Even Angle Reference</B> tab. Specify the <B>number of samples to acquire</B> and the <B># of revs in reference</B> which determines the number of samples in even angle reference. Click <B>Start</B> to take a one-shot data acquisition of the vibration and tachometer signals. After the acquisition, you can see the extracted even angle references in <B>Even Angle Reference</B>.
    4. Switch to the <B>Remove Slow-roll Errors</B> tab. Click <B>Start</B> to acquire data continuously and view the compensate results. Click <B>Stop</B> in this tab to stop the acquisition.
    <B>ORDER ANALYSIS VIs USED IN THIS EXAMPLE</B>:
    1. SVL Scale Voltage to EU.vi
    2. OAT Digital Tacho Process.vi
    3. OAT Get Even Angle Reference.vi
    4. OAT Convert to Even Angle Signal.vi
    5. OAT Compensate Even Angle Signal.vi
    My question is: How is the synchronization produced at the time of the compensation ? How is it possible to eliminate the errors in a synchronized fashion with respect to the surface of the shaft bearing in mind that I am acquired data at a low rotation speed in order to get the "even angle reference" and then I use it to remove the errors in the vibration signal acquired at normal operation. In this application both operations are made in different acquisitions, therefore the reference of the correction signal is lost. Is it simply compensated without synchronizing ?
    Our application is based on FPGA and we need to clarity those aspects before implementing the procedure.
    Solved!
    Go to Solution.

    Hi CracKatoA.
    Take a look at the link bellow:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=255126&requireLogin=False
    Regards,
    Filipe Silva

  • Switched video settings on my Mac Mini and now the bloody thing shows "Invalid Format" on my TV (used as monitor for years) and I cannot get it to switch back.

    Switched video settings on my Mac Mini and now the bloody thing shows "Invalid Format" on my TV (used as monitor for years) and I cannot get it to switch back.
    What can I do to get it to work again as more than an overpriced paperweight?

    Hello,
    Safe Boot from the HD, (holding Shift key down at bootup), see if you can set a good resolution.

  • I am using a 5D Mark II and I am getting a series of three curved lines on the photos that are under

    I am using a 5D Mark II and I am getting a series of three curved lines on the photos that are under exposed only.  Can anyone help me figure out why it is doing this?

    Everything on the sensor is going to be organized in rows and columns. You can get a bad pixel or a column of bad pixels... or perhaps even a block ... but not a curve. If you're seeing a curve then certainly there must be something else causing this.
    The camera does have two internal filters in front of the sensor, but those are flat and would probably not be the source of a curved reflection.
    If you are confident this happens with more than one lens, then I might remove the lens and use the menu system to put the camera into manual "sensor cleaning" mode. This really just causes the mirror to swing clear (to the roof the chamber) and also causes the shutter door to open and expose the sensor (although the sensor is actually powered down when in "cleaning" mode). This would allow you to visually check to make sure nothing is hanging in the light path.
    I would normally suspect the problem is caused either by the lens or possibly by a filter mounted on the front of the lens (do you use any type of UV filter or other filter when this happens?) The lens itself is curved glass... but since a "filter" would be flat glass in front of the curved glass, a reflection off the curved glass can bounce back off the filter and into the camera. Many "ghosting" problems are caused by the use of filters (and these can be eliminated by removing the filter or reduced by using filters with anti-reflective coatings.)
    Hopefully you can the solution -- but I would probably be looking at the optics as I suspect this is not related to the camera body.
    Tim Campbell
    5D II, 5D III, 60Da

  • I use a 10.8 system and can not get Terminal or Textmate to accept a password. I actually can't type it when prompted. Any ideas?

    I use a 10.8 system and can not get Terminal or Textmate to accept my password by that I mean, neither will even allow me to TYPE it in.
    I need this to edit hosts files. I've used Macs for years but am not that wise on the inner workings. HELP!?

    If you type a password into Terminal it will not appear on the screen at all, just enter it and press return.

  • HT4899 I have NEVER used my icloud email address and am now getting spam mail to services I have NEVER signed up to.  Should I conclude from this that Apple have sold my details on?

    I have NEVER used my icloud email address and am now getting spam mail to services I have NEVER signed up to.  Should I conclude from this that Apple have sold my details on?
    To tell me to mark it as spam is just not good enough.  I do not want this rubbish cluttering my inbox.

    Nobody want to receive spam, but it's a fact of life. Apple is certainly not selling your address on to spammers, and it's possible that the spammer has been guessing at possible addresses and has hit on yours.
    A good third-party program for dealing with spam is SpamSieve - after a training period it's very good at identifying spam and shunting it to a Spam folder where you can check it and delete at your leisure. It works with iCloud.

  • Running 2 stepper motors with LabVIEW using RMV ST400-NT controller and driver

    Hello, I am new to programming as well as motors in general so please bare with me in my attempt to explain myself. I have a project involving laser therapy and I am attempting to control two stepper motors from Falhauber, Type AM2224-R3-AV-4.8. I will be using a RMV ST400-NT controller and driver. Original plan was to use 3 stepper motors for control in 3 axis but realized 2 axis is complicated enough. My power source is an Agilent E3630A. I am new to this whole thing and from what I have read form examples and other posts is that NI drivers seem to work best for these applications. I've written simple programs from examples, reading and watching videos. I want to know whether it's possible for these to work together using LabVIEW and also a nudge to help me get started would be much appreciated. Can someone please help guide me in the right direction, I feel a bit lost when it comes to all this. Thank you for your time and consideration.  Also, I will be using Windows 8 laptop with Labview 8.5. I have attached pics of components I will be using.
    Justo T.
    Attachments:
    photo 1.JPG ‏1150 KB
    photo 2.JPG ‏987 KB
    photo 3.JPG ‏1085 KB

    Hi jtarula,
    I want to preface this response by saying that I am mre familiar with NI controller and driver rather than the one that you have. I am assuming that you are using the dll provided by the manufacturer here:
    http://www.rmv.com/download.htm
    With these, you should be able to interface with LabVIEW using the call library function node. What the controller is capable I am uncertain of. I am certain that you should be able to since another user has commented on the use in LabVIEW before in another forum post.
    I also want to let you know that LabVIEW 8.5 is not supported on Windows 8, which means that you may run into some compatibility issues. Here is the compatibility chart.
    Paolo F.
    National Instruments
    Applications Engineer

  • Just downloaded Yosemite to my iMac (was using latest version of Maverick) and all I get is white screen.

    I just attempted to download and install Yosemite OS to my iMac (was using Maverick v. 10.9.5)
    After the install and restart, the computer freezes at a white screen and will proceed no further with finalizing the installation.

    Appears that you have a hosed installation. Boot into recovery mode and reinstall the OS. Once back up and running, check to see which OS was installed. If Mavericks, then try another Yosemite installation. Hopefully, you saved a copy of that installer outside of /Applications; otherwise, you'll have to waste time, electricity, and bandwidth downloading the ill-designed installer app which blows itself away as part of its installation process.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Had to replace Xserve RAID controller and now I get Xsan Admin: ERROR: duplicate LUN label RAID1-Left1

    I need some help, I had one of my five Xserve RAID boxes fail. The upper controller card needed to be replaced and so we replaced it. But now only one of my volumes is loading and I am seeing the following error in my Console.
    7/18/12 9:23:18.550 AM Xsan Admin: ERROR: duplicate LUN label RAID1-Left1
    This raid box holds three LUNs. the left is split into two with one being the metadata / Journal for the main volume and the 2nd being the same for my secondary volume. The right side of this box is the second volume while the remaining 4 RAID boxes are my main volume. Here is the rub, the main volume is using the left1 LUN and the secondary is left2. The left2 is the one that is not working and when I go into the LUN info the WWN number does not match the actual id on the raid box.
    HELP!!!!
    Thanks,
    Kevin Rosenthal

    Did you try turning it off and on again? I mean, the full SAN shutdown/startup: http://support.apple.com/kb/HT4027
    You're probably seeing "duplicate LUN labels" because the MDC has seen two LUNs with the same label but different serial numbers since it has been online. The serial number (which I think is based off the WWN) would have changed when the RAID controller changed. A reboot should fix that specific error message.
    If the volume still doesn't start after rebooting, then you would want to check the cvlog for that volume.

  • How do I shut off the plug in. I using mac OS10.4.11 and I keep getting a bar to update my plugin. The plugin will not work with os10.4.11. Everytime I go to a

    every time I go to a new site a bar is lowered and ask to update my plugin. I am using mac 10.4.11 G4 The new plugin will not work. How do I shut off the plugin update so I don't get this anoying bar ever time I go to a new web page. If there is no way to shut it off, I'll trash Firefox and go back to Safari. This just started and I'm tired of it.

    to turn off the messages about outdated plugins, enter "about:config" into the address bar of the browser, confirm the info dialog, then search for the preference named "plugins.hide_infobar_for_outdated_plugin" & double-click it in order to toggle it to "true".
    please also note that firefox 3.6.28 was the last build that ran on a powerpc, however if you want to use an up-to-date browser based on firefox you can switch to "tenfourfox" - the downside is it doesn't support plugins at all
    [[Firefox no longer works with Mac OS X 10.4 or PowerPC processors]]

  • I use incredimail for my email and can not get it to work with foxfire for sending links etc

    i will try to email a link and at first it went to outlook but i use incredimail so i need to know how to make it launch incredimail
    == This happened ==
    Not sure how often
    == everytime i try to send a link

    See this KB article.
    [http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox]

  • I used idvd once - worked fine and now just get error messages - why me ?

    right - have had problems with imovies all year !! really fed up - why didnt i just stick to windows ? where u get problems but its much cheaper ??
    i used imovies 09 , i think, have got used to it - but now it keeps crashing - i just want something to edit videos and burn to disc why is this so hard ?
    i am so frustrated !! please someone help !!

    hi bengt
    ok - sorry have been busy tearing my hair out !!
    took my imac to bluewater to be seen to - didnt tell me what they did except i bought a hard drive to transfer my data to back up - worked once when i got it home then same error - im trying your advice out and will see if there is a difference - thank u loads for taking time out to do this by the way
    - ok you asked what camera - i use a sony z1  -
    b if imovie keeps crashing and i trash imovie folder will i lose my work ? - oh i suppose they have backed it up now so i could do this if it crashes again - how do i get imovies back ? do i have to load  the ilife disc again
    somebody else i know has had the same problem with idvd crashing - is this a common fault ?
    anyway - im just waiting for disc to render and will see what happens - its taking 1 hour !!
    thanks loads
    x

  • A. Using first generation ipad ios421 and want to get updated to ios6. I'm not being prompted to update on iPad itself and can't find update in app store. How can I fix this problem?

    I'm using a first generation iPad that's running iOS 421. Need to update to 6.1 but am not being prompted by iPad and cannot locate in app store. How do I fix this?

    iOS upadates are NOT in the App Store. Also, 1st gen iPads do not run iOS 6. 5.1.1 is the most recent version for that model.
    You will need to connect the iPad to a computer running itunes in order to update form anything prior to 5.0. Update over WiFi wasn't available until 5.0.

  • When asked to type in my Apple ID it comes under another persons email address and not mine.  this happened after I updated my iphone on my Mac computer  Why is it using another persons email address and I cannot get it off of there

    When asked to type in my Apple ID it uses a email address that is not mine but is one of my contacts, I cannot access itunes as this is not my email address, this happened after I updated my phone on my Mac computer.  How do I get this email address off so I can use my Apple ID ?

    settings->itunes & app stores->click on the appleID which is not your and log out

Maybe you are looking for