How to control an electric motor using LabVIEW?

Hi,
is there a simple way to control the rotation speed of a electric motor (12V) using LabVIEW?
I have an idea how to achieve this by using NI measurment card, by its not that cheap. Any ideas?
Maciek.
LabView 2009.
Solved!
Go to Solution.

Rubid wrote:
Let's complicate the problem. Is there a way to control the output voltage of the USB port in my PC?
Do you know what a USB-RS232 converter is??
Buy one together with that power supply and your problem is solved
What do you mean with "control the output voltage of the USB port" do you want to drive the motor directly from the USB port

Similar Messages

  • How to control 2 epos motor using microcontroller 50/5

    Hi. i've done a program from epos integrated to labVIEW to control 1 epos motor. i do the program by using the given epos sub-vi to labVIEW, but i only know how to do for controlling 1 motor. Anyone can help me or tell me how to control 2 motors or wad is needed?? thanks for your help :-D
    Solved!
    Go to Solution.

    Hi Spydi,
    up to now, I never did it with two EPOS. But you should first check your setup with the EPOS-Studio. You need to set two different Node ID`s and after this works from the EPOS-Studio <you should do two seperate lines of programming in LabVIEW. I attach some VI`s from maxon which are simple in using for one EPOS. I assume you just need to program them in parallel.
    And you don`t need the CANopen Library, it`s possible to use but very difficult. The EPOS-Library from the download is a Set of VI`s which where developed by maxon in Switzerland and free of use, they use a Communication DLL behind. If you`re interested maxon develops a new release right now. If you want to use them instead of the one you already had, let me know, I can ask there for a BETA and place it here at the forum.
    Kind regards
    Alex Rudolph
    NI Switzerland
    Attachments:
    EPOS Module.zip ‏77 KB

  • How to control a 1hp motor using input from battery voltages

    I'm brainstorming ideas on how to control a motor based on an input from battery voltages. The idea is to monitor battery voltages and output ideal motor speed in order to get maximum effieciency for a specified period of time. The batteries will be recharged with solar panels while the motor is running, so I was hoping to use lab view to get rid of any human calculations or throttle controls to optimize performance. The problem is that I'm not sure if the labview equipment is powerful enough to control a motor of that size. 

    check out this link. i had similar problem but with a less power motors, but this idea should work. NI hardware can support upto 1.6 HP if you configure appropriately
    http://forums.ni.com/t5/Motion-Control-and-Motor-Drives/flyback-diode-value-for-12VDC-12-Amp-motor/t...

  • How to control darwin op robot using labview

    hey eveyrone,
    i have just started working on a project..
    i want to know how to control the darwin op robot using labview.. want to get a head start....
    thanx...

    Hi Preetisar,
    You can use LabVIEW robotics to start your project.
    You can find some informations from our website regarding this Software:
    Overview of the LabVIEW Robotics Module
    <link no longer exists>
    <link no longer exists>
    Robotics Fundamentals Series
    Regards,
    Rémi D.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Les rencontres techniques de NI - Mesures et acquisition de données : de la théorie à la mise en ...

  • How to track position of motor using LabVIEW?

    I have created a VI in LabVIEW that will allow me to control a motor to turn a certain number of degrees and then the motor will provide me with feedback on its final position. For example, I ask it to turn 180 degrees and it will output 180 degrees on the screen when it reaches its destination.
    Is there a way to track the motion of the motor as it turns second by second? For example, at 1 second it is at 30 degrees and 2 seconds 75 degrees, etc. I would like to display this information in a chart/graph or table.
    Any help would be greatly appreciated.

    You can try use chart and wire its input with the output of the motor and put the whole in a loop.

  • How to control the step motor in this situation?

    I have a PHI TRIFT3 ToF-SIMS instrument. The instrument comes with a default
    software. However, the software don't offer fine step motor control. I want to control
    the step motor using Labview.
    I got some info from a Japanese engineer of the company.
    The step motor controller is connect to a card in ISA slot. In the default software, I
    can send command like D2000(distance 2000) and A100(acceleration 100) to "port 2"
    to control the motor. I have a manual of the commands.
    However, I don't know how to send command from Labview. Here is a joysticker
    connected to COM1, COM2 is used for other vacuum control. The joysticker can also
    control the motor..Here are some reply from the company about the control.
    "We do not use special driver for control the step motor.
    This is just sending the serial command via RS232C per command instruction I
    sent you before. The only difference is, to simplify the hardware, we just talk to data acq
    module(wave form card) via PAHOST card(installed in ISA bus slot of the PC)
    to passthru the RS232C command to stepper motor control unit.
    If you try to talk to step motor. just send the RS command from Labview
    platform. (of course need to connect the step motor controller from PC,
    default TRIFT PC does not have a spare COM channel, might be need to add
    serial etension card or add the computer for Labview control)
    "TRIFT PC passthru the RS232 command throught ISA bus to PHI data
    acquisition box to stepper motor control.
    Joystick handled by default software , convert to stage movement
    command X and Y then send thru to ISA. "
    I tried to use the Basic Serial Write and Read.vi to send command to COM1 but I always
    get an error"1073807246 ocurred at property node(arg 1) in VISA configure Serial prot(Instr).vi->
    Basic Serial Write and Read.vi  Possible reason: VISA: the resource is valid, but VISA cannot access
    it."   I think this happens because the default software is also open and trying to control COM1.
    What should I do to accomplish the step motor control? Thanks a lot

    Just to start from scratch, have you verified that you can do basic communication with your serial port, ie successfully perform a loopback test?  Please let me know, and we will go from there.
    Logan S.

  • How to run stepping motor using LabVIEW

    Hi
    I need to run bipolar stepping motor using LabVIEW 6.1. Would anyone please guide me how to do that.
    I have measurement and automation 3.1.0.3021 installed on my system. I am new to LabVIEW.
    Jayaprakash.

    Hi,
    Do a search for the words "stepper motor" in the forums. This should bring up several threads where this has been discussed.
    -Sal

  • How to draw the circle diagram of induction motor using labview

    hi
      i am trying to model the  electrical machines using labview..
    i want to know that is it possible to draw the circle diagram of induction motor using labview..........
    if its possible then please suggest me the possible ways.
                                                                                         thanks

    There may be better ways, but the method I used was to convert amplitude & angle to rectangular coords, then create an XY plot from (0,0) to those coords.  (Or 1 plot for Voltage, 1 for Current, etc.)  I would then just keep updating this plot and feeding it to the graph in a loop.  The result was a slightly choppy looking but useable animation of the phase vectors.
    -Kevin P.

  • Controlling a solidworks model using Labview

    I am an intern working on a project where I have to controll a solidworks model using Labview. I have to make straight 3-dimensional as well as pan and tilt. I am working with Labview 2009 and Solidworks Office Premium 2007.  I have seen the videos on the NI website on how to do something similar to this, but they use Solidworks Office Premium 2009. 
    First of all, is it possible to do this using the 2007 version?
    Would I need to purchase any extra Toolkits for Labview?
    If it is possible with the tools I have, I would appreciate any help so that I know where to begin.
    Thank You

    Hi,
    Here are some webcasts explain what you can do with this Toolkit:
    NI LabVIEW-SolidWorks Mechatronics Toolkit (Alpha version 01)
    Mechatronics Web Cast Series: New Technologies Enable Virtual Machine Prototyping
    Mechatronics Series I: Mechatronics Basics - Virtual Machine Prototyping Overview and Business Benef...
    Thanks and have a great day.
    Esmail Hamdan | Applications Engineering | National
    Instruments

  • Control a servo motor thru labview.

    I want to control a servo motor thru labview. I have the following hardware: servo motor, electro-craft bdc-12, s8vm-15024 cd power supply, NI PCI-7831R, and scb-68 circuit board. I am new to the field and I have no idea how to connect the amplifier to the circuit board and create a program in labview to control the motor. Thank you for your help.

    reposted here: http://forums.ni.com/t5/LabVIEW/I-want-to-control-a-servo-motor-thru-labview/td-p/1651742

  • Sinusoidal velocity profile of a stepper motor using labview

    Hi I am trying to get sinusoidal velocity profile of the stepper motor using labview.
    Could anyone please help me out...

    I'm also really interested in this solution.
    I think you could do it by controlling the velocity of the stepper with points (excel) or function maybe... but that's an idea...

  • How to control PO Release strategy using WorkFlow

    please tell me how to control PO Release strategy using WorkFlow.
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on May 31, 2011 9:35 AM

    Hi,
    Yes they are same unless you differentiate by using
    1> Purchasing Document Category i.e CEKKO -BSTYP
    A.....     Request for Quotation
    F......Purchase Order
    K......Contract
    L......Scheduling Agreement
    So if you just create a characteristics for CEKKO-BSTYP then maintain its values only for F so it will not be applied to RFQ

  • How to control steps of a step motor using labview?

        Hi, I'm really beginner on labview and I need to make a VI to control a step motor. For each n steps, a sensor must observe the position of a mechanism and save in a table based on the number of steps taken. I've already have the sensor's driver, but I don't know how to comunicate labview with the step motor.
       I've seen some samples here, but they weren't enough. I need to buy some specific hardware? What's the difference between using VISA and Motion NI 77xx? Where I write how much steps I want it moves?

    HI 1M2S,
    You have many ways to communicate LabVIEW with a step motor. Are you using a IC step motor driver or a NI module step motor driver?
    If you a using an IC step motor driver you can use serial port or DAQ digital output to control the step motor steps.
    If you are using a NI step motor module you need use NI Motion functions.
    Best regards,
    Abel Souza
    Engenheiro de Aplicações
    National Instruments Brasil

  • How to power a motor using labview DAQ output signal

    The power from labview is not enough to move a decent-sized motor (works with tiny one). Is there any electrical component/device that I can use to sort of increase it (something in between output from labview and the motor)?
    Thanks

    LabView is a software and does not supply any physical signals. To generate physical signals you need an interface board, NI has plenty of them which can be controlled via LabView. Anyhow, as you mentioned, digital i/o interfaces can handle currents in the mA range only. I think the best way to control motors via LabView and an interface board is using an additional relay driver board. Since relay contacts only switch power and do not supply any power you will need an external power supply matching the voltage and current specs of the motor.

  • Controllin​g a Servo Motor Using LabVIEW, Phidget & Mac OS

    Can anyone help me with this problem? 
    I'm attempting to control a servo motor attached to a Phidget, using a VI in LabVIEW on a Mac. The Phidget works fine with the Mac, LabVIEW works fine with the Mac, but there seems to be a problem combining the three. The problem I'm encountering is that the examples on the Phidget website (www.phidgets.com) for LabVIEW use ActiveX. Can anyone suggest a solution for this? Is it possible to use one of the control options in LabVIEW (GPIB, VISA, etc etc.) instead?
    I'm not great with computers so really have no idea where to start. 
    Thanks!  

    Thanks for your reply Jeff! So I can insert a CIN to the block diagram, right click and use the 'create .c file' option, insert the example code for controlling the motor from the Phidgets website (after tweaking it to make it specific to my setup) and that should work? How do I load the C library? Or a better question may be, what is the C library? (I wasn't joking when I said I'm totally new to this!)
    I've been working my way through 'C for Dummies' this week but I have to admit, the bit about header files and libraries lost me. I downloaded a bunch of stuff from the Phidgets website, including the phidget21.h and phidget21.lib files...do I '#include' both of these at the top of the example code?
    I've been in touch with the Phidget Support team (who are indeed great!) and received a similar reply ("You would have to call into the mac Phidget21 Framework directly").
    Once the CIN is all set up do you know what degree of control I'll have over the motor? The aim is to have the motor move in steps from -60deg to +60deg around a central point. Would this need to be defined in the code and then linked into LabVIEW or is this something I could control from within LabVIEW? The idea of my project is to use the motor to move a light source around a sensor. The sensor is hooked up to an NI DAQ that will record and display values (after some manipulation) on the front panel. I hope to display the sensor values and the corresponding motor position values.  

Maybe you are looking for

  • Using External HD for iTunes library.

    Hi All, How do I use my external HD to store all my iTunes music and also have my newly imported stuff go to the Ex HD also? I did read about 40 pages of postings and have not found the answer. Thanks COVRC

  • Static coming from microphone

    People I talk to on Skype claim to hear static coming from my end. I ran a test in Audacity and I could hear the static as well. The microphone I'm using is an MXL 990 and I'm using and Icicle Preamp (This thing) to connect the mic to my laptop throu

  • Can i delete the apps that comes with the 5s phone, like itunes, weather and others that i won't be using?

    can i delete the apps that comes with the 5s phone, like itunes, weather and others that i won't be using?

  • FCE 3.5 won't open after installing ProKit upgrade

    Hey all I downloaded and installed using software update what was called ProKit 4.5 (or something like that). Now I can't seem to re-start FCE 3.5. I did try to re-install it but nothing- it'll startup but then not open. Any ideas?

  • Minimum wlc code for 1600 series ap's?

    I have been searching through the cisco docs for a while and i just cant seem to find this info. Can I run aironet 1600's with my wism running 7.0.116? Also, could I run my 1130 series ap's with a wism2? Basically, what is the minimum code level for