Auto Tune prior to running motion control program (LabVIEW)

Hi,
I am controlling Parker Compumotor (404-LXR) linear servo table via GV6 drive and PCI-7344 motion controller.
The problem is that I always have to run automatic tuning in MAX when I turn off all the system and restart it.
Before I use the automatic servo tuning in MAX, the servo table buzzes and oscillates wildly. Cabling seems to be successful as linear servo motor is completely controlled by LabVIEW after auto tuning in MAX.
I wonder how I can just run my LabVIEW program without running Auto Tune step.

Hello Gino,
Thank you for using our discussion forums. Yes, you can programmatic load the PID parameters from LabVIEW. Tune your servo using auto tune, once you are satisfied with the response look under the Control Loop tab for the PID parameters. In LabVIEW use the Load All PID Parameters.flx and use the tuned parameters from Measurement and Automation Explorer as the PID Parameters input for this VI. Place the VI before the multistart.vi. This will make sure the correct PID settings are used. I hope this helps you out. Have a nice day!
Regards,
Nipun M
Applications Engineer
National Instruments

Similar Messages

  • Motion control et Labview 6.1

    Bonjour,
    Je viens d'installer une carte PMC MFX PCI Series 1000 Multiflex Motion Control en remplacement d'une carte isa (incompatible avec les nouveaux systèmes).Un prog correspondant Motion Control gère le déplacement de sondes sur une table 1 axe de chez Schneeberger.
    L'ancien système, à savoir Labview 4, Motion Control pour la carte isa, et PCI 6035E (acquisition de données)exécute le déplacement dans un sens , s'arrête, et repart vers sa position initiale dite origine ou home (fait exactement le cycle proposé par le CW demo.
    Avec le nouveau système, à savoir Labview 6.1, carte PCI remplaçant la isa, PCI 6035E gère le déplacement aller, mais après arrêt ne reprend pas la position initiale.
    Il faut savoir que les résultats de l'acquisition (face avant et création dans fichiers tableurs)n'apparaissent qu'une fois que la procédure de retour du chariot est activée (donc invisible sur le nouveau système et le chariot doit être ramené manuellement avec CW demo).
    Aussi, remarque importante, le cycle proposé par CW demo fonctionne avec le nouveau système (activation sous WinControl de la bipolarité PWM avec 1om2).
    J'aimerais savoir ce qui peut provoquer ceci dans le diagramme joint (piste sur MCGo Home.vi)
    Merci.
    Attachments:
    BOSCDII16marsfintableau21.vi ‏815 KB

    alamarque,
    Tout d'abord, je n'ai pas les VI de controle de votre carte d'axes. De plus, la carte de contrôle d'axes en question n'est pas une carte NI, donc je ne connais ni les fonctions, ni l'outil CW Demo.
    Le plus simple serait de procéder par ordre.
    1. Avez vous des exemples simples de VI Lv mettant en oeuvre votre carte de contrôle d'axes? Si oui, avez vous essayé de les faire fonctionner seul?
    Peut être que le problèmes rencontré provient de la configuration de votre carte.
    2. Etes vous sur que l'application original fonctionnait bien en Lv 4.1 . La compatibilité est ascendante, et je ne vois pas de raison concernant le non fonctionnement de ce VI.
    3. J'ai vérifié les fonctions d'acquisition de la carte NI que vous utilisez. Elles sont rudimentaires, et dans le cas ou elles produiraient une erreurs, vous en seriez directement informé par une Popup d'erreur. Si vous n'avez pas d'exemples pour le point 1, je vous invite à faire un nouveau VI n'implémentant que la communication Motion (Votre mouvement d'aller retour) afin de déterminé si vous êtes capable de faire votre aller retour.
    4. Etes vous sur que le jeu de fonction Lv qui vous a servi a piloter la carte Motion ISA, est bien compatible avec votre nouvelle cartes PMC. Je penses que le constructeur de la carte pourra vous éclairer sur ce sujet. Peux être avez vous besoin d'un nouvelle DLL.
    Raphael TILLET
    NI FRANCE
    Cordialement,
    Raphael T

  • Motion Control Program VI

    Hello,
    Currently I have a LabView VI to control an XY Positioning System with two stepper motors and Unislide assembly using MD125 micro-step driver and NI PCIe - 6321 Multifunction DAQ device. I need to modify the VI in order to make the slide move from one position to another. I am using 10 micro-step resolution in the driver and selecting 300 RPM from the VI. Can I get some help in modifying the VI. 
    Thanks,
    Bharath J S
    Attachments:
    XY Positioning V6.vi ‏1548 KB

    Is there a particular task you're having trouble with?  Or are you just trying to get started?  This forum will be more helpful for you if you can post specific questions or tasks you need help with.
    Cody A.

  • What are resources that one has to use motion control in LabView?

    I am a newbie at Labview and I am trying to get a stepper motor to drive a shaft for one rotation (the shaft is attached to a bearing which will rotate a laser around a fixed object in the center). I am very limited in experience and I am wondering if ValueMotion is the way to go. Do you have to purchase the PC controller from NI to use value or flex motion? It would appear that using the intialization and setup VI's that ship with LV 6i would be the easiest and quickest route.
    What demos/programs for labview will be best in helping me in my efforts? I have yet to even select the controller or stepper motor for this application.

    Hello Graymalkin79...
    LabVIEW and an NI motion controller for your PC are an excellent combination for the application that you describe. To answer your specific questions...Yes the ValueMotion and FlexMotion VI's require a PC based controller from NI. For your application, either the 7334 stepper controller (ValueMotion) or the 7344 step/servo controller (FlexMotion) will do the trick. For straighforward stepper control as you describe in your application, ValueMotion is fine and the VI's for init, setup and operation should have you up and running quickly. FlexMotion provides a significant level of motion capability and overall system integration that may enhance your total application, but that's difficult to determine from your brief description.
    Most
    any Stepper Motor requires a power driver unit like the MID7602, and the selection of this component really depends on the motor that you choose and its associated torque and speed requirements in your system.
    Both ValueMotion and FlexMotion VI libraries provide motion demos that you can use interactively as well as VI's that you can integrate into your overall laser based LabVIEW application.

  • Motion control in LabView 64-bit

       I am trying to operate NI Motion with a PCI-7344 card inside LabView 64-bit on a WIN7/64 platform.  At this point, NI Motion will only operate in LabView 32-bit independant of 32-bit or 64-bit OS.  The reason for the 64-bit operation is a 3rd party function generator card that requires 64-bit LabView to work in conjunction with the 64-bit drivers for a WIN7/64 OS. 
       Currently, a system has been configured for WIN7/32 but would like to be able to access the full memory (>4GB) for other data processing. 
       Any suggestions?

    I have about the same problem, I'd like to use the full memory because I use NI-Vision and NI-Motion but I can't.  I really like that NI or anybody could help us on that.
    Jean-Francois  

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

  • I-tunes don't run anymore on pc. MSVCR80.dll is missing in program. the advice is to install I-tunes again and it will be fixed but after downloading I-tunes again on pc and start again program I receive  same default msg :-(

    I-tunes don't run anymore on pc.
    default msg that MSVCR80.dll is missing.
    after re instlation of I-tunes program it would be fixed but it isn't.
    somebody a solution?

    Solving the iTunes Installation Problems in Windows
    1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
    2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80.
    iTunes 11.1.4 for Windows- Tips for Unable to install or open - MSVCR80

  • Why does the Ni-Motion Torque-Control Program give me such an oscillation???

    Hello,
    I really hope to find somee help here...I have a UMI-7744 and I would like to do force control for a servo motor. I have tried the NI-Motion example "Torque Cntrl Using Monitoring Force"...it seems to be quite easy - it constantly measures the current force and compares the ADC-values with the target force. The difference between the two is then new relativ position...
    When I test it with an actuator that does not touch the workpiece (current force==>0N) and then tell it to apply 50N (ADC-value of ~1000) then of course it starts moving towards the workpiece, but then overshoots quite significantly when it touches it, then undershoots, then overshoots, then undershoots....etc....
     (1) Apart from the big overshoot, I would have assumed that the failure decreases over time and the force will be maintained at some point, but the actuator keeps on oscilating around the target force with quite high amplitudes.......does any body have an idea for the reason?????....How is it possible that the controller actually approaches the target force, ie. the over/undershoot should get smaller with every cycle...
     (2) I was assuming that the problem is because I load quite large relative positions (1000 - 0 = 1000) while the actuator is not yet in contact with the workpiece which then causes the overshoot when the actuator touches the workpiece. Hence, I tried limiting the relative positions to +/- 100, but it seems that it does not improve anything. The actuator still never maintains a steady force.Any idea, why limiting the relative positions does not have an effect on the oscillation??
    (3) I have seen that the use a delay of 50ms. Hence every 50ms a new target position is loaded. Is there any experience of what the BEST time delay is for motion control???? Is it better to decrease the delay to adjust the relative position more often OR would this have negative effects because the moves don;t have enough time to complete??????
    I am grateful for any reply...

    Hi Jochen,
    thanks for the clarification on the pros and cons of the two Torque control approaches...very enlightening......
    To clarify my previous question: I am using the S200VTS-Servo Drive from Danaher Motion. The drive is able to run in Torque-mode, Velocity-mode and Position-mode. In the latter case it needs a "step and direction" input, instead of an analog input. My idea was to setup the S200-drive in Position-mode because in the "Torque Control using monitoring Force"-example the inner PID loop is for the position...so I thought, why shall I setup the S200-drive in torque mode, when actually the PID-loop tries to control the Position.....you know what I mean? It appeared to me, that with setting up the drive in torque mode and running the example code with the positional PID-loop I am mixing force and position....
    Kind regards and thanks a lot for your efforts.
    Well, let's take it like that: The second approach is ok, if the dynamics of the torque are very low. The worst case scenario for this approach is a solid actuator pressing against a solid workpiece. When these two pieces meet, a force occurrs almost instantaneously. That means, that very short move distances result in high force differences. With your current approach this means that it's very hard to control the force, as in fact the only way to generate force is to move the axis a bit. If you control the force directly instead (analog feedback), you will get a much better control behavior.
    To clarify the idea behind that:
    Just think of two metal plates lying on each other on the floor. Now you step on the upper metal plate. Does the upper metal plate move? No. Is there a change of the force applied to the lower plate? Yes.
    To summarize: 'Torque Control using monitoring force' works best in systems with very low dynamics and a soft contact between actuator and workpiece. still all the limitations that I have mentioned in my first post are true, so I strongly recommend to use analog force feedback.
    Your last statement about running the motor in position or torque mode is not clear to me. Are you referring to operation modes of your drive (by the way, which drive are you using?). In this case the clear recommendation is to configure your drive always in torque mode, regardless of the type of control provided by the 73xx device that you are using. From a drive's point of view 'torque mode' means, that the analog input voltage (command input) is converted into a proportional current signal and that's in both modes the best option.
    Jochen

  • Is LabView good at precise motion control for things like running an assembly line with lots of cars moving about?

    Is LabView good at precise motion control for things like running an
    assembly line with lots of cars moving about? Precise speed and
    acceleration control? Safety interlocks?
    Thanks for any help you can offer!
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    If you are a long time Nokia/Symbian fan then you will Know full well that Nokia phones ALWAYS improve with software updates, Symbian will not be abandoned and will not be replaced by WP7, it will continue to evolve and improve, as will the handsets. Anyone who desires or wants a different OS should try one, because it's a free world, but really, the 'perfect' OS doesn't exist, and Symbian suits me for now and I will rely on Nokia to keep it up to date, and reliable.
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Yoga 2 Pro - Motion Control

    If this has been answered, or solution(s) offered, I'll be darned if I can find them, even an extensive search in the Forum and Community Database...
    New Yoga 2 Pro for Christmas...so far, very nice machine. However, am a litlle (!) frustrated with the Lenovo Motion Control...
    I can get the software to open, access settings, etc. but the tutorial doesn't tell me squat. Activating the software doesn't open my webcam...I tried with a couple of other programs, and when opening, they DO boot the webcam on. I can't find any step-by step instructions on the 'net...heck, the Dragon Assistant software tutorial is great and got that running fine.
    It appears that this is a common issue, judging by the number of posts on Lenovo Community. I tried uninstalling the original software, then reloading. I tried downloading v2.0 (it came preloaded with v2.5.1.0225 to ses if that would work, as suggested in a posted fix.
    So...no Lenovo support for Motion Control? No workarounds or fixes? Is this a glitch with Win 8.1 that has yet to be resolved? Inquiring minds would sure appreciate knowing! Thanks for any assistance in advance!

    I dont have my Y3P at the moment but I remember disabling it from Task Manager > Startup Programs
    Find Motion Control in there and Disable it, then restart the system.
    You should probably also disable Harmony, since that is the app which is responsible for these transitions and gets annoying for me.

  • 4 channel independen​t motion controll adressing

    I want to run four indepent motion/plc programs with each system using one axis and one analog output as a channel of the same motion controll card (PCI 7344)
    Each indepentent system has its own bottons for starting different setions of a semi automated process and these processes are intependent in timing.
    Can this be done with one 4 axis PCI 7344 NI motion card?

    The answer is short and simple: yes.
    You only need to make sure that the controller is initialized before
    you start your four applications and that you don't share resources
    between the programs.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • Auto tune

    I been running the PID auto tune wizard in lab windows cvi and can't seem to find how to determine if the operator canceled the operation. Is there anyway to determine this? I would appreciate any help!
    Thanks
    Solved!
    Go to Solution.

    Hi cjp1,
    After looking at the code for the wizard, you are correct and there is no callback function for the cancel button.  However, there is a workaround solution, although it is somewhat  of a hack.  Essentially, you will have to get the active panel, which would be the Autotune wizard panel, and then loop through all the controls to find the cancel button.  You can then create a function for when that button is clicked.  Attached is a small example that creates a pop-up window asking "Do you really want to cancel?" when the cancel button is hit.  In order to use the example, load the attached .c file into your project and be sure to #include the header file at the top of your main source fle.  Then call the command  HookDialogCancelButton, passing it your panel handle, directly after the line where you are displaying the autotune dialog box. For example:
    HookDialogCancelButton(gPanelHandle);
     You can modify the CancelButtonCB callback on the attached .c file to have whatever functionality you desire. 
    Regards,
    Hassan Atassi
    NI Community Project Engineer
    Attachments:
    MonitorAutotuneWizard.h ‏1 KB
    MonitorAutotuneWizard.c ‏3 KB

  • Motion Control Yoga 13

    So is everyone just ignoring trying motion control? I find no setup info instructions on how to use or any success trying to wave photos to next photo. Anyone have a clue or success with this?
    Solved!
    Go to Solution.

    It is limited to programs that are "supported", I've found that it works using windows media player, powerpoint, windows video player, etc.  I use MediaMonkey for all my music so the motion software doesn't get recognized..  Wish it was more dynamic where you can set it up for any app.  I'm willing to bet there's a 3rd party app out there that does a better job and supports any apps along with customizing your own motion.
    But as for motion, just run it.  Once you open powerpoint, your webcam should turn on.

  • Softmotion module must for circular motion control?

    Hi,
    We are planning to use two NI 9514 modules for 2-axis motion (2D motion) control which involves Circular Motion. Is it  compulsory to use the NI Softmotion module with NI 9514 for the motion control? Also would like to know, if it is compulsory to use the Softmotion module, then what is the estimated gate usage?
    Thanks in advance.
    Pradeep.

    Pradeep,
    the NI 9514 is meant to be used in scan mode without the need of FPGA programming. The module runs the motion control onboard, so it doesn't use a lot of FPGA resources. NI-SoftMotion in combination with the NI 9514 only requires resources on the RT controller, so the only part that requires significant FPGA resources is the scan engine itself. Depending on the FPGA type the gate usage of the scan engine varies, but a rough estimate is, that it requires about 1 M gates.
    As already mentioned, the NI 9514 is meant to be used with the scan engine and NI-SoftMotion. This provides a high-level API (IEC-61131 function blocks), axis coordination, tools for configuring, tuning and testing the axes and so on. There is also a low-level FPGA interface to the NI 9514, but as long as there is not a strong technical reason for progrmaming the module in FPGA mode, I strongly recommend using the NI-SoftMotion approach.
    Kind regards,
    Jochen Klier
    National Instruments

  • Is there a way to run Motion and Final Cut Pro on Separate Machines?

    Is there a way to run Motion and Final Cut Pro from the same Final Cut Studio license on separate machines? We hadn't realised when we bought Final Cut Studio that it wouldn't allow this. Our editor doesn't use motion, and while I mainly use After Effects on our motion graphics machine, I was wanting to try using motion for some particle effects. Unfortunately, it won't let me open it while Final Cut is running on our editor's machine. I can understand not letting two copies of same application run under the same serial number at the same time, but it would be nice to be able to use both programs that we own concurrently. At very least it would be good to warn you that this isn't possible in the product description, not in some fine print license agreement once you have already bought the software.
    -Matt

    I do not know of any software, in any platform that can operate from the same license over a network simultaneously.This is the exact reason for the existence of Volume Licensing. If for example a project ran in each one of the included applications from different sources that were not an active network, I doubt you would have a problem.Like, doing a project at work and geting the outcome with the Powerbook at home...Sorta!

Maybe you are looking for

  • ? Can't print PDF attachments to gmail since installing 11.06

    I am on Windows 7 and Firefox,  Since installing 11.06 I can't print PDF attachments to gmail messages.  I get a (false) message that file cannot be printed, because no pages have been selected.  I tried uninstalling 11.06 and downloading and insatal

  • HT4859 How do I store/retrieve pdf docs in iCloud?

    How do I store/retrieve pdf docs in iCloud?

  • Numeric Fields

    Hi, I need to give only numeric value in the field.wat validation must be done on it?

  • Procedure from PowerBuilder returning multiple rows

    In want to call a procedure from PowerBuilder which return multiple rows. I would like to know how to write the procedure and also how to call it. I tried using REFCURSOR , but i heard that Powerbuilder doesnot support REFCURSOR . Please help Thanks

  • Keywords (tags) in iPhoto

    Regarding Keywords,I know how to add Keywords to photos BUT don't know how to retrieve them. In PhotoshopElements all I need to do is click on the appropriate Keyword and all the pictures relating to that keyword topic appear.This seems unattainable