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...

Similar Messages

  • Motion Assistant - Generating Sinusoidal Velocity Profile

    Hi,
    I am currently working on a project where I need to create a sinusoidal velocity program for the pump that I am controlling. It is believed that the person previously working on the project used a LabVIEW VI to generate an XML file to control the pump's velocity. Do you have any idea what VI in the motion suite would be able to do this?
    Alternatively, is there an easy way to create the sinusoidal velocity profile using an EXCEL spreadsheet? And would it be better to use a position profile or a position-velocity-time profile in Motion Assistant?
    Thanks!

    Hi UW-AC-1,
    There is no VI in our Motion drivers that will allow you to do this. However, it sounds like the previous person may have generated an array and then used a Write to XML File.VI (this can be found under Programming->File I/O->XML->LabVIEW Schema). 
    From your post, it sounds like you may want to use a position-velocity-time profile in Motion Assistant. We have some examples of how to do this as well as a Discussion Forum here that discusses where these profiles are located. Hope this helps!
    Mychal F
    Applications Engineer
    National Instruments

  • Motion Assistant - Generating Sinusoidal Velocity Profile Options

    Hi,
    I am currently working on a project where I need to create a sinusoidal velocity program for the pump that I am controlling. It is believed that the person previously working on the project used a LabVIEW VI to generate an XML file to control the pump's velocity. Do you have any idea what VI in the motion suite would be able to do this?
    Alternatively, is there an easy way to create the sinusoidal velocity profile using an EXCEL spreadsheet? And would it be better to use a position profile or a position-velocity-time profile in Motion Assistant?
    Thanks!

    Hi UW-AC-1,
    There is no VI in our Motion drivers that will allow you to do this. However, it sounds like the previous person may have generated an array and then used a Write to XML File.VI (this can be found under Programming->File I/O->XML->LabVIEW Schema). 
    From your post, it sounds like you may want to use a position-velocity-time profile in Motion Assistant. We have some examples of how to do this as well as a Discussion Forum here that discusses where these profiles are located. Hope this helps!
    Mychal F
    Applications Engineer
    National Instruments

  • How can i control the motor movement of stepper motor using a NI PXI 7330

    Good day to all,
    i'm a newbie in programming in motion control of NI. I just want to ask if how can i control the clockwise and counter-clockwise rotation of a stepper motor using NI PXI 7330 module. all i can do is the counter-clockwise rotation using the example vi (Simple one-axis move.vi) found in the examples of LabView 2009.
    Thanks

    what type of limit switch sensor are you using and how did you wire itß What are your MAX settings regarding the limit switches?
    Good day SIr Jochen,
    I am using two reed switch for the reverse and forward limit. I wired the signal wire of the reed switch to the limit ports(forward and reverse Limit) and its ground to the digital ground of the UMI-7764.
    the attachment below is the my max configuration about limit switches
    Attachments:
    max configuration.JPG ‏155 KB

  • To drive Unipolar Stepper Motors using MID drive

    Hello friends I have purchased a RS components MID drive and I want to control a unipolar stepper motor using the same. The stepper motor is having 6 wires. I have used the same drive to run a bipolar stepper motor but I need to know as to how I can wire a unipolar motor to the same.I would like to know the connections and the disadvantages if any in driving a unipolar stepper motor using the MID drive.

    You can drive unipolar motors with the 7602/7604, but you wire them as if they were bi-polar. The user manual (which can be downloaded from the NI web site for free) shows the way to wire the 4-phase motor as a two phase motor on page 26. The basic idea is that you either ignore the center tap - wire Phase A to Phase A, and Phase A' to Phase A', or ignore one of the phases by attaching Phase A to Phase A, and Phase A' to the center tap.
    Hope this helps-

  • 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.

  • How can I output a square wave to control a stepper motor using 7332 controller?

    I have the following system configuration for testing a linear actuator (LA):
    LabView 7.1
    NI FlexMotion 7332 Motion Controller
    NI Flex DMM 4070
    The LA is a stepper motor with Step and Direction of Rotation inputs, as well as some discrete I/O for Power Enable and other functions.
    The LA specification only requires that I send a 50% Duty Cycle square wave signal with frequency less than 300 Hz to it in order to make it step.  The LA has it's own power source.  I only need the 7332 to generate the drive signal and the DOR signal to the LA.  Using some of the example VI's, I can get the LA to work, but I will need to incorporate the functions in to a custom application. 
    How can I weed through the numerous advanced functions the 7332 offers and only generate a DOR signal and a step command at a user-defined frequency.  How do I set up the controller for this?
    Thanks

    Hello,
    All the VIs that you can use to create a pulse train and digital I/O from your motion controller are found in the "Analog & Digital I/O VIs" sub-palette in the "Flex Motion" palette. Use "Load PWM Duty Cycle" and "Configure PWM Output" VIs to create the square wave. Use the "Set I/O Port Direction", "Set I/O Port MOMO", and "Set I/O Port Polarity" VIs to create digital output. I hope you find this information useful. You can learn about the specifics of these VIs and their inputs/outputs in the NI-Motion VI Help.
    Regards,
    Aaron B.
    National Instruments

  • I want to run a stepper motor using FPGA card 7851r with 9474 driver C rio 9151 is it possible or can i do in LABVIEW CVI

    Hello i want to run Stepper with 7851 R FPGA card with 9474 driver of crio chasis but i am not able to understand how to proceed .Or can opt this option by using lab view CVI
    Solved!
    Go to Solution.

    Hi SHV,
    actually I don't know in which context you want to use your existing hardware for your stepper motor.
    1. The hardware, which you describe, is/was used for which application? ( data acquisition, controlling a system, etc)?
    2. Did you buy the hardware especially for the motor application?
    3. You don't know how which signals are required for your stepper motor.
    Here are some basics from NI about motor control
    Fundamentals of Motion Control
    http://www.ni.com/white-paper/3367/en
    NI Motion Control Technical Library
    http://www.ni.com/white-paper/3054/en
    4. Why do you get the idea the digital output module 9474 is suitable for the stepper motor?
    I would recommend to talk directly to the customer support, so we can figure out in detail your aims about
    the application. Contact your local NI office or request
    a service request on following website:
    Service Request Manager
    https://sine.ni.com/srm/app/login/p/tab/getassistance
    Kind regards,
    RupiDo

  • How do I establish serial communicat​ion using LabView to two stepper motors using a motor controller​?

    I currently use an off the shelf motor controller to run my two stepper motors. It already has integrated a firmware software that sends commands to operate each motor. I would like to create an interface where I can send these commands using LabView. If someone can point me in the right direction I would appreciate it.

    Look at the examples for the serial VISA vi.  Something like Basic serial write and read.vi is a good starting point.
    Have you searched for a LabVIEW driver  at the NI LV driver network?   Asked the vendor?
    If you write your own driver with the serial VISA vis remember to open and configure the port only once at the beginning and close it at the end of your program. 
    Message Edited by Henrik Volkers on 07-13-2009 04:21 PM
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Controling four bipolar stepper motors using one DAQ

    hi all
          l've just started using  labview an i am looking to contorl Four bipolar motor  for a spine robot though four stepper motor driver using a NI USB-6211  DAQ each motor will be independent so i am wondering can this this be done with one Daq since there is only two counter outputs on the digtal and the same on the analog.the speed of the motor does not matter as they will be push and pull.

    Hi polarmess,
    Welcome to the NI Discussion Forums and LabVIEW. The USB-6211 has (among other functions) 4 digital outputs and 2 counters. If the digital outputs are not sufficient for your application (e.g. not quick enough) and you also want to control each of the 4 motors individually, then then USB-6211 would not be suitable for this application.
    The NI sales team are always available to provide advise on hardware for specific applications, and I encourage you to call in to your local NI branch to discuss what the most appropriate hardware would be to control your robot. Our contact details are available via the contact link on ni.com.
    Regards,
    Imtiaz Chowdhury
    Head of Digital Technologies
    Brand786

  • 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

  • Control of DMX J SA 17 stepper motor in Labview

    Hi,
    I'm trying to build a simple program to control an Arcus Technology DMX J SA 17 stepper motor via USB. I'm basing my program on the example which Arcus provide on their website, and which I attach in an llb (the program is demo.vi, the rest are sub vi's). 
    The motor also comes with a piece of standalone software for controlling it, and this program works fine - which implies that there is no problem with the hardware or connection. 
    The problem I'm having is that when running the demo, having input some arbitrary positions for the motor to turn to, it returns error 8004:
    "LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
    =========================
    NI-488:  Command requires GPIB Controller to be Controller-In-Charge."
    The error is confusing because the control mechanism does not use GPIB hardware or commands, also the VI was made by Arcus and I would have expected them to handle the formatting of the data inputs correctly.
    Any help would be much appreciated
    Dan
    Attachments:
    PerformaxLV_v102.llb ‏500 KB

    Hi Jack,
    Thanks very much for your help. I've managed to complete the VI now, working as was intended. The principle problem came from trying to use demo.vi as a standalone - it turns out all the vi's in the .lib are sub-vi's apart from utility.vi. This was of course, not at all clear - and I've emailed Arcus recommending that they includ some descriptive documentation with the .lib download. 
    What was happening was that demo.vi was trying to send commands without having first established a communication channel, which is done by two other sub-vi's in sequence (device selector and open device). Also, once communication is established, the motor needs to be sent the command string 'EO=1' to be enabled.
    I attach the final vi I made 'motor control' and the sub vi library, incase anyone working with the same hardware finds them usefull.
    Thanks again,
    Dan
    Attachments:
    Motor control.vi ‏92 KB
    PerformaxLV_v102.llb ‏449 KB

  • 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.

  • 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

Maybe you are looking for