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

Similar Messages

  • 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

  • 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

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

    hi
    I have to control a motor speed using the PcI 7342 controller.
    I have MID 7654/7652 servo motor drive and NI motion assistant.
    MY hardware connections are proper.
    I am using motion assistant to generate a arc move and then generating labview code .
    I have inserted just a knob in the front panel to control the speed and made a slight modification in the block diagram to insert the knob in the place of velocity.
    Now i am not able to stop the motor .
    Can anyone help me to insert a stop button in the labview diagram.
    Should i use configure inhibit output flex or just use the stop button in flex motion.?
    i have attached the labview diagram....
    Pls help me.
    thanking you
    sumitha ravindran
    Attachments:
    labvie diagram.vi ‏49 KB

    Hello Sumitha,
    The code generated by Motion Assistant is designed to run the arc move once and stop at the end of the move. The Arc Move step of the LabVIEW diagram is setup to wait until the move completes before stopping. There should be no need to add a stop button (or the Stop Motion VI) if the motor is configured properly. If this is the case, you should see the VI hanging in the Arc Move step. Is this what you see? Can you perform a straight line (point-to-point) move?
    I noticed that you have another similar discussion forum post here. You most likely will need to solve the motor configuration issue first (which may also solve this issue).
    Best Regards,
    Jesse D.
    Applications Engineering
    National Instruments

  • LabVIEW keeps asking to install/setup Motion Assistant 2.3

    So I've been running LabVIEW 8.5 happily for a while and in the last few days, pretty randomly but related to run / save / edit instances, a prompt will come up asking me to configure NI Motion Assistant 2.3.
    Now, I've never used Motion Assistant 2.3, and my coding doesn't really require it - once I press cancel to all the prompts (screenshots below) my program runs fine. It's just incredible annoying to have to click cancel to these random install screens hundreds of times a day.
    Seems like a broken / crazy / wonky install, is there anything I can do to fix it without deleting / reinstalling everything? Like, selectively uninstalling Motion Assistance (ha, I can't even find the uninstall for it...), or turning off whatever is triggering these prompts?

    Check this

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

  • Linear encoders with Motion Assistant

    Hello,
    I recently ordered some SIKO MSK5000 linear encoders ( http://www.sikoproducts.com/viewProduct.cfm?productID=MSK5000 ) for a stepper motion application.  I hooked one up as a test and according to the status LEDs it worked but Motion Assistant (1.3) seemed to not pick it up.  Then I realized that I am not even sure what motion assistant should be doing!  I can't find in the documentation what exactly should happen when I hook up an encoder so could someone help me out?  We want to make sure they work before installing them (which will require lots of disassembly.)
    Thanks!
    Relevant hardware:
    PCI-7334
    MID-7604

    Hello,
    Hopefully I can get you going with with Motion Assistant.  Basically the Motion Assistant is software that allows you to easily develop and test a motion control program through a fairly straight-forward API.  You can create a set of moves, called a script, one step at a time to see the cumulative effects of these steps.  This script can then be converted into LabVIEW code or several different text-based programming codes.  Before you begin using the Motion Assistant, however, you need to configure you motor setup in Measurement and Automation Explorer (MAX).  In MAX you setup the properties of your specific motor, encoder, limit switches, control style, etc.  Below is a link to a Motion Fundamentals tutorial on ni.com, and I believe the Configuration section should help you through configuring you motor in MAX.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/722ECF56222AAD5086256F7B007072C4?opendocument&node=1...
    This link has a good tutorial on the Motion Assistant itself:  http://www.ni.com/swf/presentation/us/motion/.  Hope this helps.
    Jason N

  • 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

  • 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

  • Update to Motion Assistant

    I have just installed the Motion Assistant upgrade. It is supposed to upgrade 1.2 to 1.2.1. However, after the installation, when I click on About it says 1.2 and when I look in the NI License Manager, it says 1.2 as well. So, is it installed or not?
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

    It was and is activated just fine. Also, if the update was only for NILM activation, it is probably not necessary for me to go around and upgrade all the machines it is on. That's nice to know.
    Thanks,
    Bob Young
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • 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

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

  • Motion Assistant Code Generation

    I am using the Motion Assistant code generation tool to generate a simple single axis relative move in LabView.
    In the Motion Assistant I can jog the motor CW or CCW, however it does not appear I have control over the rotation direction in the VI.
    The LabView code works fine otherwise for all other parameters, I just need to be able to control the direction.
    Can someone pointme inthe right direction?
    Thanks
    Kevin

    Figured out the error of my ways....changing the sign of the distance number controls the rotation direction.

Maybe you are looking for

  • Storing the output of a transaction

    I have a requirement where i need to run the transaction stad on a daily basis for a particular id for the preceeding 24 hrs and send the output through an email to two particular persons. I have written the wrapper program for the transaction but ho

  • Cheque Printing for Vendor Advance Payment

    Hi Gurus, I am creating vendor down payment wrt payment request in T code F-48 screen. again i am creating cheque for that payment document in FCH5 screen. How to do cheque printing manually for cheque cerated in FCH5 screen. Please help me in this r

  • Re-ordering tracks in playlists

    I have imported a language training cd into my library. The tracks are all transferred in the order in which they appear on the original CD. When I transfer them into Playlists some tracks are out of order. I did find a post in this forum suggesting

  • How to escape XML in BPEL?

    I have a part of a outputmessage in an element HTML of xsd:any. This element contains HTML which i have to transform to escaped XML. Therefore i created the following embedded java code. String htmlContent = ((oracle.xml.parser.v2.XMLElement)getVaria

  • Won't print alignment page or any page after new ink cartridges installed.

    I just installed a new color and a new black ink cartridge into my HP Envy 5531. I have never had an issue with this printer before, owned it for 2 years. After installing it, it tells me to print an alignment page, I press ok. The alignment page com