How to generate an s-curve graph/chart in labview

I would like to generate my s-curve shape in a visible graph in a labview vi. Are there any quick/dirty vi's that can take position, accel/decel, vel and jerk value, and plot this into a time graph? Something akin Motion Assistant...
I am able to construct a trapazoid graph using basic algebra within lab view, but cannot find a good formula to compute an s-curve. I am familiar with converting the jerk value to actual counts/s^3, but from there on, I do not know how NI-Motion calculates to accel, decel and velocity times. Thanks.

Hello,
What versions of LabVIEW and Motion Assistant are you using? Motion Assistant 1.2 exposes its API to LabVIEW and these functions can be accessed by opening LabVIEW and navigating to All Functions >> NI Measurements >> Motion >> Motion Assistant. Using these VIs, you can set up a move and use the Get Move Profile VI to obtain an array of points for the velocity profile.
Beyond this method, there is no straightforward way to obtain those datapoints.
If you have any questions about this method, please let me know.
Regards,
Scott R.
Applications Engineer
National Instruments

Similar Messages

  • How to Generate Excel XY Scatter Smooth Chart in LabVIEW?

    Hi all
    First of all i am a beginner. We can plot the XY Scatter Smooth graph in excel using Report Generation toolkit but how can we generate that in labVIEW? In my application maximum we use only 5 points to plot a graph. From the graph we want to find the X value for a fixed Y value. Manually how i do is i will create an XY Scatter smooth graph in excel and will find the Y value. If we plot this 5 point in LabVIEW it will not be smooth curve and i tried many curve fitting subVI's for making it smooth. But we cannot generate the plot exactly that of excel. Is there any way to read the chart from excel?
    Please help me.
    Thanks & Regards
    Rajesh R. Nair

    Rajesh, I believe I may have what you are looking for. I have some images of the code I have made that generates a XY scatter smooth graph in excel based on a two dimensional array of X and Y points.
    The Code:
    The Result in Excel:
    Please let me know if this is what you are looking for,
                                                      ​                               Shadowfeld
    Attachments:
    Code.vi ‏18 KB

  • How to generate control limits in control chart

    I want to generate a X bar chart with control limits, sample size is Fix- 1.
    SPC criterion I selected is 020 ie Task List characteristics/ Material.
    1)Sampling Procedure I used- Fixed-1
    2)Valuation mode I used- Attrib non conforming units/ manual.
    3)Control chart I am using is 110- Shewart chart for X bar.
    But when I click for control limits in chart it is saying control limits for track 1 could not be calculated.
    Could anyone guide me, how to generate control limits for this graph. Sammple size will alwyas be 1.
    Please let me know should I change control chart type in this case.

    Hi Jaison,
    You should use valuation mode - SPC valuation in sampling procedure.
    Also you have to use sampling procedure with inspection points.
    as practically every hour or depending on the frequency decided we collect the measurements and calculate the SPC.
    now after correction in the sampling procedure create new inspection lot and check SPC.
    try out and revert.
    Regards,
    Anil

  • How do I manually update a graph/chart

    I have a chart on my front panel in which the data is continuously being changed.  Each loop cycle (few seconds each) I clear the chart history (property node), update the chart data, and then change the Chart range to the range that it previously had.  However every time I do this I can see (for less then half a second) the clear chart and then some segment of the new data before it shows the correct data range that I want.  Is there a way to delay graph from updating until I signal it to update so I do not see the intermediary garbage data?
    Thanks in advance,
    David

    Look for the Defer Panel updates property node.  Set it to True before you do the other properties and False After.
    But if you have the need to set the range back to a value it was before, it sounds like you might have the axes set for autoscaling. ??  You may want to turn that off.
    Message Edited by Ravens Fan on 12-18-2008 01:08 PM
    Attachments:
    Defer.PNG ‏22 KB

  • How to get mouse properties from Graphs/Charts?

    Hello,
    My problem is the following:
    I have a graph that displays some data and two cursors.
    Next to it is a button that allows users to select whether
    they want to see all data, or a selection based on the
    cursors. When in the selection mode, the cursor can be
    dragged to change the data shown, but the graph is updated
    while dragging. I wanted to make a simple wait-while-mouse-down
    call, but this seems to be more complex than I imagined.
    I know the example that uses the picture frame to get the mouse
    properties, but the picture frame blocks cursor usage. Is there
    another solution to my problem?

    Hello,
    The best way to achief this is using an event structure to capture a mouse button up. I have changed your program in a way that it uses an event structure to look at the waveformgraph. As soon as a mousebutton up occurs, it stops the while loop where it is waiting in and updates the graph according to the new currsor settings.
    Best regards,
    RikP
    Application Engineering
    National Instruments
    Rik Prins, CLD
    Applications Engineering Specialist Northern Europe, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense
    Attachments:
    CursorExample.vi ‏50 KB

  • How to view signal in a waveform chart in Labview Signal Express?

    Hi,
    I would like to view a signal in Signal Express 3.0  in a "waveform chart" but don't know how to do it and I am thinking that it may be impossible?
    In Labview there are two ways of viewing data, either in a "waveform chart" or in a "waveform graph". The great thing with "waveform chart" is that it lets you define a history length and you can see the data move to the left (strip chart option) as the samples are being retrieved. It works perfect. 
    In Signal Express I can only select "XY graph" or "Waveform graph" by making a right-click the mouse but I cannot select "Waveform chart". Is it really true that it is not possible to view the data in a "waveform graph with Labview SE? (1 analog signal being read continuously, 100 samples to read at 1K rate)
    Thank you in advance,
    Enrique
    Solved!
    Go to Solution.

    Hi Enrique,
    You are correct that there is currently no waveform chart in SignalExpress. The closest thing you can get to, is recording the data as a log and then viewing it while recording (which I realize is not quite the same, interactive behavior).
    For your last comment, you wrote "waveform graph", but I assume you meant to say "chart" there as well.
    Sorry about this. We have recently been getting this request, so perhaps in a future version.
    Phil

  • How to generate and print 20x20 datamatrix barcode using labview?

    Along with the barcode certain datas are to be added to the right of it.

    Since you started a duplicate thread - I'm going to continue in here.
    We have given you a number of different options to generate/print a barcode using LabVIEW.
    Do you have the Bartender software installed with the Automation (ActiveX) option? Can you print a label from within the Bartender Software? Do you know how to call ActiveX functions in LabVIEW? For the latter, if you Google 'calling ActiveX LabVIEW' you will get a lot of results. Once you know how to do that, you just need to know which Bartender ActiveX functions to call.
    I've attached a couple of screenshots from some quick code my colleague put together before to initialise Bartender, open a label template, fill in a field and print a label. Don't forget the close the references when your application exits. For more information you'll need to read the Bartender documentation.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • How can I make a waveform graph store the entire wave, not just the current time period and how can I save the actual graph?

    I am taking temp readings with a 4 channel DAQ, sending them to a waveform graph and exporting the data to excel, how do I manipulate the graph to take a continuous reading as opposed to losing the previous GUI and how can I save the entire graph?
    Using LabVIEW 2011 operating on Windows 7 professional. 

    That is the nature of the chart -- everything not in the history is lost (it is a FIFO buffer of length=1024 samples by default).
    The scroll bar is probably grayed out because you're show all of the data.
    Attached is a program that will add 5 random points to a graph and prompt you for a file location where to save a JPG snapshot of the graph.  It's not particularly good programming style, but it has all of the elements/concepts you're after. 
    Attachments:
    graph.vi ‏14 KB

  • How to Generate Statistic Graph in Report??

    Hi, i am developing an questionnaire program together with 19 question... i am able to get value for each value..
    Now my problem is how to generate a statistic graph whenever user can check their report ??
    Can anyone help?? Thank you very much......
    from bscs

    The easy way is to use your values to set the width or height of an image dynamically in HTML, but you can only do bar charts using this method.
    For real reports and measures have a look at
    http://www.jfree.org/jfreechart/index.php
    http://www.jfree.org/jfreereport/index.php

  • How to Generate Chart (line chart, bar chart)!

    I want to generate Graphic Chart using Java,(e.g. line chart, bar chart).
    Is any Class can easy to generate Chart??
    thanks!

    petes1234 wrote:
    meacod wrote:
    Dimpu wrote:
    i need the source code how to generate the graphs using the Java
    Give me teh codes?
    And yes, this thread is old.Also note how the poster here politely requests help along with the use of the word "please". Very instructive. He'll get far here.Indeed, you are wise in the ways of the fool **bows politely**

  • How to make text scroll in a chart/graph

    I am trying to make a small example labview app.
    I need to show a graph/chart with continuous data measurements, plotted over time. So far I have been using charts, since they suit my needs. I have seen though, that graphs are also a possibility. So if a solution calls for that, it might be ok.
    Now I have two things that i dont know how to do. I have attached a picture of what i want to do.
    I need to have time on the x axis, but i can only get it in the end points of the scale, can this be fixed (see the attached picture example)
    I also need to mark phase starts endings. This means I need to have text scrolling along with the plot, keeping a white marker line at the starte point of the phase. Can thios be done somehow? I have already looked into Annotations, but I dont think thats it. (see the attached picture.)
    If further explanation is needed, I would be happy to supply it.
    Kind regards Daniel
    Attachments:
    labview_example.JPG ‏27 KB

    One option with graphs is to right click the graph when the code is running, select "Create Annotation". This will add a label to the graph that moves as the graph updates.
    An alternative, and probably prettier approach, was discussed recently here;
    http://forums.ni.com/t5/LabVIEW/Two-background-colors-for-the-same-waveform-graph/td-p/1139000
    Hope that helps,
    Ian

  • When displaying multiple curves on one 2d graph in reports how do I force one curve to be in the foreground?

    When displaying multiple curves on one 2d graph in reports how do I force one curve to be in the foreground? I have two signals and I want to show one overlayed on top of the other. Right now Diadem will only graph it the other way around. I have tried deleting the curves and re-adding them in differnt orders, changin the order they are in the curve list, changing their order inthe data portal, right clicking on the curve and selecting "move to forground" (this only moves the entire 2-d graph object to the foreground). Im using Diadem 12.0 Basic.
    Solved!
    Go to Solution.

    Hello Joe,
    I figured out what causes your curves to draw in the wrong "order".
    You are using two Y-axes, and DIAdem always draws the data for Y1 before Y2, no matter what the order of the curves is in the "Curve and Axis Definition" dialog.
    I am attaching your layout with a small modification, I changed the Y1 and Y2 axis order (I swapped which Y-axis the data is displayed on), and I get the following result:
    Once I looked at your layout it became clear why the order of the curves didn't reflect the order in which the curves were drawn. I didn't know this - so I just learned something new here as well.
    I hope this answers your question, feel free to ask if there is anything else I can help you with.
          Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."
    Attachments:
    Modified Report Layout.TDR ‏146 KB

  • How do I create more tabs in my tab control, and place graphs/charts on these.

    It has to be done in the program depending on a setup file.
    This is due to that I have from 2 till 100 graphs/charts needed to be shown. One graph/chart on each tab.
    How many tabs I need comes from the setup file.

    This is not really a goo way to approach this. 100 tabs ouch. This would not only be a nightmare to code  and keep up to date but I think it
    could be done. Here is an examlpe of how to do it in LV 8 and a file saved for previous into 7.1 it seams to me it was easier to do in lv 7 but I cannot be sure since I no longer have 7.0 or 7.1 on this machine.
    Joe.
    "NOTHING IS EVER EASY"
    Attachments:
    Tab control.vi ‏21 KB
    Tab control1.vi ‏39 KB

  • How to add a gaussian curve on a histogram chart.

    I want to add a gaussian curve on the histogram chart like the attached picture. I plot the histogram already with my data, but I don't know how to add the gaussian curve.
    I appreciate your help very much.
    Solved!
    Go to Solution.
    Attachments:
    histogram_dis.JPG ‏37 KB

    If you have the Statistical Process Control (SPC) toolkit or Datalogging and Supervisory Control toolkit (DSC), LabVIEW has many built-in histogram functions.
    look for "Plot Histogram and Normal PDF"
    Attachments:
    histo.JPG ‏76 KB

  • I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    Here's a quick example I threw together that generates a sort-of-bell-curve shaped data distribution, then performs the binning and plotting.
    -Kevin P.
    Message Edited by Kevin Price on 12-01-2006 02:42 PM
    Attachments:
    Binning example.vi ‏51 KB
    Binning example.png ‏12 KB

Maybe you are looking for

  • Insert pages from a single document multiple times

    I'm trying to create a simple program that I can use to display PDF files that I can use to play at the piano. I perform often, and need to create "play lists" from which I can pull all, or part of, a PDF file containing music and display it. I have

  • Speakers doesn't work

    why the speakers of my ipod are silent? it's work with earphones, but not without

  • Iphone charger replacement program

    Anyone know if is Apple offering the third party iPhone charger replacement program in Canada? I was told by the local outlet in BC, it's for the US and other part of the world only. She said she verified with he co workers, even I told her it was re

  • Sql ansi in oracle 8i

    Hi! is possible use left join and right join syntax in oracle 8i otherwise (+) syntax?

  • Question Marks inside blue square

    Hi all, I'm trying the Safari beta version for Windows XP. It looks great but I'm experiencing some strange behaviours surfing the web. Even if I installed all suggested plugin, on some pages question marks inside blue square are rendered. Even on th