Is it best to set waveform graph scale properties before or after sending new data to the graph?

Hi I'm wondering when is the best time to update waveform graph scale properties.
I am sampling data every 15 minutes for 192 samples, i.e. 48 hours.  I want to plot these samples with the x scale in absolute time mode so that x scale maximum is the current time and x scale minimum is x max minus 48 hours (172800 seconds).  I also want the intermediate scale markers to be 6 hours apart and to be multiples of whole 6 hours.  e.g. at 06:00, 12:00, 18:00.  This works OK using property nodes but sometimes the intermediate markers are on the 6 hour multiples and sometimes they are at 6 hours after the min scale marker.  e.g. 09:15, 15:15, 21:15.  Is there a way of guaranteeing that the intermediate markers will be on the 6 hour multiples?
Thanks,
Neville
Solved!
Go to Solution.

Hi Bryan,
Thanks for your reply.  I have discovered that I can achieve what I want by using an XY graph instead of a waveform graph.  I want X max to be the current time and X min the be 48 hours earlier with intermediate scale markers on multiple of 6 hours.  The XY graph in the attached VI does exactly that but I can't get the waveform graph to behave as I would like.  Is there a way of getting the waveform graph to behave as I would like?
Thanks,
Neville
Attachments:
waveform graph x axis scale.vi ‏16 KB

Similar Messages

  • When using suggestedItems or LOV (on the same field) I get " Graph nodes cannot be sorted due to a cycle in the graph."

    Hi. I am on Jdev 11g R2
    I have a atribute in the VO with LOV attached. And also another attribute in the same LOV with is dependant to the first LOV. It means when I choose LOV on the first attribute the second LOV uses the chosen value,
    I droped the VO as FORM on the page.
    When I go to the first attribute and choose the LOV value (from suggestedItems or from LOV search popup) I get the following message:
    Graph nodes cannot be sorted due to a cycle in the graph
    It only happens for the first time. If i choose LOV after I get the error message , everything is working just fine
    Error message indicates that it may be some loop in the VO, but there is no....
    Please advice what can it be

    please post more log by turning on logging -
    http://xmlandmore.blogspot.in/2009/06/turn-on-diagnostic-to-debug-oracle-adf.html

  • Graph scale properties

    Hi
    I have a char view that presents a line graph.
    The X scale holds the day of quarter and the Y scale holds the total sales for that day.
    The problem is that the scale resolution is daily (like the line) and the numbers that show the day of quarter are pressed together.
    I want the X scale to be presented in 5 days resolution (5, 10, 15, 20...) while the line in the graph will stay in daily resolution (1, 2, 3, 4....).
    Is it possible?
    Moshe

    Hope this will help you out ;)
    http://www.oracle.com/technology/products/reports/htdocs/getstart/whitepapers/graphdtd/graph_dtd_technote_2.html

  • The plotted data on the graph disappear when clearing graphs!??

    Hi folks
    I got this vi, with two graphs, and one chart. I got this chart coz i want the data plots to strip in the graphs.
    but when the VI runs, and i pres stop and run again, the data plot disappears, they are then beeing plotted in the back ground or something like that.!
    Also when clearing the graphs the data plottet disappears.
    How can I overcome that ?
    regards
    Zamzam
    HFZ
    Attachments:
    FlowReadChartHist1_mod2.vi ‏79 KB

    Hello Zamzam,
    same again:
    1) I click "Clear" when the graphs are not filled with data: graphs are cleared, new data appear from left and fill the graphs.
    2) I click "clear" when the graphs are "filled" (the x-scrollbar shows
    more data the display is showing): graphs get cleared, new data appear
    from left and fill the graph again...
    3) I click "stop" at any time: vi stops, actual display stays.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can I set a custom Home Page while ALSO having a New Tab be the default Mozilla Page?

    Why is the "home Page" = to a New Tab page? Why are they linked. I want my.yahoo.com to be my Home Page (currently set properly) but my New Tab page seems to be set to "Conduit" and has a search bar. I have no idea where that came from or how it got set that way. I want to have my current Home Page but make any New Tabs be the Mozilla Default Page with a Google search bar. Is that possible? I am running on Windows XP.

    See also this article about the New Tab page (about:newtab):
    *https://support.mozilla.org/kb/new-tab-page-show-hide-and-customize-top-sites
    You can check for problems with preferences and try to rename or delete the prefs.js file and possible numbered prefs-##.js files and a possible user.js file to reset all prefs to the default values.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences
    See alao:
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to activate a different sub-report for each row in the data set as main report page breaks on each row of data in the main dataset

    I am going to try asking this same question a different way as I have yet to find a working solution to my problem.  I have a main report and then 8 sub reports.  My main report has one data set and returns one row of data per account number.  One
    of the fields in the main data set is called AccountProf.  My main report displays one page per Account number and then calls a different sub report based on that account's AccountProf value.  The sub reports take in the account number as a parameter
    and get multiple rows of data to display that accounts usage formatted differntly for each AccountProf (hence the 8 different sub report.  
    So far I can figure out how to do everything but setting the visibility property of each sub-reports when I have multiple accounts.  If I use the following expression for the visibility property on each sub report, it makes all the applicable sub report
    for all the accounts requested visible at once:
    =IIF(Fields!AccountProf.Value= "USE_PLUS_DMD",False,True)
    *The value in bold USE_PLUS_DMD  is different for each sub report.
    Here is a look at what the main report look like:
    Here is the main reports data set:

    Hi JasonDWilson77,
    According to your description, there is a main report and 8 sub reports in the report, you want to set visibility of sub reports, if no value is passed to the parameter of sub report, the sub report will not be displayed. If that is the case, please refer
    to the following steps:
      1. Create a new parameter named NewAccountNumber, set its data type the same as @AccountNumber, select Allow multiple values, set Visibility to be hidden, then set all available values to default values.
      2. Right-click the first sub report and open Subreport Properties dialog box, click Parameters in left pane, set name to AccountNumber, then click (fx) button, type the expression like below:
    =Parameters! NewAccountNumber(0)
      3. Click Visibility in left pane, select Show or hide based on an expression, then click (fx) button and type the expression like below:
    =IIF(InStr(Join(Parameters! AccountNumber.Value), Parameters!NewAccountNumber.Value(0))>0 , false,true)
      4. Modify parameter of other sub reports like step2.
      5. Set visibility of other sub reports like step3.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Why does a box that says "uninstal set" keep popping up when i go to a new page, refresh the page, or ever open up the browser ever i upgraded to the new firefox?

    I upgraded to the newer version of firefox, and ever since then every time i go to a new page, refresh the page, or open it the interned a box pops up and says "uninstal set" and won't let me continue until i click "ok" why is this happening, and how can i fix it?

    go to Tools, add-ons, then only disable java 6.0.22 ONLY, then you have to click on restart. That solved my problem.

  • Clearing all historical data from the graphs

    Hi all,
    Now that I have upgraded to 4.1.1c I want to clear all historical data and start from scratch with the graphs/stats/reporting. Is there a way to do such a thing? Could not find anything in the docs other than "clear statistics all" which seems unrelated.
    Thanks
    Adrian

    http://www.cisco.com/en/US/docs/app_ntwk_services/waas/waas/v411/configuration/guide/monitor.html#wp1043484
    Enclosed is the report montioring and configuring guide.
    The clear statistics command clears all statistical counters from the parameters given. Use this command to monitor fresh statistical data for some or all features without losing cached objects or configurations.

  • Best practice to develop the news web part to retrieve news data across the farms

    Hi,
    We have developed the News Web part. The functionality  it pulls the news from other SharePoint Farms and display it in the site. Currently we are using secure store service to  to connect to different FARM to retrieve the news from that FARM.
    The issue with this approach is that every time user hits the page it  will always hit the Secure Store service.There are almost 80K users who will be using this web part. Moreover this web part connects to multiple sites for multiple news from different
    division.What should be the best practice to develop such kind of web part without consuming the server resources and keep hitting the server till we get the new news.News does not change very often.
    Regards
    Rajaniesh

    Hi,
    According to your description, my understanding is that you want to know which is the best way  to handle the large complication of SharePoint cross farm retrieving data.
    If you are developing the custom web part to retrieve data from other farm, I suggest you can firstly create a custom timer job to get data hourly in the backend and restore the data in a list. Then you can create a web part to link to the list to display
    the data.
    For cross farm accessing data, I suggest you can create a custom web service to achieve it.
    Also, you can use ajax to display the web part data asynchronously. It will improve the performance and reduce the server pressure.
    Here are some detailed articles for your reference:
    Create and Deploy Custom Timer Job Definition in SharePoint Programatically
    Creating a Custom ASP.NET Web Service
    Create asynchronous web parts for Sharepoint
    Thanks
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jerry Guo
    TechNet Community Support

  • How can I add custom captions to a waveform graph scale?

    I have an application that displays one or more signals in a WvfmGraph.  The X Axis is set by a hardware encoder giving signals vs. distance (measured length).  I would like to change the caption of the XScale according to the values of one of the signals.  Its similar to an XY graph, but differs in that I want to see the data unrolled.
    The problem is that the X Axis scale markers are fixed.  I would like to ask the graph what is range property of the X Axis scale.  Then use that information and a derived position signal to replace the marker values with values from a derived signal that includes relative motion. 
    For example, measuring a unit 100 feet long results in measurements of 200 feet worth of data (out and back).  The customer would like to see this data unwrapped 0, 50, 100, 50, 0. 
    One alternative is to use an XY Graph, but the data on top of itself.  Not necessarily a bad thing, but not the same as what they have always had.
    I found a similar post to display the scale at a rotation (CW or CCW) and was able to get it to work for my specific case.  The problem is that my picture marker values are not aligning nicely with the corresponding gridlines. 
    Attachments:
    Position vs MeasuredDistance.PNG ‏43 KB
    Position vs. PseudoPosition.PNG ‏37 KB

    Stephen,
    Thanks for replying to my post.  XScale.Range does not handle this situation.  In "rigorous" terms, LV does the right thing with X axis scale markers and put them where you want.  I tried to set custom Marker values as: {0, 50, 100, 50, 0} and only saw the first three values.  My guess is that under the hood, the spacing is set to 'Arbitrary' and my custom values are overwritten.  Not what I intended, but I admit my task is not the normal use case.
    Today I am prototyping the entire application with each WvfmGraph replaced with XYGraph's.  Good thing I used a modular design and passed Refnums around to all my subVI's.  Depending on a review of this prototype, I might skip this graph scale formatting.
    FYI, the original graph issue wanted to rotate the marker labels CCW.  They hid the graphs XScale and used a custom picture to display the new scale.  There is a VI that formats an axis with custom labels, where the font, text, etc. can be customized.  I have a working example of that custom scale on a Wvfm graph.  I stopped refinement when I tried to consider use cases for how the user would zoom on the data, how the graph's label's would appear if the DAQ signal indicated that the part reversed on itself.  All the data is better visualized on an XY Graph.
    p.s. are you one of the Waterloo Labs engineers?  Great stuff!

  • Waveform x scale offset is drifting

    Hi,
    I've been working on an application that plots tides on a time series Waveform Chart, using the xScale.Offset parameter.
    The graph seems to drift to the right, ie
    - latest measurement shows 20:00hrs when it is actually 1530hrs
    - previous measurements originally shown at midday drift to 1400hrs, and so on
    The attached jpgs hopefully explain.
    I tried reducing (by 3x) the rate the graphs are updated, this didn't seem to make a difference.
    Anyone have any ideas?
    thanks
    Solved!
    Go to Solution.
    Attachments:
    display block diagram.JPG ‏43 KB
    210pm.JPG ‏53 KB
    310pm.JPG ‏52 KB

    I probably don't need to see the other VI's.
    The problem with this one is that every time it is called (and putting data into the graphs) it is resetting the the X scale range, and setting a new time offset.  You should really only be setting the offset once at the very beginning, and perhaps the x scale range once per day.
    I'm not sure you really want to be using a waveform chart.
    A waveform chart is designed for data that is equally spaced, and you feed it one or more points at a time and it holds a history of the data it previously received.  Two key properties of the graph are the offset (point in time which the zeroth point is) and the scaling (time between data points.)  If your data isn't coming in at precisely the same interval, (let's say every 3.1 seconds when your scaling is set for 3, or a point that is a few seconds late for some reason) your new data won't be at the time the chart thinks it is.  Couple that with a offset that is constantly getting updated every time it is called.  Zero point is now and the offset is now.  Okay.  next point is 3 seconds later.  You reset the offset to now.  So the zeroth point looks like now (3 seconds after you really got it) and the next point (the one you just got) looks like it is 3 seconds from now.
    A waveform graph is like a chart, equally spaced data, but it doesn't maintain a history.  You feed it all the data at once and it clears itself everytime you write new data to it.  For point by point applications, you need to maintain your own buffer of data.
    I think you really want an XY graph.  It is the most flexible.  The X points don't have to be equally spaced.  It doesn't have a history, so you'll have to create your own by building arrays with new data or using the Build XY graph express VI.  Here, every point that comes in, you store an X value (the time) and the Y value (the data).  You should only need to set the Xscale range once, or perhaps once per day.  Look up all 3 types of charts/graphs in LabVIEW help.  Especially the XY graph as it as several different ways of building the data in arrays or clusters for different situations.

  • How do you save a Waveform Graph as an X Y chart + be able to save the coordinates at a variable iteration?

    I am trying to do this with an O-Scope VI, and I am very new at LabVIEW, so please excuse any errors, or obvious questions.

    Hi Nick,
    Which specific VI or set of VIs are you using to get this data? In order to put data in an XY Graph you will need to put together a cluster of your X and Y data and feed it to the XY Graph. You prepare the cluster by developing an array of X coordinates and an array of Y coordinates and bundling them (Using a Bundle function) into a cluster.
    By variable iteration do you mean an iteration of the user's choice, or a specific iteration count (like every 10th iteration)? Choosing when to load data into the cluster or when to display new data on the XY Graph can be done by using case structures and a button on the front panel. You could also use the iteration [i] terminal of your loop and some math and Boolean logic to choose when to execute certain commands.
    Some resources that might help a new user:
    http://zone.ni.com/devzone/cda/tut/p/id/5054
    http://zone.ni.com/devzone/cda/tut/p/id/5247
    http://zone.ni.com/devzone/cda/tut/p/id/5243
    http://zone.ni.com/devzone/cda/tut/p/id/7605
    Will
    Certified LabVIEW Architect, Certified Professional Instructor
    Choose Movement Consulting
    choose-mc.com

  • Graph scale updates on tabs

      We have a program with several tabs, each of which has different graphs and displays.  On one of the tabs is a histogram style bar graph.  We've added annotations to each bar to label each bar with a particular identifier.  The graphs are set to autoscaling, so first we write the data to the graph with a "Value" property node, then read back the graph's YMax value and use that to help calculate where to put each annotation.  (We typically put the annotation above the bar, but have to limit it to less than the YMax value so it stays on the graph.)  Works fine, as long as the graph's tab is displayed.
       So now you're displaying a different tab and put new data into the system.  Then click to the aforementioned tab.  The new data is displayed, and the graph is properly auto-scaled, but the annotations are out of place.  The YMax that was used to calculate their maximum y position was the graph's YMax from the last time it was displayed.
       What appears to be going on is that the graph's display isn't completely updated when LabVIEW knows that the graph isn't visible.  When you later make the graph visible, LabVIEW appears to have instantly autoscaled it correctly, but the YMax value that was available when the annotations were being created isn't the YMax that would be expected from the new data.
       Our work-around is to use the maximum Y value of the data.  For autoscaled graphs, this is usually pretty similar to the YMax of the axis, but not exactly the same.
       Does anyone have any insights or other ideas?  (Synchronous display didn't seem to help.  And we couldn't find any other property nodes that might be relevant.)
    Thanks,
       DaveT
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.

    DaveT,
    This may be a complete hack/abomination, but if you are prevented from manipulating your graph if the tab is not visible, you could use an Event Structure and handle the tab's Value Change event.  Update your graph within that event.
    -cb

  • How to set waveform chart to start data since beginning of run

    Solved!
    Go to Solution.
    Attachments:
    TCs.vi ‏106 KB

    You need to check the update mode of your chart.
    Strip Chart—Shows running data continuously scrolling from left to right across the chart with old data on the left and new data on the right. A strip chart is similar to a paper tape strip chart recorder. Strip Chart is the default update mode.
    Scope Chart—Shows one item of data, such as a pulse or wave, scrolling partway across the chart from left to right. For each new value, the chart plots the value to the right of the last value. When the plot reaches the right border of the plotting area, LabVIEW erases the plot and begins plotting again from the left border. The retracing display of a scope chart is similar to an oscilloscope.
    Sweep Chart—Works similarly to a scope chart except it shows the old data on the right and the new data on the left separated by a vertical line. LabVIEW does not erase the plot in a sweep chart when the plot reaches the right border of the plotting area. A sweep chart is similar to an EKG display.
    From the help menu:
    The waveform chart maintains a history of data, or buffer, from previous updates. Right-click the chart and select Chart History Length from the shortcut menu to configure the buffer.  The default chart history length for a waveform chart is 1,024 data points. The frequency at which you send data to the chart determines how often the chart redraws.
    Attachments:
    resp2.jpg ‏36 KB

  • I want to plot a waveform chart where I have a constant slope(defined by me) and new data is plotted over the chart with the defined slope already in the background.

    I want my chart to have a constant slope already plotted before it continues to start plotting the real time data.. so that I can compare my new data point to point with the ideal slope that i already have in the background
    Solved!
    Go to Solution.

    raza51 wrote:
    Hi,
    Thanks for help.. But this would work when i have one array and a constant "slope". What if I want to print 2 arrays of data.. means if there is an array of data instead of constant "slope"...
    Since your graph is refreshed every time you go through the loop anyway, just set up the constant/reference array before the loop and feed it into the graph. That way you'll also have a full X-axis (and a Y-axis which at least includes all the reference data) for the graph already set up.
    (That's twice in two days I've been scooped by a couple of minutes, I've got to get my typing speed up...)
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

Maybe you are looking for

  • Automatically inbound delibery creation problem

    Hi! I'm using workflow ws12300004 to create automatically an inbound delibery after the goods issue posting in outbound delibery in a cross-company stock transfer. (WM storages with HU) Workflow uses function module SHP_IBDLV_CREATE_FROM_OBDLV. This

  • Fix position of 3D graph in front panel

    Hi I haev used 3D graphs in my VI but whenever I open my vi I see that the position of 3D graph has changed in my Front Panel  and it takes a lot of time to rearange everything again. It also change the position of the other things like pics or  Tab

  • Publisher and pt adaptive tags in content canvas

    I put some pt:opener tags in a publisher content canvas and when I save it, publisher convert the all to <standard.opener and removed the pt: Of course when this displays on a page, it is inactive (not clickable) Can we not put pt tags in Publisher?

  • Help! iCloud Calendar Sharing - diff accounts

    As I'm away regularly with work, I thought it would be ideal to share my calendar (not my full work calendar but the one on my iphone which I add holidays and over night stays etc to) with him. So I went through iCloud and shared my calendar with him

  • SipServer - Message Debug: Check box for Local logging enabled is unchecked

    I have configured a SipServer in my domain. The Administration Console for WebLogic Server shows an option for 'Local logging enabled' for logging sip-messages. See SipServer > Configuration > Message Debug. However, when I check this option, the opt