Simple straight line motion control with brushless motor and encoder/mi​croswitch

I want to go build a motion control system/program using labview. I have a brushless motor and a controller and a National instrument DAC (NI USB-6009). This is how my system looks like: receive an input signal 4-20mA, this should be converted to 0-5V for the controller for speed, controller should move motor till it hits micro switch. The micro switch/encoder should generate a signal (5V) back to shut the controller. I want to record the position of the motor in labview. How do I do this? How do I set the system up? Thank you in advance

Controller from anaheimautomation: MDC151-050301
Motor:BLWSG234D-36V-4000-R3     
Controller and motor go together.
The input signal for the system will be 4-20mA. Using this signal I will correlate it to a specific voltage which will drive the speed of the motor. This will displace the lead screw linearly. I will have a microswitch that will be triggered by screw and will relay a signal to shut the motor. I want find a way to record the position of the shaft/leadscrew at that specific point. I want to identify a home position, halfway position and full length travel position. I will use 3 swiches or 1 switch in three positions to identify all these points.
My end result should be whwn I turn on the system or start the program It should detect whether it is at the home position, if not travel to home then respond accordigly given an input signal(4-20mA).
How will I program such on labview...finding all the right icons to record the data is such a mess for me since i'm a beginner.
Thanks

Similar Messages

  • Is the current top line Mac Mini with an SSD and 16GB RAM up to PS CS6 and LR5?

    I currently have a 2007 MacPro 2007 2.66GH Xeon dual core ( 4 cores ) with 9GB RAM.
    I had been thinking of the new MacPro but it will probably be hellishly expensive.  I was thinking of getting a top of the line Mac Mini with 16GB RAM and an SSD and using USB 3.0 and Thunderbolt to run most of my programs and data storage externally.  I use LR5 and PS CS6.
    I was just wondering if the latest Mac Mini was up to the taks with 2-4 GB files and multiple layers?  How well do this little guys hold up?  I know that the power supply is now internal.  Do they run cool enough.... even with an SSD?
    Any Mini users out there care to chime in?

    Well, the big drawback on the Minis is Intel integrated Graphics.
    iMacs & Minis run far too hot  in my Opinion, Apple likely tested them in a 68° F. air conditioned room.
    I myself would be looking into an older iMac, or Widows PC!
    iMac "Core i5" 2.5 21.5-Inch (Mid-2011)... Geekbench: 7241/7970
    iMac "Core i5" 2.7 27-Inch (Mid-2011)... Geekbench:           7844/8565
    iMac "Core i5" 2.7 21.5-Inch (Mid-2011)... Geekbench: 7890/8647
    iMac "Core i7" 2.8 21.5-Inch (Mid-2011)... Geekbench: 10248/10690
    Mac Pro "Quad Core" 2.66 (2009/Nehalem)... Geekbench: 8269/9237
    iMac "Core i5" 2.9 27-Inch (Late 2012)... Geekbench: 9225/10271
    Mac Pro "Eight Core" 2.8 (2008)... Geekbench: 9162/10564
    Mac Pro "Quad Core" 3.2 (2010/Nehalem).. Geekbench: 9850/10440
    MacBook Pro "Core i7" 2.5 27" Late 2011... Geekbench: 10706/11699
    Mac mini "Core i7" 2.6 (Late 2012)... Geekbench: 11367/12807
    iMac "Core i7" 3.4 27-Inch (Mid-2011)... Geekbench: 11648/12651
    Mac Pro "Eight Core" 2.26 (2009/Nehalem)... Geekbench: 11864/13363
    Mac Pro "Eight Core" 2.66 (2009/Nehalem)... Geekbench: 14317/16093
    Mac Pro "Eight Core" 2.93 (2009/Nehalem)... Geekbench: 15572/17619
    Mac Pro "Twelve Core" 2.66 (2010/Westmere)... Geekbench: 20294/22605
    iMac "Core i5" 2.7 21.5-Inch (Late 2012)... Geekbench: 8068/9145
    Mac mini "Core i7" 2.3 (Late 2012)... Geekbench: 10626/11825
    iMac "Core i7" 3.1 21.5-Inch (Late 2012)... Geekbench: 12490/14143
    iMac "Core i7" 3.4 27-Inch (Mid-2011)... Geekbench: 11648/12651... Geekbench: 12857/13772

  • Motion control: PXI 7350 controller and UMI 7774 to interface with third-party driver UDK5114NW2

    Dear community,
    This is about Motion control in Labview: I try to control a step motor by using a PXI 7350 controller and UMI 7774 to interface with  third-party driver UDK5114NW2. The problem is 5 Disable LEDS on UMI 7774 board always lit even when I check "enable" on "Motion I/O setting" in configuration of PXI 7350 motion controller. Furthermore, when I start to control step motor, it is not working and I found disable LED on UMI board still lit. I don't know how to solve this problem. Can someone help me to figure out? Thank you in advance!
    Hau Nguyen.

    Dear Community,
    I said wrong, 4 disable LEDS on UMI 7774 Board instead of 5 as my previous post. Why nobody help me to solve this problem. I can not turn off disable LEDs on UMI 7774 Board so I can not start the strp motor. Please help me!
    Hau Nguyen. 

  • Motion control with joystich

    hi every one I'm tring to contol the nxt using joystich i'm doing a simple program but i have aproblem
    with the first vi the nxt response for x- axis values with out y- axis values the problem is that it the 2 cases are not working in parallel!!
    how ca i use only one case structer
    i have tried the vi avilable in ni about the joystick motion control but i coldn't find a solution !!
    the second is working but the nxt movement is not same as the joy stick position
    (my lab view version is 8.2)
    please any help!!
    Attachments:
    joy_first.vi ‏56 KB
    joy_2.vi ‏42 KB

    Hi Mar-Q,
    i think the direction results from the direction you press the joystick key, and the power depend on how strong you press the key (if it is possible), if not you can measure the time how long the key is already pressed and depending on that you calcualte the power.
    Mike

  • Drawing Straight Line angled path with no wavy distortion when scaled

    Hi,
    I'm a beginner using AI CS5.5, and trying to add  straight lines to a drawing, using the line tool. They are angled about 30 degrees from horizontal, parallel to each other. Used 2pt and color for lines. Everything looks great in AI. When I export the drawing to PNG for insertion as an illustration into InDesign and scale down (45%) the drawing to fit the InDesign page, the once perfectly smooth and straight lines are wavy, almost zigzaggy, slightly distorted. Not a good result.
    Is there a better way to draw straight lines that are on an angle in the drawing so that they are perfectly smooth, and when scaled retain their smooth straight look?
    Any help appreciated.
    Regards,

    Hi,
    Thank you for this suggestion. I just tried this, placing the AI file directly into InDesign, but unfortunately, this looked even worse. The straight lines were even more jagged.
    In Illustrator, these same lines are perfectly straight and smooth. Not sure why it's so challenging to get them to stay straight and smooth after placing the drawing?
    Any suggestions?
    Regards,

  • Can I extend the slideshow horizontal in a straight line but not full page up and down?

    Can I extend the slideshow horizontal in a straight line across the page end to end, but not full page up and down?

    Hi
    Please check these videos for help :
    https://www.youtube.com/watch?v=BDgERSf2a5k
    https://www.youtube.com/watch?v=diUtfwFGI1w
    Thanks,
    Sanjit

  • Transaction control with DI Server and B1WS

    Hi everyone,
    recentily I started working with DI server and B1WS, and talking with friends and with a brief research in the foruns Its seens to be impossible to have a Rollback in database transactions performed with DI server and B1WS.
    Its really true? I mean, I receive the Session ID when I use the login service, it shouldn't be so difficult to have a rollback function with this info...

    Really? Anyone knows?

  • IBAN: no control with Key Bank and Bank Account

    Hi,
    I maintain the IBAN number via SM30 (SAP 3.1I), but there is no control between the IBAN and the corresponding Key Bank (TIBAN-BANKL) and Bank Account (TIBAN-BANKL).
    This means you can enter a valid IBAN whatever the key bank and bank account number.
    Ex:
    BANKS BANKL  BANKN         IBAN
    NL    019    0192331515 -> NL94RABO0192331515
    NL    024    0240640764 -> NL94RABO0192331515
    u2026
    If anyone has resolved this issue ?
    Thank you
    Laurent

    I think, System validates IBAN when you flag "Bank data" check box in country specific checks (General settings). Check this setting in your case.

  • Changes from Visio 2010 to 2013 - highlighting entire line drawing document with text fields and changing line colors

    I work with very large visio drawings that are basically line drawings (network drawings) with text boxes indicating equipment location. We work in future and current drawings, future has colored lines indicating connection type and objects have text in
    them that indicate if they are new by having red text. Current drawings have all black lines and black text.
    Here's my dilemma, previously I would Ctrl+A and then change all text and all lines to black in Visio 2010, everything would change no problem. In Visio 2013 every text box now get's a black border around it, I've tried selecting all text boxes at once
    and trying to remove the line but no luck.
    These drawings are HUGE and it takes me a good hour just to change between future and current where previously it took me seconds. I have many coworkers and we're all experiencing he same issue with the move to 2013.
    Is there a macro or some vb script I can utilize to select all text boxes and remove the black outline?
    Hope you can help!

    try this macro
    Sub Simple()
    Dim sh As Shape, counter As Integer
    ActiveWindow.SelectAll
    For counter = 1 To ActiveWindow.Selection.Count
    Set sh = ActiveWindow.Selection(counter)
    If Len(sh.Text) > 0 Then sh.Cells("Geometry1.Noline").FormulaU = "IF(LEN(SHAPETEXT(TheText))>0,1,0)"
    Next
    MsgBox "All text borders set invisible"
    End Sub
    if in your drawings you have only lines and text label (NOT rectangles, circles and other shapesconteined text for example) this macro can help !

  • Upgrade 2009 base line Mac Mini with aftermarket RAM and SSD!

    Hello people,
    I'm looking to buy a 2009 Mac Mini (base line, 120GB hdd and 1GB of RAM) and was looking to upgrade it with aftermarket RAM (http://corsair.com/products/mac/default.aspx ) to 4GB (2x2GB) Corsair and with an Intel X25-M SSD, most probably an 80GB drive.
    And now comes my question: Based on your experience do you know a better match of aftermarket memmory and SSDs with the Mac Mini?!
    Also i've read that using an Intel SSD X-25M to hook up an Windows XP machine (either bootcamp or VM) is impossible since Windows XP doesn't recognize the SSD. Is this correct? (I need XP in VMware to access an old app that's windows based only, and NO wine sadly doesn't work).
    Thank you,
    Andrei

    Well, the big drawback on the Minis is Intel integrated Graphics.
    iMacs & Minis run far too hot  in my Opinion, Apple likely tested them in a 68° F. air conditioned room.
    I myself would be looking into an older iMac, or Widows PC!
    iMac "Core i5" 2.5 21.5-Inch (Mid-2011)... Geekbench: 7241/7970
    iMac "Core i5" 2.7 27-Inch (Mid-2011)... Geekbench:           7844/8565
    iMac "Core i5" 2.7 21.5-Inch (Mid-2011)... Geekbench: 7890/8647
    iMac "Core i7" 2.8 21.5-Inch (Mid-2011)... Geekbench: 10248/10690
    Mac Pro "Quad Core" 2.66 (2009/Nehalem)... Geekbench: 8269/9237
    iMac "Core i5" 2.9 27-Inch (Late 2012)... Geekbench: 9225/10271
    Mac Pro "Eight Core" 2.8 (2008)... Geekbench: 9162/10564
    Mac Pro "Quad Core" 3.2 (2010/Nehalem).. Geekbench: 9850/10440
    MacBook Pro "Core i7" 2.5 27" Late 2011... Geekbench: 10706/11699
    Mac mini "Core i7" 2.6 (Late 2012)... Geekbench: 11367/12807
    iMac "Core i7" 3.4 27-Inch (Mid-2011)... Geekbench: 11648/12651
    Mac Pro "Eight Core" 2.26 (2009/Nehalem)... Geekbench: 11864/13363
    Mac Pro "Eight Core" 2.66 (2009/Nehalem)... Geekbench: 14317/16093
    Mac Pro "Eight Core" 2.93 (2009/Nehalem)... Geekbench: 15572/17619
    Mac Pro "Twelve Core" 2.66 (2010/Westmere)... Geekbench: 20294/22605
    iMac "Core i5" 2.7 21.5-Inch (Late 2012)... Geekbench: 8068/9145
    Mac mini "Core i7" 2.3 (Late 2012)... Geekbench: 10626/11825
    iMac "Core i7" 3.1 21.5-Inch (Late 2012)... Geekbench: 12490/14143
    iMac "Core i7" 3.4 27-Inch (Mid-2011)... Geekbench: 11648/12651... Geekbench: 12857/13772

  • Ssid access control with WPA Ent and RADIUS author

    Hi, I'd like to control the ssid requested in WPA Enterprise with RADIUS authorization: how to ?
    Is there an attribute in RADIUS IOS or Cisco Aironet ?
    thanks

    Depends on what you are using for a radius server.
    Here are some links that might help.
    http://www.cisco.com/en/US/products/ps6366/products_configuration_example09186a00807917aa.shtml
    http://www.cisco.com/en/US/products/ps6366/products_configuration_example09186a0080921f67.shtml

  • SAP Business Objects Access control with BI4.1 and enterprise authetication

    Hi Team,
    We are on BI 4.1 with enterprise authentication. We are using IDM (oracle waveset 8) for access management. Currently we receive request from IDM and we manually configure user in BI4.1. We are now planning to automate this process, like as soon as user request place request through IDM , his access wil lget configure in BI 4.1
    can we achieve this using SAP Business Objects Access controle or with any other method ? Need your guidance
    Thanks,
    Nivedita

    Hi Andrea,
    1. you configure the BOE Server with the SAP authentication for your SAP server
    1b you configure trust between the portal server and the SAP system
    2. you import the portal iView template as part of the SAP Kit into the portal server
    3. you create a new system (or use an existing one) in the portal system landscape and configure the properties of the Crystal Enterprise properties
    4. you create a new iView based on the portal iView template
    ingo
    I have some difficulties to create a new system, I don't know witch option i should choose.
         System (from template)     
         +BI JDBC System
         BI ODBO-Compliant OLAP System
         BI SAP Query System
         BI XMLA-Compliant OLAP System
         EP 5.0 System
         HTTP System
         JDBC System
         KM Lotus System
         KM WebDAV System
         KM Windows System
         SAP system using connection string
         SAP system using dedicated application server
         SAP system with load balancing
         Web Service System using WSDL URL+
         System (from PAR)
         com.sap.km.cm.repository.manager
         com.sap.km.common.domino
         com.sap.netweaver.coll.appl.gw
         com.sap.netweaver.coll.appl.sync
         com.sap.portal.httpconnectivity.urlsystem
         com.sap.portal.ivs.sl.connector.helper
         com.sap.portal.runtime.application.soap
         com.sap.portal.systems.bi
         com.sap.portal.systems.datasource
         com.sap.portal.systems.EP5
         com.sap.portal.systems.jdbc
         com.sap.portal.systems.sap
         com.sap.portal.systems.webservices
         com.sap.portal.unification50.template
    Thanks a lot
    Selvam

  • I PXI 1010 with Digital Osci, RIO cards. Any simple projects to illustrate PXI with Signal Express and/or using Digital Osc.?

    I have PXI 1010 with card for Digital Osc. Also have ELVIS. Any suggestions on oa simple project to illustrate applications of PXI - using Dig OSc and/or ELVIS. Any suggestions to illustrate PXI with Signal Express exercises. This is for undergraduates in EE Engg.

    Hi, yes, that does help, thank you for your reply.  Signal express does make it easy to work with multiple devices, as I am, though something seems to be amiss with the timing between cards.  For example, setting Signal Express to do nothing more than log data at 100 pts/sec on all channels on all three cards (PCI-6289), and using the software trigger in Signal Express to start the digitization process, and the stop button, to stop data logging, certainly seems to be a very convenient solution.  However, the longer I record (an hour seems to be enough time), the more likely that a signal recorded on all three cards, will not synch, point to point, (comparing signals recorded on channel 0 on all three cards, which I believe should be captured simultaneously through out the recording process, for example) and data recording does not stop simultaneously on all three cards.  I can handle the data logging not stopping simultaneously, but my source signal apparently not being recorded synchronously is a whole other problem, and the impetus for my question.  Thanks for the tip about NI-SCOPE, I was going to start working with that on a different project.
    I am using the most recent versions of SignalExpress, NIDAQmx drivers, etc., on a PC running 64-bit windows 7.
    regards,
    Brian

  • HT200197 When first starting Apple TV for the first time it went straight to the screen with the choices and they were all in French.  I have been unable to get to the setup screen no matter what I do.  I have tried restarting from scratch several times.

    No setup screen when first starting apple TV

    Hey Docbarb2,
    You should be able to change the language by either restoring your Apple TV with iTunes or change the language by following the steps in the second article. Take a look at the article below for more information to either get you back to square one or to at least a language that you know.
    Apple TV (2nd and 3rd generation): Restoring your Apple TV
    https://support.apple.com/en-us/HT202118
    Change the language on your Apple TV
    https://support.apple.com/en-us/HT202799
    Take care,
    -Norm G. 

  • How to create the composite control with textinput,button and grid.

    I have created the application having two Textinput  and three button and a DataGrid.
    1. on click of first button next to "select a value" , a DataGrid will be open.
    and i am using all the functionality of DataGrid.
    2. now by using all of these control i have required to create single composite control.
    plz help me how to create this composite control.

    Right click the graph and select Create>Property Node. On the diagram, find the property node, right click it and first select Change All to Write. Right click again and if you select Properties, you will see a list of all the available properties for the graph. The properties you want are XScale.Minimum, XScale.Maximum, XScale.Increment, YScale.Minimum, YScaleMaximum, and YScale.Increment. You can grow the single property node to have as many properties that you want. Once you have all the properties created, create front panel controls and wire them to the property node. See the attached picture.
    Attachments:
    graph_properties.jpg ‏16 KB

Maybe you are looking for

  • Sync photos from iphone 3gs to pc

    I am trying to sync my photo albums to my pc from my iPhone 3GS, my ultimate goal is to creat seperate photo albums within my photo gallery on my iPhone.

  • SQ02 coded fields

    Hi Iu2019ve coded some custom fields in Adhoc query to output infotype free text (maintained via F9 in infotype). syntax error The code is correct to me, and was tested and worked. I now have an issue when a query is run with the relevant fields I re

  • Convertion of LDAP entries

    We are planning to use iMT to convert our application from NetDynamics 5.0 to iPlanet server. I would like to know if there is an easy way to convert LDAP entries in Production without changing user's password. Thanks --das 763-593-7167

  • Applacation opening

    when I open Mail, Firefox... the windows are always a different size from the previous time...i.e. Mail will open about 4 x 6 then I manual change it to full size, next time I open mail it could be 6 x 8, why will it not stay at the size I changed it

  • Cisco ACS on Virtual Server

    Hi, I have a virtual server running ACS v4.1, when i try and authenticate against Active Directory i get a failed with the Failure-Code of "Internal Error". Does anyone know if this is this a compatability issue? Many thanks Chris