Interactive Motion Profile Graph

I'm trying to program an interactive graph of velocity vs. time for a motion control application. Does LabVIEW have the capability to create graphs with points that can be moved around by the user?

Hello mysterj,
This can be accomplished by using cursors and property nodes. See the attached VI for an example of how to accomplish this.
Regards,
Matt F
Keep up to date on the latest PXI news at twitter.com/pxi
Attachments:
Moving_points_x-y.vi ‏84 KB

Similar Messages

  • How to generate digital pulses to run stepper motor in a sinusoidal motion profile using NI DAQ 6229 card

    Hi,
             I need to make a stepper motor undergo rotary oscillation with a sinusoidal motion profile. As it nears the extreme points it should decelerate and finally slow down to zero velocity and then it should reverse direction and accelerate until it reaches the other extremity where it should slow down and stop and reverse direction and repeat this motion.
            The hardware is NI DAQ 6229 and the stepper motor can be controlled using digital Hi-Low (1,0) pulses. For each high pulse(1's) the motor turns 1 step. I am able to generate a analog sine wave and convert it to digital data using Analog-to-Digital.vi  But i am not able to convert the digital data to a stream of 1's and 0's in the correct sequence to get the sinusoidal profile with the amplitude and frequency i require.
            The direction of rotation can be changed by giving a pulse to another input of the stepper motor. So only half cycle of sine wave needs to be generated and it can be replayed after changing the direction to get the full sinusoidal profile.
    Any ways of making this approach work or any new approaches to this problem would be helpful. Thank You.
    Regards,
    Prabu.
    Solved!
    Go to Solution.

    Hi,
             I finally figured out a way to do it. The analog sine wave is converted to digital and sampled. Consecutive values are compared and if the least significant bit(LSB) changes then a pulse is sent to the stepper motor to turn one step.
    I have included the sub-VI's that accomplish it for the particular stepper motor and connector block i have. The front panel of both sub-VI's are quite messy but the block diagrams should be much clearer. The sub-VI's get their inputs from a third VI which i have not included. So take a look at the VI connector panel to figure it out. Hope this helps. Kinda messy but worked out fine in the end for my application. 
    Thanks again for all the help. I appreciate it very much.
    Regards,
    Prabu Sellappan
    Graduate Student
    Aerospace and Mechanical Enggineering
    University of Southern California
    Attachments:
    start motor test waveform dtest.vi ‏73 KB
    sine profile generation subVI.vi ‏41 KB

  • How do I use the analog input (ADC) to drive a motion profile in MAX

    We are trying to use an anolog input signal from a DAQ card to control the motion contol axis.  For now, we want the motor speed to follow a sinusoidal voltage waveform, and later on, we will be using a more complex velocity profile. 
    In order to accomplish this task, we have searched the user forum, and found information suggesting to operate the servo motor in 'slave' mode under the 'gearing' option.  Therefore, we have set the Gear Master to 'ADC Channel-1', Mode set to 'absolute', Gear ratio 1:1, and provided the sinusoidal voltage (+/- 5V, 3 Hz) to the AIN1 connector on the MID-7654 controller.  When using the 1-D Interacitve 'single axis' control panel, the motor runs at constant speed in one direction only.  It does not react to the sinusoidal speed profile request as we expected. 
    How do we 'turn on' the 'slave' mode in MAX?  Please talk us through the necessary steps and settings?  Thanks.
    Staffan

    Staffan,
    you can configure and enablethe Gearing mode in MAX and it should be activated after saving the settings and initializing the board. In 1D-Interactive you can't use Gearing. For better flexibility I recommend not using MAX for configuring and enbling Gearing. You better should do this in your application.
    In fact there is a perfect LabVIEW-example that ships with the NI-Motion driver (Master Analog Input - Slave Axis Gearing.vi)
    I hope this helps,
    Jochen Klier
    National Instruments
    Message Edited by Jochen on 10-02-2007 08:37 AM
    Attachments:
    gearing.jpg ‏162 KB

  • Interacting with sine graph

    HI all Im new to java and was wondering if anyone could help me with this problem.
    Im trying to draw a sine wave that also allows me to click on aont point withing the graph and mark it with a dot or cross of some kind and in a text box display the coordinates of that position. Can anyone help me on what i need and how it can be done please.
    Thank you very much

    hi, here is one way you can get this to work...
    I'm assuming that you'ore drawing the sine points as some sort of Shape object. In that case all you need is to add a MouseMotionListener to your Container (probably a JPanel) where you draw your graph. Shape objects have a contains() method which will tell you if a point (i.e. the cords of the mouse pointer) are within the shape or not. So, in you motion listener, you just need to compare the cords of the pointer with the cords of all the Shapes that you drew. If there is a match, then use some Popup element to display the data values for that point on your graph.
    There are more complicated (and faster) ways of doing this, but this should give you a good start.
    If you trying to draw an image (graph) then look at the java2d tutorials which show you how to draw shapes and lines.

  • Adobe Interactive forms with Graph and Japanese text

    Hi Experts,
    I want to use graph/bar/pie chart with Adobe Interactive forms and along with that the UI element's(Button,lable,table header,column) text has to be in Japanese language.
    Is it possible using Adobe interactive form ?
    Thanks in advance.

    I don´t understand. Where do you want the Japanese texts? In the ordinary fields? Then you have to use (of course install first) some Japanese fonts for the fields. If you would like to have the texts in the picture, then there is no problem with the form since the texts are coming as a part of the picture into the form and you don´t need any fonts. Of course you need to install/ configure the japanese fonts in the backend to be able to draw it into the picture.
    Otto

  • Customer Interaction User Profile

    We are in the process of testing the Customer Interaction Center (Winclient) with our internal sales teams.  Can anyone help assign the correct user profile/authorization for these?
    I need them to be able to run activities in CIC0 and use trx BP, CRMD_ORDER.  I have added these transactions to a new profile - ZQ:CRM_SALES and assigned this but i'm experiencing a few problems when a user tries to attach a file within an activity.
    Does anyone know the standards for these
    Your help would be greatly appreciated
    Regards
    Barry

    Hi Barry,
      It seems standard authorization problem, You can do a trace with ST01 and see the error in the authorization object.
    Regards.
    Manuel

  • Interactive Motion graphics

    I have searched the web, and all I can find in terms of having an interactive menu is using DVDSP  - to author the menu's of DVD's.
    I have also read in more places than one, that MOTION is used for video graphics while FLASH is used for web graphics. Yet in FLASH you can create an interactove FLASH movie that would allow an animation to play in a loop, and have a user click on a specific "button" or spto within the movie to have it do something else.
    I was wondering if it was at all possible to creat a similar function in MOTION. - I have a motion video / graphics running with certain words / menu button floating around. If a user were to click on a specific word, it would in fact "transition" to another movie file - run that file, and then return to the original movie with the menu items.
    I don't want it to only run in DVD Player - but be able to run for example on an iPad, or computer screen where the user can click on a word and have an alternative movie run, and retrun to main movie.
    Is this possible in MOTION / FCPX ?
    Thanks
    Manesh

    HTML 5 does this really easily, less expenesive, and more universally compatible online.  Look at apps like Hype.
    Compressor allows you to create movie files that will do a URL link when a specific part of the video is clicked.  Very limited, but its there.

  • User interaction with Waveform Graph

    My application uses a Waveform Graph to plot data acquired from a
    scope. The application does some analysis of the waveform data
    and then uses features within the waveform as the basis for
    controlling some external devices. The features (peaks) that
    are to be used must be selected by a human operator. Ideally,
    this would be done by having the user click on/near the peaks
    of interest.
    I haven't seen anything in Labview that looks like I can trap
    mouse clicks within a screen widget. Have I missed that level
    of functionality, or is there no feasible way of implementing
    such an interface?
    I am presently using a system of tables and sliders to allow
    the users to select peaks, but the users are not totally happy
    with the method.
    I
    am using Labview 5.1 on Sun Solaris.
    Thanks.
    --- Rod

    One approach would be to enable graph cursors and have the user click and
    drag the cursor to the peak of interest. Cursors can also be set to lock to
    the graph data You could also add another graph trace which only contains
    peak points and then the cursor will only land on a actual peak point.
    Mike Sachs
    Intelligent Systems
    "Rod B. Nussbaumer" wrote in message
    news:afal8d$37q$[email protected]..
    > My application uses a Waveform Graph to plot data acquired from a
    > scope. The application does some analysis of the waveform data
    > and then uses features within the waveform as the basis for
    > controlling some external devices. The features (peaks) that
    > are to be used must be selected by a human operator. Ideally,
    > this would be d
    one by having the user click on/near the peaks
    > of interest.
    >
    > I haven't seen anything in Labview that looks like I can trap
    > mouse clicks within a screen widget. Have I missed that level
    > of functionality, or is there no feasible way of implementing
    > such an interface?
    >
    > I am presently using a system of tables and sliders to allow
    > the users to select peaks, but the users are not totally happy
    > with the method.
    >
    > I am using Labview 5.1 on Sun Solaris.
    >
    > Thanks.
    >
    > --- Rod
    >
    >

  • Motions interaction with FCPX?

    Hi all
    I have recently started using FCPX on a MacBook Pro after playing around in iMovie for a bit (new Mac convert) but i never purchased the latest version of Motion with it.
    I am wondering, what interaction Motion has with FCPX?  Like do i have to export the timeline/individual clips to Motion to be able to add certain effects to clips in my time line, then import it back to FCPX?  or does the Motion interface appear with in FCPX?
    How do others edit using Motion and FCPX?
    I hope that makes sense.
    Thanks
    Amanda

    missamr wrote:
    .... In Motion 5, are there additional effects that you can access in FCPX with out having to create them or if you create one how do you access it in FCP?
    M5 is by far much more than just a 'bag of tricks'.
    It is a tool box to create your very own ones.
    And as Tom already mentioned above, you can use it as a stand-alone app to create 'effected clips', or you can access your own made titles, effects, transitions from FCPX.
    this excellent tutorial showed me how:
    http://library.creativecow.net/neil_andy/Motion-Quick-Tip-5-FCPX/1
    Following this advice, I have my own tab for effects (and titles and transitions), and I have full access to the parameters of that from me created effect. Example:
    in the timeline, you see a portrait of one of my soccer players on a second track ... (2nd track, 'cause it's a cut-away)
    on lower right, you see the effects-browser, there's a tab SVP (=team's name)
    in the browser are two me-made effects, selected is Torschütze (=goal scorer)
    on top there are the 'published parameters': Name, Position, statistics - for shure I have to be able to individualize the effect for each scorer...
    plus, a 'Transformation' area, to put the shot nice into the little frame, x, y, size - the rotation is automatically done by my effect ...
    in result is seen in Preview (I'm using a 2 monitor set, therefor that odd arrangement of windows )
    the effect has some alpha/transparency, the blueish stripes in the background are slowly animated ...
    My scorer template has the team's colors, the needed infos (=has not the unwanted ones which come with a M5 preset), ... simply 'my look' ...-
    done in less than an hour (lots of trial 'n error, first time user...)

  • Upgrade motion vi from Labview 7.1 to Labview 2013

    Because we have to update our old Windows XP system with Labview 7.1 to a newer operating system, I tried to upgrade to Labview 2013.
    The problem is that now our motion system( PXI realtime) doesn't run smooth anymore.
    I generate a predefined position profile at 40Hz (This could be up to 3600s long = 144000 samples). In the loop which runs at 40Hz, the profile is corrected by a factor which is calculated every time based on a function using 2 analog input values.
    Therefore I cannot use a predefined buffered contour function and adjust the velocity between 2 points so I get a smooth profile
    The thing is that running this identical vi compiled with Labview 2013, it doesn't run well anymore (checked this with the interactive display on MAX, and it is very noticable.).
    I this due to the old hardware, is the new Labview 2013 RT engine more demanding on the hardware ?
    I have almost 2 identical systems (each having a PXI 8184 (850MHz celeron) controller, one with PXI 7340 motion controller and other with PXI 7344 motion controller).
    I first want to have one system running well on the new software before I upgrade the other one.
    I was thinking on changing my software to use the contour function together with the gearing function.
    I would output the result of the function based on the 2 analog inputs to a analog output and use this voltage as gear input to superimpose the corrected profile.
    It would be nicer to not having to reroute this value through a analog output and input but I haven't found any other solution for this.
    Any help or suggestions to solve this are appreciated.
    Tom Versluys - Dept. of Civil Engineering, Gent University
    Technologiepark 904, B-9052 Zwijnaarde (GENT), BELGIUM
    TEL.: +32(0)9/264.54.87, FAX: +32(0)9/264.58.37, MAIL:[email protected]

    Hello Thierry,
    I have included a word document with 2 screenshots of the position & velocity from Interactive 1-D: one from the "old" Labview 7.1 system and one from the "new" Labview 2013 system. you can clearly see the difference, the input values for the motion-profile were identical.
    I also include the MAX report for the Labview 2013 realtime controller.
    The CPU usage for the "2013" PXI-8184 when not running is about 3%, when running its between 33% and 37%.
    Memory use is about 60MB (of the 128MB).
    If I run a vi on the 2013 hardware with a predefined trajectory (buffered) the motion is also smooth
    Already thanks for looking into my problem
    Tom
    Tom Versluys - Dept. of Civil Engineering, Gent University
    Technologiepark 904, B-9052 Zwijnaarde (GENT), BELGIUM
    TEL.: +32(0)9/264.54.87, FAX: +32(0)9/264.58.37, MAIL:[email protected]
    Attachments:
    Screenshot motion_velocity_RT.docx ‏366 KB
    ni_support 2013RT.zip ‏75 KB
    MAX7_1.zip ‏15 KB

  • Filling Activity fields from the Interactive Script WinClient

    Hi Experts,
    I am working with Interactive Scripting (CRMM_TM_SCRIPT) and I already defined my interactive script. I am also creating Activities after I finish with the Script in order to register a case. I am doing this by defining an Action Type CIC-AB which calls an Action Box in the Interaction Center WinClient. In the Action field I define the name of the Activity I want to call from the Action Box of the Interaction Center.
    When the Agent receives a call, he navigates in the Interactive Script in order to clasify the case he is treating. At the end of the Script, the case needs to be register following the clasification made by the Agent, and that’s why we are calling an Activity. The thing is that we don’t want the Agent to fill again the information he just defined in the Script in the Activiy, so we want to fill certain fields of the Activiy I am calling with Information of the Interactive Script I used before, in order to save time to the Agent that Register the Case.
    Can anyome shed some light on this issue?
    Thanks to everyone.

    Alberto
    You can create an activity.i.e., you can create an Order from the Interactive Script if you already created the Script structurethen follow the below steps
    I think it would be helpful
    Procedure: 
    T-Code:  EWFC0
    Path: SPROIMGCustomer Relationship ManagementCustomer Interaction CenterVisible ComponentsAction Box SettingsDefine Configuration Profile for Action Box.
    1. Choose F4 help to select one of the Action Box profiles you have created and you want to adapt and choose change.
    2. Mark the Action box Configuration and create a new Action Box Group by choosing Create transaction group.
    Enter a group ID, description and icon for the new transaction group and choose Continue.
    3. Mark the new transaction group and create a new Action Box transaction by choosing Create transaction.
    4. Enter a transaction ID.
    5. Enter a Transaction Definition section, select Workspace.
    6. In the Transaction Definition section, select Workspace.
    Two additional fields will appear.
    7 Choose F4 in the Workspace field to select the Script.
    8. Choose F4 in the profile field to select the Interactive Scripting profile that you created in the previous steps above.
    9. Enter a Slot Name if desired.
    10. Choose Continue.
    You are automatically taken to the Maintain Data Flow screen .No data flow parameters need to be maintained for the Interactive Scripting workspace.
    11. Choose Back.
    12 Choose Save.
    Note:  Since Only Workspace of this type can be open at once, you will need to close the Automatically Created Interactive Scripting Workspace before launching the Interactive Scripting Action Box call.
    Regards
    Surendra

  • Interactive chart in Webdynpro ABAP

    Hi Experts,
    I would like to use this thread to discuss on SAP's recommendation to develop Interactive chart in Web dynpro ABAP .
    Correct me if Iam wrong ,
    1) Business graphics can not be made interactive.
    2) With Gantt UI element ( I couldn't find documentation ).
    3) Interactive Chart in FPM ?
    4) Interactive Chart using FLEX Builder ?
    5) HTML Island ? Though not available for Customers with lower version of SAP ?
    What is SAP's Road map w.r.t Interactive chart in Webdynpro ABAP ?
    Regards,
    Karthi M

    Hi Stuart,
    Business graphics can be made interactive only with click action.
    Gantt UI , Iam not finding any proper documentation. Cursing SAP for that.
    If you are lucky enough to have latest version of SAP. Try with SAP UI5 which has got very good interactive capabilities of graph.
    Regards,
    Karthi M

  • Filling an Activity  from the Interactive Script  in  Interaction Center WC

    Hi Experts,
       I need to fill an activity from an Interactive Script in the Interaction Center WinClient.
       When i finish selecting in the script all the possible answers, i need to create an activity with information coming from the script. How can i make that possible?
    points rewarded
    thanks

    Alberto
    You can create an activity.i.e., you can create an Order from the Interactive Script if you already created the Script structurethen follow the below steps
    I think it would be helpful
    Procedure: 
    T-Code:  EWFC0
    Path: SPROIMGCustomer Relationship ManagementCustomer Interaction CenterVisible ComponentsAction Box SettingsDefine Configuration Profile for Action Box.
    1. Choose F4 help to select one of the Action Box profiles you have created and you want to adapt and choose change.
    2. Mark the Action box Configuration and create a new Action Box Group by choosing Create transaction group.
    Enter a group ID, description and icon for the new transaction group and choose Continue.
    3. Mark the new transaction group and create a new Action Box transaction by choosing Create transaction.
    4. Enter a transaction ID.
    5. Enter a Transaction Definition section, select Workspace.
    6. In the Transaction Definition section, select Workspace.
    Two additional fields will appear.
    7 Choose F4 in the Workspace field to select the Script.
    8. Choose F4 in the profile field to select the Interactive Scripting profile that you created in the previous steps above.
    9. Enter a Slot Name if desired.
    10. Choose Continue.
    You are automatically taken to the Maintain Data Flow screen .No data flow parameters need to be maintained for the Interactive Scripting workspace.
    11. Choose Back.
    12 Choose Save.
    Note:  Since Only Workspace of this type can be open at once, you will need to close the Automatically Created Interactive Scripting Workspace before launching the Interactive Scripting Action Box call.
    Regards
    Surendra

  • How to add ECC Sales Orders to Interaction History?

    I have configured the Interaction History Profiles through IMG --> CRM --> IC WebClient --> Master Data --> Define Interaction History Profiles. In the profile, I added transaction type TA along with other custom transaction types. The new profile was assigned to the functional profile on the business role. However, I am unable to see any sales order history in the interaction history (but am able to see the other custom transaction types).
    I made similar configuration changes to the account fact sheet. Here I followed instructions from this blog: http://sites.google.com/site/rupeshpatil/tweets/addsalesordertoaccountfactsheet . I used transaction type TA for the search display. The account fact sheet is able to retrieve the ECC sales orders without any problems.
    I am also having the same issue with agent inbox search for sales orders, but this is not as critical.
    The ERP Sales Order Profiles have also been set up to use the ECC client with document types OR and TA, and have been assigned to the functional profile on the business role. IMG --> CRM --> IC WebClient --> Business Transaction --> ERP Sales Order --> Define Profiles for Sales Order

    Hi Jerry
    Check class CL_CRM_IC_IHISTSEARCH_IMPL (the view controller's class), method SET_ALLOWED_BT_OBJECT_TYPES, you'll see these values hard-coded.
    Allowed Business object types:
        gc_object_type-businessactivity TO me->gt_object_type,   " BUS2000126
        gc_object_type-service          TO me->gt_object_type,   " BUS2000116
        gc_object_type-lead             TO me->gt_object_type,   " BUS2000108
        gc_object_type-sales            TO me->gt_object_type,   " BUS2000115
        gc_object_type-complaint        TO me->gt_object_type,   " BUS2000120
        gc_object_type-task             TO me->gt_object_type,   " BUS2000125
      New from CRM 7.0
        gc_object_type-opportunity      TO me->gt_object_type,   " BUS2000111
        gc_object_type-incident         TO me->gt_object_type,   " BUS2000223
        gc_object_type-problem          TO me->gt_object_type,   " BUS2000224
        gc_object_type-contract_sales   TO me->gt_object_type,   " BUS2000121
        gc_object_type-contract_service TO me->gt_object_type.   " BUS2000112
    Rupesh

  • Xy graph automatically moves down

    Hi,,,, I've got a problem. I have the XY graph and I would like the graph automatically moves down while running program. If u guys have ever seen the monitor of a roller testbench, Im working with a guidance system for a driver, using LabVIEW to create speed profile graph. I've manually done the examples by panning and PrtSc them as attached files.
     Any idea?
    Thanks
    Mannie
    Attachments:
    speed_profile.jpg ‏778 KB

    If I understand what you want to do, all you need to do really is switch the X and Y axes. Here's a quick example.
    Try to take over the world!
    Attachments:
    Vertical Chart.llb ‏47 KB

Maybe you are looking for

  • How can I get a back-up of my laptop if I have restarted it?

    I Recently Had to restart my laptop due to software issues and it would not let me use my back-up in the process, so I had to create a whole new thing. I have lost all that I used to have and was wondering if there is a way that I can maybe get it ba

  • Countries of the World for BlackBerry 10

    App Name: Countries of the World  This App has achieved the Built for BlackBerry™ designation. This means that it has been through a rigorous approval process at BlackBerry and will deliver a quality BlackBerry® 10 experience. Summary: First time dev

  • How can I turn off or blank out the secondary monitor?

    I currently have a three monitor setup.  Two 27" verticals and one 27" iMac between the two.  When I work it is great, however when my wife wants to use the computer, she feels overwhelmed by the displays, is there a way to disable the two external m

  • Configuring AppleTV (ATV) with home TV (HTV)

    Configuring AppleTV with home TV & home theater system. Home TV is connected to home theater system via HDMI only on TV's HDMI-1 input - sound comes out of home theater system speakers. I've connected AppleTV to home TV on HDMI-2 input but sound come

  • Failure to initialize error message

    When i run the adobe installer dvd for photoshop elements 11 I get an error message that reads "installer failed to initialize". Whats going on?