Changing coordinate updates waveform chart?

Hi All, hope everyone is having a wonderful 4th of July.
Alright, so I am new to labview and finding my things around the simple things pretty well, but having never taken any sort of programming interest, Im a bit behind in machine logic, so I figured I would ask here. 
EDIT: using labview 2009.  Have Vision package
The research I am doing involves analyzing Electron Speckle Pattern Interferometry (ESPI) images and their fringes to observe fracture points/potential weaknesses in different materials and such.  I have made a simple VI which allows me to draw a line on the ESPI image and output the light intensities to a waveform chart to make it easier to objectively determine the size of the plastic region (area where fracturing is most likely to occur).
What I would like is to be able to draw or set the coordinates of the line initially, then somehow be able to move it vertically -- using either simply my mouse or a numeric controller -- and have the waveform chart update in real time as i do it. 
Any suggestions?  Ive attatched my programs, the one called "line.vi" uses numeric input to determine the line coordinates. 
Also, since i dont sem to be able to attach bitmaps, ive uploaded a sample image here http://img594.imageshack.us/img594/3566/espiimage.png  I dont know why imageshack converted it to a PNG though
thanks all
Solved!
Go to Solution.
Attachments:
line.vi ‏50 KB
light intensity line.vi ‏47 KB

Hi itschad,
did you read the context help of the chart? There it is shown what datatype you need to wire to plot more than one curve on the some chart...
"This made a weird issue where once I select the line, the intensity profile keeps adding itself over and over again onto the end of the chart, so a chart that might initially have been 100 datapoints, just keeps getting longer and longer."
This is how charts work. They keep a history (that you constantly clear). You can set the size of the history buffer. If the default of 1024 points is too much for you you may decrease this to 100 - it's just a right-click away... Otherwise you should use a graph, as a graph only plots the points that are currently wired to it (it doesn't keep a history of previous values).
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Attachments:
test horizontal shift.vi ‏48 KB

Similar Messages

  • Auto update waveform chart error

    Hi all!
    I have come across the problem when working on my VI. As you can see from the VI that I have attached, there is a waveform graph on the front panel for data acquisition. The value shown right now is from time, 00:00:00 to 00:05:00 (0-5minutes).
    The problem that I am faced right now is, everytime when I hit the run button, LABVIEW seems to automatically change my time value to some sort of generic time. What I want to accomplish here is that, I want to acquire data on the waveform graph from time 0 to 5 minutes. Also, I would like to specify the increments myself. For example on the time scale (x-axis) from 0-5 minuntes, I would like a 30 seconds interval between them. How do I actually accomplish it?
    I have tried absolute time format and changing my waveform chart to sweep chart.
    Thanks for any help!
    Jlam
    Attachments:
    PDaq- Modified_07-08-2010.vi ‏61 KB

    The problem here is that Waveform Charts and Graphs always assume a constant delta time between data points. If you are absolutely certain the data points are guaranteed to be sampled at consistent intervals, the Waveform Chart or Graph is a good fit for the data.
    On the other hand, if data points are sampled at arbitrary time intervals, it will be necessary to use the XY graph, where different timestamps for each data sample determine the t-axis (time, horizontal axis).
    The deal here is that your horizontal axis is N, Sample Number, not t, sample time. Your samples start at 0, and increment 1, 2, 3... Therefore, if you are taking 120S/sec, it will appear two minutes - 00:02:00 (HH:MMS) - have elapsed in the first second! One way to convert Sample Number to Time is by mulitplying that scale by the factor 1/120. To add a multiplier (or offset) to your scale, go to the properties of the Chart. Likewise, you can use a property node to programmatically set scaling factors on the scale.
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • Reading coordinates in waveform chart graph

    hello!
    i have a problem using the labview, and i hope someone could help me.
    so, i have a project for a class, and for that project, i have to read the coordinates on the waveform chart.
    in vissim, there is a simple command, if you click the right mouse button on plot, you have an option "read coordinates".
    basically, i didnt found that or similar option in labview.
    if someone knows how to read the coordinates accurately , i'd appreciate if you would help.
    thanks

    Mouse down event wire click location to Map XY To Coordinates.... ?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Changing axis in waveform chart

    How can I set the x-axis to be something other than time. I want to measure all of my inputs vs. a cycle count. Is there a way to change the axis?
    Attachments:
    boolean count.vi ‏12 KB

    Sorry, I posted the one from yesterday. If I change the name in the property node, will it just change the name? I need it to not be time, and instead be another input, the cycle count. Now that the correct vi is posted, you can see what I'm talking about. Thanks
    Attachments:
    boolean count.vi ‏66 KB

  • How to keep the waveform chart updated when changing states in state machine/

    Hello Everyone,
                           Can anyone please sugest me how to keep the waveform chart updated even if I am changing the states in a state machine??
    I am having analog inputs on the waveform chart...
    Thanks in advance...
    Now on LabVIEW 10.0 on Win7

    hello guys,
                    thanks a lot for the suggestions, here is the attached code... please follow the following steps to run it..
    ONce you hit play,press either Start Main/Cyl UP button on the front panel,
    once you start observing the waveforms, you can press the Cyl_Dwn button on the front panel... You can observe that the state changes to Start Counter state,
    and the waveform chart also stops updating... I would like both the waveform charts to conitnuously show the data even if the state is changed....
    Now on LabVIEW 10.0 on Win7
    Attachments:
    Soda Vending MAchine.vi ‏212 KB

  • Problem with Waveform Chart updating

    Hi!
    I have written a LabVIEW project for 8510.
    I have a problem with the waveform chart not updating the data incoming to it.
    that is, Y axis does not update according to 8510 display format.
    May you help me?
    Attachments:
    Network_Analyzer_8510C_nazanin_5.lvproj ‏6 KB

    Hi,
    Do you want to change the label???
    1. Just right clicl your graph
    2. in the properties window go to 'Scales' tab
    3. select the Axis, and change the name.
    Is this the solution regarding your issue....
    Or
    do you want to change the domain from Time or Frequency...??
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Solution.vi ‏265 KB

  • Update FFT based on range of waveform chart

    I am working with seismic data that I recorded from explosive events.  The signatures that I'm recording could include the ignition of the explosion, the pressure wave hitting a barrier or debris hitting the ground.  The objective is to analyze the waveform and see if I can see any consistancy or trends.  I am loading in the seismic data into a LabVIEW program and displaying the waveform on a chart and then on an FFT.  I'm noticing with most of my data there are two or three distinct frequencies, so I would like to see where these occur on the waveform chart (each event has 2-13 seconds worth of data).  On the waveform chart I can zoom in on the x-axis and change the time range to look at areas of interest and count cycles, however that gets tedius.  Is there a way to update the FFT to show only the data that is in the time range on the waveform chart?
    Thanks
    Michael

    I don't have enough experience when working with the frequency domain but here is my attempt by following my nose.
    There seems to be an error in the frequency detected but I don't know why.  Hopefully somebody else with more knowledge will step in with an explaination.
    Here it is in LV7.1
    David
    Edit: Ah there you perhaps gwd can help
    Message Edited by David Crawford on 11-21-2006 01:53 PM
    Message Edited by David Crawford on 11-21-2006 01:53 PM
    Attachments:
    Slide FFT to detect Frequency Changes.vi ‏94 KB

  • How can I change the color of plot in a waveform chart and graph?

    There are 4 plots in a waveform chart, from plot0 to plot3, and I want to chang the color of plots dynamicly up to my needs when the VI is running.
    For example, as show in the picture, i want to set the plot0 as RED, and plot1 is BLUE, plot2 is YELLOW, plot3 is GRAY.
    If there is only one plot, i can change it's color, however when there are more than one plot, it fail.
    How can I do it?
    Thanks
    Attachments:
    waveform.JPG ‏61 KB

    Hello MilkyStone,
    first you have to set the active plot, then change its color (or other properties). All that is done using property nodes.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do I update a waveform chart with multiple plots one point at a time?

    Hi,
    I am updating multiple plots one point at a time.  That is, every time I update the chart I have a value for one of the plots.  If I put in a cluster with NaN for each of the charts except the one with the data I can only get individual points on the chart.  I would rather have them connected.
    Any clues?  The only thing I can think of is to delay the update and do interpolation between samples - too complicated for me.
    Thanks

    Are the points within a given plot equally spaced in time?  If so, perhaps you need to maintain your own history of the data and used a waveform graph rewriting the history data to the graph each time.  If the points are unequally spaced, then you will need to do it as an XY graph.

  • How do you change the Number of Plots Shown property of a Waveform Chart at runtime?

    Is there any possible way to change the Number of Plots Shown property
    of a Waveform Chart at runtime?  Thy Dynamic Stackplots example is
    way to limited.....

    There's a couple of ways to do this -
    1. Manage the data going into the chart to only be what you want displayed
    2. Use property nodes.  Specifically, the Plot.Visible node. (LV 7 example attached).
    2006 Ultimate LabVIEW G-eek.
    Attachments:
    MultiPlots.vi ‏48 KB

  • Waveform Chart Update With Relative Time

    Hey,
    I have a question about how a waveform chart updates.  I am running a test in the pictures attached it is only for 4 minutes and I read in a data value every 90 seconds.  I was wondering why the waveform chart doesn't look like chart 2 (photoshop what I want) instead it looks like chart 1. 
    I pass to the waveform chart a double every 90 seconds or so. How can I make the chart behave like picture 2? Where it connects the data points with the time each data value is sent to the chart.
    Attachments:
    Chart1.png ‏26 KB
    Chart2.png ‏10 KB

    Actually if you look carefully at chart 1 it appears that it is connecting the dots. But the time scale is messed up. Can you post some example code?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Waveform chart update problem

    Hi!
    I have a problem with the waveform chart not updating the data incoming to it.
    How can i refresh it so it updates it every time it enters the loop?
    The data ingoing to the array and out of the array is checked to be correct and valid.
    Why doesnt it refresh it?
    Yours truly,
    Tomi Nurminen

    problem solved.
    Im a retard

  • Size of waveform chart window changes during remapping in SIT

    Hi All,
    I am using SIT 3.0.3 with LabVIEW 8.2.1. For had been facing a problem where each time I start the host VI the control & indicators would change their ranges. Especially the waveform charts used to change a lot for example the plotting area inside the chart would move a lot to the left making the scale invisible. Which makes it very difficult to understand the signal. Then I would the following KB article which solved a part of the problem.
    http://digital.ni.com/public.nsf/allkb/234E19202757CFE8862572AE005559A2
    But even after modifying the labview.ini file as mentioned in the KB still the waveform chart changes each time I remap the mappings using Connection manager and the I have to manually make all the adjustments again. Is there a way that I can avoid the automatic readjustment of the indicators and keep size, range shape etc intact.
    Thanks and Regards,
    Vicku.

    Is the chart itself set to autoscale? Right-click on each of the axis and see if autoscaling is checked.
    Mike...
    Message Edited by mikeporter on 08-25-2007 08:58 AM
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to change output precision of DAQ to waveform chart and to spreadsheet

    Refer vi attached, the DAQ connects to a waveform chart to a spreadsheet. I want to change the precision of the DAQ assistant output from 6 decimal places to 2 decimal places, but everywhere i searched on the DAQ assistant i cannot find a precision setting. Did i miss something? What is the elegant way to do this?
    Thanks. 
    Message Edited by sunflower2772 on 09-08-2009 03:57 AM
    Solved!
    Go to Solution.
    Attachments:
    all-instrumentasst 5 sep header change.vi ‏220 KB

    Hi sunflower,
    this seems related to this question...
    Why do you want to change the output of the DAQ assistent?
    Shouldn't you change the precision of the spreadsheet creation? To do so you simply have to give some parameters to the "to string conversion" functions...
    Apart from file saving all other display precision settings are just cosmetics of the indicators!
    Message Edited by GerdW on 09-08-2009 11:07 AM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Changing names of labels of plots of graphs or waveform charts

    I am using a formular vi to do multiple calculations whose answers i display graphically on a waveform chart.
    the problem is that labview does not allow me to change the name of label of the result from the calculation to what i want it to be displayed as to the front panel user.
    well... it does allow me to change it to what i prefer but as soon as i run the vi the label name reverts to "result"
    is there a way of getting around this problem?

    Ok... sorry for the confusion
    see what i meant below
    if for example i am doing an efficiency calculation i would need an input and an output then i would calculate the ratio of the output to the input.
    on my graph i would want to see a plot labels named input, output and efficiency
    in the example attached i have simulated two signals and i did the calculation with the formular vi
    on the front panel i can only see plots labeled DC, DC and DC(Formular Result)
    i want to display these on my graph as Input, Outpt and Efficiency respectively
    hope that clears the confusion
    that is my problem, please give me the answer
    Attachments:
    code example.jpg ‏32 KB
    front panel example.jpg ‏23 KB

Maybe you are looking for

  • HT5826 How do I change the PDF file name and author?

    I can not seem to find how to change the title and author of a PDF file in ibooks on my mac.

  • Adobe Captivate 5 Simulation package giving an error.

    Hi, We are getting "Adobe® Captivate® has encountered a problem and needs to close. We are sorry for the inconvenience." at the enf of recording in simulation feature. Strange part is we are getting this message after we create MSI through Adobe cust

  • Iphone does not appear in itunes when connected to XP computer

    I have the latest version of itunes and iphone software. When I connect my iphone 3GS through a USB to my computer (windows XP), the computer recognises the device as a hard drive in "my computer" and I can import photos. However Itunes when opened u

  • ADF Application on Windows Desktop Client

    Hi, I developed a small ADF Web Application and tested it on Integrated Web logic server. Is there a way by which I can make this program to run stand alone on a client PC with out Web logic server (In the same way as Forms 6i runs on 2 tier mode in

  • Cannot see Private Workareas after Import in a New Instance

    Hi guys, I followed the procedure you recommended in the designer 9i installation guide about migrating/upgrading the repository and It seems I missed something: -I made an export of my repository owner with the RAU in Oracle Database 8.1.7 with Rep.