NI Motion assistant Position Profile

HiI am trying to use NI motion assistant to generate position profile so that I can output to ESP300(Newport stage controller) for UTM500cc.1(not supported by NI I guess).
The thing is when I convert the Labivew code, it looks there no way to get position profile from the vi. I need to have the NI hardware to run that vi too.
Is there any way to get position profile from NI motion assistant?
Brad
Solved!
Go to Solution.

Hi changlin!
Have you tried the Get Straigt Line Move Profile VI available on the Motion Assistant palette in LabVIEW?
Kristen H.

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

  • Position-Velocity-Time vs Position Profile

    Hello,
    I have a
    question concerning the behavior of position profile and PVT contoured move.
    In the topic
    “Position Profile-Motion Assistant Help file” says:
    “Position
    profile moves give you maximum control over the position of the move …”.
    And in “Position/Velocity/Time
    (PVT)-Motion Assistant Help file” it says “PVT moves give you maximum control
    over the velocity of the move at certain times throughout the move.”
    So, it’s
    correct to say that the position generated by a PVT based contoured move is “less
    accurate” than the one generated by a position profile in respect to the
    original data points?
    If yes, is
    there any way to know in advance maximum position error?

    Hello DJ L,
    The PVT
    examples work fine. I’m using Motion Assistant 1.2.
    I’m trying
    to do a 2D move that have 2 different velocity profiles. I only have XY
    coordinates, the maximum cruise velocity and the maximum acceleration that my setup
    supports. One profile is used for straight (or almost straight) moves and the
    second at a much lower speed in curves.
    I think
    that what is causing my problem is a constraint that is out of range like you
    said. I managed to get a few points to be plotted by Motion Assistant. But the
    resulting velocity profile is unacceptable for this application (see file
    Profile1.png and PVT_Profile1.txt for data). Adjusting the time index by trial
    and error I get a more appropriate velocity profile for my needs (see file
    Profile2.png and PVT_Profile2.txt for data). The constraints for this
    application are:
    - Go to
    the maximum cruise velocity in the least amount of time (given the maximum allowed
    acceleration).
    - Maintain this
    cruise velocity with the minimum variation until the next change in velocity
    profile.
    - The XY
    coordinates defines a cutting path, so distortions in position should be minimum.
    I’m looking
    for a set of equations that could generate data in the PVT format that meet
    this requirements and it should be possible to put this in C++ program because adjusting
    and testing in Motion Assistant application would not be possible. Could you help me in developing those equations?
    The file “data_profile.xls”
    is one real example and contains XY coordinates with the respective move
    constraints.
    Regards,
    Attachments:
    files.zip ‏141 KB

  • Motion Assistant Contour Array Points - Optimal Array Size?

    I am working with the NI Motion Assistant API and plyaing around with the Contour Move generation where I feed a set of X, Y target points to the Set Contour Move Properties.
    One of the inputs is Profile Calculation Constraint - Array Size, Constraint Value (which would be the array size to use).
    I am wondering if there is a way to calculate the "optimal" array size for any particular move?  I know I can have too few - can I have too many points in an array (being reasonable here and not planning to use the whole 2^32 size allowed).
    Thanks.
    Ryan Vallieu
    Automation System Architect

    Hi Ryan,
    Unfortunately, I'm not so sure I have a good answer for you. I'll evaluate some of the pros and cons below and then ultimately make a recommendation:
    Constraint Type: Array Size
    Pros
    You always have a fixed sized array of setpoints. If you are using a 73xx card, this simplifies setting up your contour buffer. It also avoids using a lot of memory.
    Cons
    For long moves, you could have a long time and large distance between position setpoints. The motion card will do a spline interpolation to smooth the move, but the splining algorithm is only so good.
    If you are sending the contour setpoints to a motion card, you don't know the interval between setpoints (although this isn't difficult to obtain).
    Constraint Type: Sampling Time
    Pros
    Regardless of the move, you always have a fixed time between setpoints. As long as your sampling time isn't too large, even fast moves should execute accurately.
    Cons
    For a long move, you could generate a lot of setpoints that consume a lot of memory.
    Setting up contouring buffers can be trickier.
    Conclusion
    It depends on what you expect the end customer to be doing. I prefer using the sampling time constraint since it is more robust for fast, long moves (and still good for slow, short moves). It will make creating contour buffers more difficult, but there is an example (Two-Axis Smart Contouring.vi) that shows how to dynamically update the buffer. Ultimately, I think it is better to focus on accurate moves than minimizing memory consumption.
    If you decide to go with the sampling time method, I would start with a constraint value of .01, since 10msec is the shortest interval when configuring a contour buffer. Try and generate some position profiles to see how big the arrays are. For optimizing, it is just a tradeoff between array size and the accuracy of the generated motion profile.
    Thanks,
    Paul B.
    Motion Control R&D

  • Motion Assistant and PXI-7354 PWM output

    Hello,
    I have a PXI-7354 Motion Controller in a PXI-1033 rack and I'm trying to prototype a product which has a digital motor controller IC, A3906 by Allegro. The IC is controlled with PWM signals by varying the duty cycle. Now, in the NI 7350 User Manual on page 5-17, it says that "These signals (PWM) are configured in software and are in no way associated with the PID servo control loop." My question is, can I programmatically associate the output of the control loop with a PWM output duty cycle?
    I'm new to Motion Assistant and PXI motion controllers and I appreciate any input.
    Regards,
    Miika Lönnqvist
    Electronics designer, CLAD
    Biohit Oyj R&D

    Miika,
    thank you for the information, but there is no way for the 7354 to drive control signals directly in this fashion. So here are some alternative approaches that could help:
    The 7354 outputs a +/- 10 V control signal. You could build your own circuitry to adapt this signal to the control input requirements of your drive (two voltage to PWM converters; one driven by positive voltage values, the other one driven by negative voltage values).
    Replace the 7354 with an R-Series board. The FPGA on these devices can be programmed graphically with LabVIEW FPGA and it provides both, real-time control and complete flexibility in terms of I/O mapping and control algorithms. Motion control with special requirements is a typcial usecase for these devices.
    You can select from a variety of R-Series boards with different FPGA sizes and I/O setups. If you don't need any analog inputs or outputs, the reasonable lowest cost entry point for your application is probably a PXI-7811R
    Both approaches add some complexity to your current setup. While the first approach is hardware centric, the second approach adds some complexity on the software side. My personal preference is option two, as this provides the highest level of flexibility, which is typically very desirable for a prototyping system.
    In any case I recommend to contact your local NI contact for a more detailed consulting.
    Kind regards,
    Jochen

  • Motion assistant msvcr90.dl​l

    I was trying to run an EXE that I built that uses Motion Assistant to build contour profiles.  I was able to run this last week without this problem occuring:
    I am getting an access violation from LV 11.0 when it is trying to use MSVCR90.dll
    I have never seen this issue whent using NI Motion or boards before.  When I went to reboot Windows 7 (64) wanted to do an update install.
    I am running LabVIEW 2011 SP1 I believe.
    Anyone know what could be causing this?
    Upon reboot I will try again and see what the Windows update installed.
    Ryan Vallieu
    Automation System Architect

    Hi Ryan,
    I'm not sure what might be causing this, but here are a few steps we can take to identify the underlying issue:
    1) Is LabVIEW generating a crash log file when the access violation occurs? If so can you post it here?
    2) What version of NI-Motion is referenced by the EXE?
    3) MSVCR90.dll does not appear to be related to NI-Motion. Is the EXE performing any other notable functions? Particularly in calling external code?
    4) Was the EXE built on a 64 bit system? Does the same error occur on the development (or any other system)?
    Sorry for the long list of questions, but hopefully they will help us narrow down the cause of the crash.

  • How to use the motion assistant functions?

    How do i control the velocity of the motor and the position of the motor using Motion Assistant?

    Hi Jeff -
    I'm noticing the same issue on a trial download. Error message stating I don't have permissions. Which is wierd because I have full admin access.
    I believe the download assistant tools is not requesting permission which installers typically do by prompting an js window input Admin password.
    Currently the installer is not installing to my mac's Applications folder instead asking me to save to a user/myName/
    I am on OSX 10.8.2 Please advise thanks.
    I realize that the download is not application installation, I'm on track thanks
    Best,
    Salina

  • Motion Assistant 1.2 move constraints issue

    Hello,
    I have a contoured motion profile that I want to run using Motion Assistant 1.2 but I don't want to apply move constraints. So I have loaded my data points into a contoured move step and checked "Do not apply move constraints to the curve" option. But even with option enabled, Motion Assistant is applying the values of the Move Constraint tab.
    I'm used to this on a previous version of Motion Assistant.
    Is there an additional step in this version or is bug ?
    Thanks.

    Hello,
    I have a contoured motion profile that I want to run using Motion Assistant 1.2 but I don't want to apply move constraints. So I have loaded my data points into a contoured move step and checked "Do not apply move constraints to the curve" option. But even with option enabled, Motion Assistant is applying the values of the Move Constraint tab.
    I'm used to this on a previous version of Motion Assistant.
    Is there an additional step in this version or is bug ?
    Thanks.

  • Loop in motion assistant specified number of times?

    I was wondering if in motion assistant I can do a loop in my script so that each movement can be repeated many, many times without having to create a new 'step' for each movement? Any help is appreciated.
    Thanks,
    Nichole

    Nichole,
    Motion Assistant does not currently support loops in its environment. What I recommend is that you create your steps with just one pass and then add the loop in the code Motion Assistant generates.
    Rodger S.

  • Motion assistant: Cannot convert to Labview diagram

    Hello,
    I would like to ask for help on problem:  the file generation from Motion assistant to Labview
    Background:
    1.  Use Motion assistant to generate 2 or 3 steps of motion.
    2.  Inside Motion assistant, Use Tools>>Generate Code>>LabView Diagram.
    Result:
    After I doing this, the LabView file is generated.  But, it is a file containing a few control switch (without any other key components to produce the motion control function).
    Thus, what is the problem behind?   
    Thanks
    James

    Good morning James,
    This post appears to be a duplicate of the following thread:
    http://forums.ni.com/ni/board/message?board.id=240&message.id=3878
    Please refer to this thread for the solution.  If am incorrect, please post back and I will do my best to answer your questions.
    Respectfully,
    Jeffrey P.
    LabVIEW Product Management
    National Instruments

  • Motion assistant: Cannot convert to LabView file

    Hello,
    I would like to ask for help on problem:  the file generation from Motion assistant to Labview
    Background:
    1.  Use Motion assistant to generate 2 or 3 steps of motion.
    2.  Save it.
    3.  Inside Motion assistant, Use Tools>>Generate Code>>LabView Diagram.
    Result:
    After I doing this, the LabView file is generated.  But, it is a file containing a few control switch (without any other key components to produce the motion control function).
    Thus, what is the problem behind?   
    Thanks
    James

    Dear Jochen,
    I had tried what you said.
    1.
    Treat read-only VI as locked              :  uncheck
    Enable window explorer for LLB file  :  check 
    Note: basically, I have reset the machine after set the options
    2.
    Uninstall Ni-motion ->  no-reboot -> install again
    After I have do this steps individually,  Nothing has corrected.
    What is the problem then?
    Regards,
    James 
    Note:
    Attached please find the Motion assistant source file for your reference
    Attachments:
    Motion-Part2b.vi ‏9 KB

  • NI Motion Assistant LabVIEW Code Generation Error

    Hello, the following is my current setup:
    NI PCI-7334 motion control board
    NI UMI 7774 splitter board
    3 x NI P70530 Drives
    3 x NI CTP12ELF10MAA00 Stepper Motors
    3 x Power supply units for drives
    LabVIEW 2010
    NI Motion Assistant 2.6
    Motion and Automation Explorer 4.7
    I have built a three axis motion system that I am trying to configure with labview. After verifying that everything was set up correctly, I opened MAX, updated the firmware to my motion control board, and intitialized the controller. Since then, I have created many basic programs using the Motion Assistant Software to test the movement of my device. Everything works fine while using the Motion Assistant software (I have three axis movement, multidirectional control, and can perform various straight line and arc moves). My problems begin when I try to use the code generation feature.
    When trying to use the code generation feature to output a labview diagram, I run into a problem where a dialog box pops up and says "Find the vi named ...."
    Some examples of the names that come up are: Configure Vector Space.flx, Vector Space To Control.flx, Motion Error Handler.flx.
    To be clear the program in Motion Assistant that I am trying to export to LabVIEW code is composed of two individual steps. One that tells X,Y, and Z motors to move forward 25 revolutions, and one step that tells them to move backwards 25 revolutions.
    I have made many other programs in Motion Assistant that run fine, but I always receive similar errors when trying to use the code generation feature to export to LabVIEW. Is there something that I can do to solve my problem?
    Thank you for your help.

    Hi Joe,
    I am using Ni-Motion Assistant 2.6, Ni-Motion 8.1, and Motion and Automated Explorer version 4.7.
    The code I posted is supposed to tell Axis 1 to move 40 revolutions at 400 rpm. It works fine in Ni-Motion Assistant but when I try to generate a LabVIEW diagram I receive the following error, "Find the VI named 'Motion Error Handler.flx'". I have had it search my directory, as well as the disk that I installed both LabVIEW and Ni-Motion but no luck. Thanks for your help.
    Attachments:
    1111.vi ‏9 KB
    1 axis movement.zip ‏8 KB

  • Motion assistant 2.1 code generation...

    HI all!
    I have a problem generating labview code with motion assistant 2.1 ; My labview version is 8.2.1 and I've tried all manner of installs / uninstalls combinations trying to get it to generate labview code. It consistantly gives me the error: Labview templates not found when I try to generate... 
    Any info would be appreciated!

    Hi,
    Thank you for using the NI discussion forums.  It sounds like the problem may be with the NI motion driver.  Have you installed the NI-Motion driver?  This is seperate from the motion assistant.  Once this is installed then you should see that error go away.  If you do have that installed what version are you using? Did you install NI Motion after LabVIEW?  If you did it before installing LabVIEW you may have not included LabVIEW support, which can be corrected by modifying the installation.   I hope this helps. 
    Have a great day,
    GG

  • Motion assistant push button

    Hi,
    I am using Motion Assistant software and labview to control step motors. There is no problem about controlling the motors via Motion Assistant but I want to design a Graphical User Interface in order to control the motors via push buttons in labview. I have designed a GUI with labview (which is in the attachment). I want my motor to run at the input speed rate while the button is pressed and stop while the button is unpressed. But this algorithm doesn't allow this application. It stops and goes on running I don't want it to stop. I want it to run continuously.
    Do you have any suggestions about this application?
    Attachments:
    pushbutton.vi ‏15 KB

    Why don't you use the velocity mode ?
    Attached is a basic template showing how I would do this.
    Attachments:
    Control motor template (LV2012).vi ‏19 KB

Maybe you are looking for

  • Server start fails with "\Java\jre6\lib\ext\QTJava.zip was unexpected..."

    Killed the iop server in preparation for bootstrap. When I tried to start it back up, I got the error below. Get the same message when starting the Weblogic admin server. Rebooting didn't help. Has anyone seen this before? Thanks! C:\GFBT>REM Uncomme

  • Why don't VIs created from VITs automatically class members if the VIT is a member?

    I have an .lvclass that contains a VIT that I use to create methods.  The VIT is a member of the class so that it can access the data members.  However, the new VIs that I create from the template are not automatically members of the class, so I have

  • Is there a problem with the my iPod touch?

    Hey guys, I have had my iPod touch since Christmas and have been experiencing a problem with it ever since. So here is the problem: Sometimes I will listen to music, then pause it, click the button to turn of the screen, but I do not turn it off... L

  • XA and extproc?

    Can I make a call to an extproc function during an XA transaction? I am getting errors and there maybe some configuration issues, but just wondering if this is even possible. Oracle 10g.

  • TNS-12500: TNS:listener failed to start a dedicated server process

    Hello all, I have recently applied a patch on apps tier, after which the concurrent manager is not up & running, while viewing the internal log im getting the below error Check that your system has enough resources to start a concurrent manager proce