Is it possible to generate a motion control vi from parameters entered into MAX?

In the process of familiarizing myself with LV, It was brought to my attention that it might be possible to generate a VI from parameters entered into MAX. Is this possible?
Right now, I am getting familiar with motion control and LV by using MAX's 1D and 2D motion controller interactive environment. I was wondering if there was a way for LV to take the parameters and selections I have made in the various fields and make a VI from it?
I have tried searching MAX's help, Google searching, etc. but have not found anything.......
Thanks

In LabVIEW you can use "Initialize Controller.flx" to load the configuration settings from MAX to the motion control board. There is no way to create vis from the Interactive window, but if you are looking for such a feature, you may want to look into the NI Motion Assistant.
NI Motion Assistant is an interactive environment for prototyping your motion control application without programming. Later you can export your motion sequence to LabVIEW.
If you want to test Motion Assistant, you can download an evaluation version here.
Kind regards,
Jochen Klier
National Instruments
Message Edited by Jochen on 02-12-2010 02:48 PM

Similar Messages

  • Is it possible to remove the window control buttons from a vi? I am writing a vi for a production environment and don't want users to be able to quit the application.

    Jim
    LV 2013

    On a production line PC, the VI should never be stopped. My hope would be that a SysAdmin could bypass loading the VI during a reboot in order to work on the machine. I have tried deselecting everything but the run button, but when ever I do this on the top-level application, it ignores me. After clicking on OK, if I re-open the customize window appearance on the top-level application dialog, all of the defaults are checked again.
    Jim
    LV 2013

  • Motion Control t540p

    Is possible to use Lenovo Motion Control on ThinkPad 540p?
    Thanks
    sg

    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. 

  • Wanted Computer Controled Electronic Cards with Software for Motion Control

    Hi everybody
    Already worked on designing a cnc table to cut sheet materials.
    But we don't know enough for electronics. We think a system which is
    software driven from pc. So, we look for Wanted Computer Controled
    Electronic Cards with Software for Motion Control but we don't know more
    which motors, electronic cards and control panel we have to use.
    Please help me. Thanks.
    Atilla KESKEKLER
    Ahmet Bayman Cad. No 10/4 Otosanayi 4.Levent 80650 Istanbul Turkiye
    Tel: + 90 212 270 74 00 Fax: + 90 212 270 75 89
    www.aareklam.com.tr [email protected]

    Dear Atilla,
    You should contact AutomationSolutions (www.AutomationSolutions.com) to receive help with designing your system. They can spec your motors and help you picking the correct controllers and drivers from National Instruments to control the motors that you want to use. Please let me know if you need more information about the capabilities of Motion Control systems from National Instruments.
    Thank You,
    Morten Jensen
    National Instruments

  • Keyframes and motion control

    I would appreciate sources of information that would explain Motion Effect/Keyframes to a nonprofessional.  I have read three books and can't get an understanding.  For an example:  If i change the motion controls position from 360 725 to 360 240, what am I doing?  I would appreciate any help or reference material.  Arnie

    First, here is a TUTORIAL on basic Keyframing. It was written for an earlier version of Premiere, not Elements, but covers the basic theory.
    Now, in your example, think of the Video Frame as a picture frame. It is fixed on the wall, and you have a picture inside of it, but can see nothing outside of that frame, only what is inside of it. What you are doing with Effect>Motion>Position is moving the picture behind that Frame. Same with Motion>Scale. Now, with keyframing, you can alter the position of your picture behind the frame over time.
    Hope that this helps.
    Hunt
    PS - welcome to the forum.

  • Is it Possible to have multiple sheet Excel output from a single BI report?

    Hi,
    I am using Oracle BI Publisher Desktop veriosn 11.1.1.7
    JDE tool set 811.
    Is it possible to generate multiple excel sheet tabs from single report?

    Creating Excel Templates - 11g Release 1 (11.1.1)
    BI Publisher: Excel Template: 'Fixed' Multi-Sheet Template

  • Is it possible to condition a load cell signal with a 1520 SCXI and then use it as the primary analog feedback for a 735X motion control board?

    My system
    PXI 1052 chassis
    PXI 8196 RT controller
    Flexmotion 7356 motion controller
    Flexmotion 7354 motion controller
    6259 M series DAQ
    1520 SCXI
    1520 SCXI
    1314 SCXI frount mounting terminal block
    DSM strain gage load cells
    Exlar SR Brushless PM motors
    Kollmorgen servo star CD series 5 drives
    My objective:
    I want to measure the force on the load cells with the 1520 SCXI (i.e. excite the load cell then amplify and condition its output) then I want to use this analog (force) signal as the primary feedback for my motion control system (7356 and 7354 motion controller connected to my drives and motors).
    The problem:
    The motion controller boards (7356 and 7354) can be configured for force feedback control via analog feedback from a load cell.  However the boards implicitly expect the load cell signal to be amplified and conditioned with and external signal conditioner rather then using an NI SCXI module.  Currently I’m am reading the SCXI signals via the 6259 M seriers DAQ and consequentially have no way to route the signal into the 735X boards for force feedback control.  I can use softmotion to control the motors but then I loose the fast PID update rates possible with the 735X boards.
    The question:
    Is it possible to condition a load cell signal with a 1520 SCXI and then use it as the primary analog feedback for a 735X motion control board? 
    Thanks
    Patrick Aubin
    Ph.D Candidate
    University of Washington &
    VA MedicalCenter of Excellence for
    Limb Loss Prevention and Prosthetic Engineering  

    Hi GG,
    Thank you for your feedback.
    >create your own external circuitry to amplify the signal.>
    True a few op-amps could amplify and filter the signal externally but the performance of such an amateur built system will never match the accuracy and functionality of the 1520 SCXI.  That’s why we spent the $2500 for the professional version.
    >One thing that you could do is to use a UMI with your motion controller and then wire your signal from your SCXI to the UMI.>
    As I understand it the UMI is basically a break out connectivity interface for third party drives.  After conditioning and amplifying the analog force signal with the SCXI module the analog signal isn’t available to wire into a UMI.  To my knowledge the conditioned signal of the SCXI resides only in the PXI backplane (i.e. there is no physical access to the conditioned analog signal).  Can you explain how the UMI could be help here.
    Again thanks for your input GG.
    Patrick

  • Is it possible to generate this XML file?

    Hi guys,
    I'm starting to work with XML features at Oracle an I would like to know if it is possible to generate the following XML file with Oracle:
    <?xml version="1.0" encoding="UTF-8"?>
    <DATA_IMPORT LOCALE="en_GB" VERSION="5.2">
    <RULE_SET>
    <RULE BUSINESS_UNITS="Canada" CALENDAR="Main Monthly Calendar" EFFECTIVE_END_DATE="01-Jan-2200" EFFECTIVE_START_DATE="01-Jan-2005" NAME="CAN-Direct Sales Booking Credit" TYPE="DIRECT_TRANSACTION_CREDIT">
    <ACTION_EXPRESSION_SET>
    <ACTION_EXPRESSION>
    <FUNCTION ID="DIRECT_TRANSACTION_CREDIT" RULE_TYPES="DIRECT_TRANSACTION_CREDIT">
    <OUTPUT_REFERENCE NAME="CAN-Direct Sales Booking Credit" PERIOD_TYPE="month" TYPE="Credit" UNIT_TYPE="Can"/>
    <DATA_FIELD>SalesTransaction.value</DATA_FIELD>
    <HOLD_REF NAME="Release Immediately" PERIOD_OFFSET="0" PERIOD_TYPE="Release Immediately"/>
    <STRING_LITERAL>NULL</STRING_LITERAL>
    <CREDIT_TYPE>booking</CREDIT_TYPE>
    <BOOLEAN>false</BOOLEAN>
    <BOOLEAN>true</BOOLEAN>
    <DATA_FIELD>SalesTransaction.compensationDate</DATA_FIELD>
    </FUNCTION>
    </ACTION_EXPRESSION>
    </ACTION_EXPRESSION_SET>
    <CONDITION_EXPRESSION>
    <OPERATOR ID="ISEQUALTO_OPERATOR">
    <DATA_FIELD>SalesTransaction.eventType.eventTypeId</DATA_FIELD>
    <STRING_LITERAL><![CDATA[booking]]></STRING_LITERAL>
    </OPERATOR>
    </CONDITION_EXPRESSION>
    <TERRITORY_EXPRESSION>
    <RULE_ELEMENT_REF ID="TERRITORYVARIABLE" NAME="CAN-Territory Variable"/>
    </TERRITORY_EXPRESSION>
    </RULE>
    </RULE_SET>
    </DATA_IMPORT>
    I investigated some of the dbms_xmlgen features, but I can't understand how to define the following tag, for example:
    "<RULE BUSINESS_UNITS="Canada" CALENDAR="Main Monthly Calendar" EFFECTIVE_END_DATE="01-Jan-2200" EFFECTIVE_START_DATE="01-Jan-2005" NAME="CAN-Direct Sales Booking Credit" TYPE="DIRECT_TRANSACTION_CREDIT">"
    Any help is welcome.
    Thanks.
    Rui Barata

    I would offer that the SQL/XML functions of XMLElement/XMLForest/XMLAgg would be more appropriate to your situation. They give you finer control over the XML that is generated. You can find examples in this forum or the {forum:id=34} forum.

  • Is it possible to generate outbound idocs for FI invoices? How?

    Is it possible to generate Outbound idocs for FI invoices? How? or else i have to write program to get data in file and pass it to translator. Please help.

    Dear Gabriel
    Before letting you know the possibility, can you please let me know why you want such a requirement, since standard has not provided such copy control, to my knowledge.
    As you would know order type KB is for consignment fillup where you are just transferring the goods from FG unrestricted to your own warehouse and that is why in standard you can see the copy control KB --> F8 which means you can raise proforma against delivery and not against fillup order.
    So think of whether really you wanted to raise proforma against fillup order which is NOT recommended by SAP.  However, still if you feel that the requirement is so to have, you can make the settings in VTFA.
    thanks
    G. Lakshmipathi

  • Simple straight line motion control with brushless motor and encoder/mi​croswitch

    I want to go build a motion control system/program using labview. I have a brushless motor and a controller and a National instrument DAC (NI USB-6009). This is how my system looks like: receive an input signal 4-20mA, this should be converted to 0-5V for the controller for speed, controller should move motor till it hits micro switch. The micro switch/encoder should generate a signal (5V) back to shut the controller. I want to record the position of the motor in labview. How do I do this? How do I set the system up? Thank you in advance

    Controller from anaheimautomation: MDC151-050301
    Motor:BLWSG234D-36V-4000-R3     
    Controller and motor go together.
    The input signal for the system will be 4-20mA. Using this signal I will correlate it to a specific voltage which will drive the speed of the motor. This will displace the lead screw linearly. I will have a microswitch that will be triggered by screw and will relay a signal to shut the motor. I want find a way to record the position of the shaft/leadscrew at that specific point. I want to identify a home position, halfway position and full length travel position. I will use 3 swiches or 1 switch in three positions to identify all these points.
    My end result should be whwn I turn on the system or start the program It should detect whether it is at the home position, if not travel to home then respond accordigly given an input signal(4-20mA).
    How will I program such on labview...finding all the right icons to record the data is such a mess for me since i'm a beginner.
    Thanks

  • Photos in Timeline and Ken Burns Effect (Motion Control)

    I'd like to check my processes for setting photos with the Ken Burns Effect. I've used Tom's Motion Control example to set Ken Burns Effect on two or more photos that are next to each other in the timeline. I have found that if the photos are approximately the same pixel size that it works well. When they are significantly different I still see the second pic holding still for a few frames and then the movement.
    So, I'm interested in other experiences. Did you also find that the relative size of the photos makes a difference? And, when you have photos that are significantly diff in size, what process do you use to bring them closer together?
    Thanks,
    dave

    Hi David,
    I think the problem you are having is similar to one that I was encountering while finishing a project a few weeks ago. I also was using photos of differing sizes, but the issue with the late start on the "Ken Burns Effect" on the second photo wasn't related to the differing photo sizes, but to the transition I used between the images.
    I found that when I applied Motion to a photo using keyframes, the motion looked fine on both images until I applied a cross dissolve in between images. I realized that the cross dissolve is looking for frames before the motion keyframe to blend with the previous photo. Since the frames before the keyframe are "generated" (I'm not sure if that's the correct word) from the first frame of the still (which has no motion) it generates 15 frames (for a 1 second cross dissolve) that are not moving. That makes it appear like it's stuck and then starts moving when the playhead hits the motion keyframe.
    My solution was to move the still photo clips (one at a time) up one video track, extend both ends 15 frames and set the motion keyframe at the "new" beginning of the clip and the "new" end and do my motion based on that new clip length. I then brought in both ends back to their original positions and dropped the clip back into its original spot and then applied the cross dissolve. Now the cross dissolve would have 15 frames with motion to work with for blending the two pictures.
    It was incredibly tedious, but I had to do it because the images made up a large part of the video project I was working on. If anyone can suggest a better way of doing it, I would greatly appreciate it.
    Despite the time involved, I was really happy with the final results.
    I hope that helps.
    I don't log in here very often, so if you have any questions, feel free to email me at cgonzalezat*sfchronicle*dotcom
    Good luck.

  • Is it possible to use software limits on 7354 board when switching control modes from open to closed or closed to open loop?

    Is it possible to use software limits on 7354 board when switching control modes from open to closed or closed to open loop?

    Hello Richard,
    When you say 'open loop' and 'closed loop', are you referring to running the application in position and torque mode? If not, how exactly are your controlling a servo motor in open loop? 
    In closed loop mode, the encoder values will be used as reference and the motion VIs can be used to configure the software limit as required. Are you currently losing the software limits? If so, how exactly are you losing these values? I am not sure I understood what exactly is happening with software limits in your program, so any more information on this would be useful. 
    Vivek Nath
    National Instruments
    Applications Engineer
    Machine Vision

  • "Distributed motion control'

    Hi there,
    For a future project we are making a first study, and as I'm not really familiar with NI solutions, I hope some of you can share some thoughts.
    For this project, we will have to control the following hardware:
     - 28 cryogenic stepper motors in open loop (no encoder feedback possible) and very simple motions ("move x degrees") just a few times per hour max.
     - 2 cryogenic stepper motors in open loop, but with a constantly changing position setpoint (>50Hz should be fine)
     - 50-100 I/O temperature and pressure readings (sampling in de range of a few Hz maximum)
    How would a possible "NI solution" look?
    Our systems engineering guidelines say that it is highly preferrably to move the "control unit" away from the instrument (say 50 meters apart, in a computer room), and that all fieldbuses should be ethernet based. In that case I was thinking to have:
     - a PXI chassis in the computer room
     - an EtherCAT connection from the PXI chassis to a daisy chain of 4 NI-9144 expansion chassis, all equipped with the 28+2 NI 9512 stepper controllers, connected to 28+2 stepper drivers
     - an extra NI-9144 (or compactFieldpoint chassis) for the DAQ
    It seems quite rediculous to have so many NI-9144 expansion chassis, so another solution is to ignore the "control unit near instrument" rule and to have a single PXI controller with 4 8-axis stepper controller boards and a few DAQ boards inside.
    Another solution would be to have 28+2 standalone third-party stepper "controller and drivers" inside the instrument, connected with an ethernet fieldbus to a labview target in the computer room. But I'm having troubles of finding suitable stepper controllers+drivers (maybe because stepper motors and ethernet motion control are not so commonly found in industry?)
    Thanks for any thoughts on this,
     Wim 

    We've roughly worked out a layout of such a control system on paper, but it remains a quite vague "study" until the project enters the next stage (which depends on funding since it's a scientific instrument). I can send you a document about it if you want (just PM me your e-mail address), but I doubt it'll be of much use. Anyway the final solution will look much different from our original plan, and if I'd have any say in it, I'd most likely choose a PLC-based solution over this one.
    Wim

  • PCI6602 for motion control?

    Hi, I am wondering if it is possible to use the pulse generation of the
    PCI6602 to control a stepper motor
    driver, the problem is that I need aceleration and deceleration in the
    pulse train.
    I'm using the PCI6602 for event counting (~ MHz), and I need to
    synchronize the data acquisition to the stepper motor pulses at a rate
    of ~10 KHz. It would be nice to use a single card for both acquisition
    and motion control.
    thanx,
    Stefano

    Stefano,
    Yes, you could use the PCI-6602 to control a stepper motor. This will require two counters per stepper axis to control the step/dir or CW/CCW lines, or one counter per axis if you only want to move in one direction. You would need to programmatically ramp up the pulse rate to control acceleration. However, since updating the output pulse train frequency is software timed, acceleration may not be very smooth and you risk losing step. Also, you would need to manually handle any pull in moves.
    While you could achieve reasonable stepper control with the counter board with some trial and error, the PCI-7334 would probably be a better solution. This controller easily handles acceleration and deceleration and allows you to route the encoder signals over the
    RTSI bus to control the data acquisition process.
    Regards,
    Brent Runnels
    Applications Engineer
    National Instruments

  • PCMCIA card for motion control

    Hi,
        I am trying to control a stepper motor through LABVIEW. After perusing through the site, I know that I would need a stepper motor, a corresponding motion controller and a universal motion interface. The problem I have is that I am trying to control the stepper motor through a laptop (which does not have the Parallel Port slot). I am wondering if a PCMCIA card could work (by providing a parallel port to the laptop) or if it would not meet the necessary requirements to operate the motion control through the universal motion interface. 
    Thanks

    It IS possible to drive an UMI interface with a parallel port providing TTL compatible outputs, basically the UMI interfaces are (advanced) break-out boxes feeding the step and direction pulses to a motor driver and connecting feedback signals (encoders, limit switches etc) back to the PC. But in this case, you would have to write your own routines for accelerating and slowing down, as well as evaluating the feedback signals from an encoder or limit switches. There are several manufactures making motor drivers which can be driven via a serial or USB interface, in case you cannot use a NI controller board it will be much easier to use such a setup since the motor drivers usually incorporate at least a basic motor controller providing a set of commands which makes it much easier to control a motor than with doing everything from scratch. 

Maybe you are looking for