Prev measurement history on XY-graph

Hi!
Have the system where countinously measuring same poins over and over again. These points are in X-axis and measuring result on Y-axis. I have tagged two different solutions what I have tried. 1, where is buffer (founded on example) and 2, where is used arrays and shift register.
Problems:
solution 1. When coming back from point 10 to 0, plot drows that return.
solution 2. Arrays now initialized to 0 and no history. But if no initializing at all, history is endless.
Have any other solutions to do this?
-Thx, again-
Message Edited by Alias A on 06-04-2009 09:05 AM
Solved!
Go to Solution.
Attachments:
XYgraph.vi ‏14 KB
XY Chart Buffer.vi ‏13 KB

Here you go.
Message Edited by aeastet on 11-19-2009 08:00 AM
Tim
Johnson Controls
Holland Michigan
Attachments:
XYgraph[1].vi ‏18 KB

Similar Messages

  • Displaying Entire History in the Graph

    Is there any way I can display the entire history of experimental data in a Waveform chart? 
    I am trying to acquire the torque data over a period ,say, 1800 seconds (30 minutes), and would like to display the entire data in a graph while it is being acquired.   

    right-click on your chart and select "chart history lenght...". Enter the desired number of points (default is 1024. Keep it reasonable, though). What is your data rate?
    LabVIEW Champion . Do more with less code and in less time .

  • Measure transition time in graph indicator automatically

    hello. please help me. I want to measure the rise time for the two graphs (see picture). i also need the decent time. is there a way to interpolate the graphs?
    please help me.
    THX
    Attachments:
    picture.gif ‏6 KB

    Hello 0123,
    If you are using LabVIEW professional, you can use the transition measurements.vi, which offers a lot of functionality.
    Transition Measurements (Not in Base Package)
    Accepts an input signal of a
    single waveform or an array of waveforms and measures the transition duration
    (rise or fall time), slew rate, preshoot, and overshoot of a selected positive
    or negative transition in each waveform. The data type you wire to the
    signal in input determines the polymorphic instance to use.
    Otherwise try with Timing and Transition Express vi.
    regards
    Message Edited by IngoS on 02-01-2006 02:57 PM
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany

  • Graph of Measurement points and a charecteristic vs time

    Hi SAP Masters,
    I am currently having a problem and I hope you can help me to solve this. I am trying to create a graph where I can compare one of  my Design data which is in my characteristic against the graph that i can generate from the measurement point vs time graph.
    How can I add the characteristic into this graph?
    And How does SAP know that which two column should be used for the graph? I know It can add a secondary y-axix but doesn't allow me to chose any data for that axis.
    My objective is to compare the measurement point data(movement) vs time with the design data(design movement). I can generate a column graph of movement vs time from the measurement points and I can display it over last couple of years. but if I can show design movement along with the measurement point movement then it is good for us to see if it is more than design movement stored in the classification tab of the Floc.
    thank you
    Edited by: sam1188 on Mar 16, 2011 2:24 AM
    Edited by: sam1188 on Mar 16, 2011 1:48 PM

    If you've been charged twice for the purchase (you didn't click on 'buy' twice and it appears twice on your purhcase history ?) then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • 11.1.1.5 - Measure labels are appearing in legend (line graph)

    I've created a line graph in 11.1.1.5. My legend is showing a combination of the column value and the measure name (e.g. Web Sales, Direct Sales, Retail Sales). I want my legend to simply say Web, Direct, and Retail, without the appended 'Sales' measure label.
    The Measure Labels tile is currently residing in the Vary Color By (Horizontal Axis) zone, along with the legend column, so I guess it makes sense that the legend column and the measure labels would both show up in the legend (although I don't think that was the case in 11.1.1.3). However, there doesn't appear to be any place into which I can relocate the Measure Labels tile so that the word Sales DOESN'T appear on the line graph. If I move the Measures Labels tile into Graph Prompts, Sections, or Group By (Horizontal Axis), the word Sales appears in those locations. If I attempt to move that tile into the Lines (Vertical Axis) box, or into the Excluded box, it won't allow being dropped there.
    Switching between line, bar, and area graphs reveals the same problem in all graph types.
    Is there any way to supress the display of measure labels on graphs in 11.1.1.5?

    Hi Paul,
    This is the feature in 11g obiee displaying the Measue heading and dimension value... like u said right Web Sales...and so on.
    Here in u case web is the value of dimension and Sales is heading of a measure.
    One way is if u are not using any dimension apart from 1 dim and fact u can put measure labels in the group by axis and dimension column in the show in legend section then it will give u only web.
    But if u have 2 dimension then we have to put this measure labels with either one of the dimensions in this case heading of the measure wil display.
    Thanks
    Subhash

  • Line graph properties

    Hi,
    I got a table like this :
    ID - TIMESTAMP - HISTORY - FUTURE
    1 - 26 jan 2010 - 22 - 0
    1 - 27 jan 2010 - 26 - 0
    1 - 28 jan 2010 - 30 - 0
    1 - 29 jan 2010 - 32 - 32
    1 - 30 jan 2010 - 0 - 35
    1 - 31 jan 2010 - 0 - 39
    1 - 1 feb 2010 - 0 - 43
    I want to create a line graph, but I need a contineous graph with on the X-axis the timestamp,
    and the Y-axis first the History, and then seemlessly followed by the Future values.
    Now I get at 29 jan 2010 a sort of cross in my graphic.
    I mean : the future graph starts plotting at 28 jan and rising until value 32 at 29 jan, and it should stay 0 until 29th jan.
    Is this possible ?
    Edited by: Facehugger on Feb 23, 2010 6:20 AM

    Hi,
    Thanks for the tip.
    Now I get 1 smooth line showing both history and forecast without a 'fade out' in the middle from
    history and a 'fade in' in the middle from forecast.
    This is my query :
    SELECT Measurements.OBJECTID,
    Measurements.TIMESTAMP,
    CASE
    WHEN Measurements.FORECAST =0
    THEN Measurements.HISTORY
    ELSE Measurements.FORECAST
    END
    FROM MEASUREMENTS Measurements
    But ...
    How can I use 2 colors like this example :
    http://www.fraport.com/cms/media/184/184224.forecast_2020.jpg
    blue = history
    green = forecast
    This is also an example of the type of graph I want to create :
    http://www.dft.gov.uk/144130/185507/209573/Road_Traffic_Forecasts.gif
    So multiple lines in different colors, where some of the values are 0 (the first 10 for example).
    Thanks in advance.

  • Using Excel with Visual C++ 6.0 (need a graph control that behaves as much like the one in CVI as possible)

    I hate to beat this to death but I was unable to find a
    clear answer to this question.  Does NI provide Excel control from within
    Visual C++ 6.0? 
    I read that NI supports the ANSI-C library only for Visual C++ 6.0 users:
    Thread : "Re: Benifits of using measurment
    studio for VC++ 6.0?"
    NI REP : drohacek
    Quote  : "we made the decision to support Visual
    C++ 6.0 users only through the ANSI-C interface and not through the Measurement
    Studio MFC-based class libraries."
    If there is a suggested way of controlling Excel from within Measurement Studio
    for Visual C++ 6.0 then I’d love to know it. 
    If not, can a plain statement be made basically stating that if you want
    to control Excel you can’t use a Visual C++ 6.0 environment even with Measurement
    Studio support?
    With .NET of course you can just decide to have Excel support added during
    project creation.  CVI can act as an ActiveX server and easily control
    Excel just by building off the examples shipped with CVI.  I see that
    there is support, using the Measurement Studio for Visual C++ 6.0 Project Wizard,
    for taking existing CVI projects and converting them to Visual C++ 6.0 projects
    or for calling CVI libraries from a .dll from within Visual C++ 6.0.  I suppose I could do the work
    in CVI and then convert the project but I'm so deeply tied into all my MFC calls that I don't see
    how I can cleanly include the CVI libraries into my existing VC++ 6.0 projects.
    What I'm really after here is a visual graph control like the one in CVI that I
    can use from Visual C++ 6.0.  I purchased a 3rd party graph control for use
    in VC++ 6.0 that works well but isn't really visual.  I mean you can't
    enter any values in it until you run the program and fill it out programmatically. 
    Then you can see which columns are two narrow, quit the program, adjust the
    column width of your now empty control, and repeat, until you get the thing
    looking the way you want.  If I could call into Excel from within Visual
    C++ 6.0  the way I do from within .NET
    then I could use Excel to hold the table and just read in the values into my table
    control at run time.  Basically I'd use Excel as a visual development tool
    for all my tables.
    I do all my coding from within CVI and Measurement Studio for Visual C++
    6.0.  I'd use CVI for everything if I didn't depend so heavily on certain
    outside controlled C++ .dll's.  Could you please suggest then what I can
    do to get Excel support for Visual C++ 6.0?
    Last question :
    Is there any plan to ever have a NI table control like the CVI table control for
    use in Visual Studio?  One that you can
    completely set up before you do any compiling? 
    I imagine that the way Microsoft sets up their environment makes this idea impossible.  Otherwise someone would
    have come up with a truly “visual” table control before now.
    Thanks,
    Grant
    Grant M. Johnson
    Project Engineer
    LECO Corporation

    Hello Grant
    You can most certainly use Excel with VC++ 6.0. Measurement Studio won't provided you with any classes to talk to Excel in VC++ 6.0. This is because Excel allows control via Automation and you can use its automation API to do anything you need with Excel. This is what CVI uses as well.
    You can see this MSDN article on how to set this up. This mentions VC.NET, but it should work the same way.
    Here is one that talks about VC 6.0 and Excel.
    Here is a code project article about this.
    Even with .NET, you have to do thru the Excel Automation support. Excel started shipping with Primary Interop Assemblies (PIA) which are .NET wrappers about the Excel Automation object model. C++ Automation is definetely not as nice as .NET, BTW
    See this document for more information about the Excel object model.
    I would not recommend using the CVI Excel libraries if all you want to use them for is Excel automation. You will end up creating un-necessary dependencies and go through extra layers that way. You can make calls straight to Excel from VC++ without requiring CVI.
    One quick observation about your excel approach. If you decide to use Excel as your table, you might be requiring everyone who uses your application to have Excel installed on their machines. Just wanted to make sure this was acceptable to you.
    Have you looked at the Datagrid Activex control, which is one of the common controls that ships with Visual Studio? You can add it to Visual Studio by right-clicking and picking it from the list of installed activex control. If you have not already, you should check it out.
    Microsoft has made significant improvements in the number of controls they provide with .NET. They have a Datagrid control that seems to be what you need.
    Measurement Studio did add some high level classes for Excel and Word Automation that simplify some common tasks, but these exists for VS 2003 C++ and VS 2005 C++, not for VC 6.0. Underneath, we end up using the same Excel automation classes, so you can easily setup something similar for VC 6.0. Plus you can find alot of references online on how to use the Excel Automation object model with C++.
    We currently have no plans in Measurement Studio to create a table control unfortunately. I am assuming when you said graph, you actually meant table, since Measurement Studio already  provides a ActiveX graph controls for VC++ 6.0 that is very similar to the CVI graph.
    On a side note, VC++ 6.0 is really really old. Have you considered upgrading?
    To summarize
    - Yes, you can use Excel with Vc++ 6.0 without mstudio.
    - Try using the Datagrid Activex control if you just need a table.
    - Measurement Studio provides high-level excel and word classes for VC++ 6.0
    - Measurement Studio provides a graph control for VC++ 6.0 which is very similar to the CVI graph.
    - Measuremnt Studio does not have a table control.
    - VC++ 6.0 is really really old. Have you considered upgrading?
    Bilal Durrani
    NI

  • How do set up multiple devices with multiple graphs in labview

    Hello,
    I am new at LabView, and we are trying to setup a test rig to measure voltage, pressure and flow rates. We are currently using a NI-6009USB box and Labview version 8.2.  Our problem lies in setting up the actual measurements on separate graphs. How do i go about setting up the daq-assistant to measure mulitple devices, and graph them on their own graphs?  We also need to know how to program in when measuring flow, how to convert it from square wave form to a calibrated curve?
    Any help would be greatly appreciated!
    Nate

    When you configure the DAQ Assistant, you will be first asked to select the measurement type. Assuming that you have voltage sensors because you have the 6009, you select Analog Input>Voltage. You then get a list of devices. Since you only have one, it should be listed as Dev1. Expand that and then pick the channels you have connected to the sensors. Just like it says at the bottom of the of the channel window, you can select multiple channels with  <CTL> or <SHIFT> click. After you've done that, the next window is where you select your sample rate, number of samples, etc. You can also select a custom scale for each channel. This is where you would enter any formula you have from the sensor vendor in order to convert a voltage reading to scaled units.
    The output of the DAQ Assistant is a dynamic data type. You can wire this to a single graph to display all readings together or use the Split Signals function to break out individual channels for separate graphs.
    Message Edited by Dennis Knutson on 02-22-2007 03:33 PM
    Attachments:
    Split Signals.PNG ‏4 KB

  • Using a waveform graph, how to get all recorded data graphed?

    I record data from 6 channels using DAQmx with simulated channels and write to measurement file.  Then using read from measurement file, and waveform graph, I am trying to graph the data that has been recorded.  I am only getting a small amount graphed.  The same graph appears whether I have let the measure and record program run for 1 minute or for ten minutes.  It also displays a time at the end of the graph that is in the future.  What am I doing wrong?  Please help.
    Hillis Pratt, Jr.

    I am attaching the two VIs I have been trying to use.  I started with examples from NI and didn't go far from that.  Any assistance would be appreciated. 
    Attachments:
    Measure and Record Six Voltages with Express1.vi ‏119 KB
    Graph Measurement Files1.vi ‏89 KB

  • Running Aggregate Functions, Attribute or Measure?

    Hi Guys:
    I wonder if this is a bug in BIEE 11g? I am using 11.1.1.6.
    My requirement is quite simple, I have a measure, and I want to show this measure as a cumulative curve by month. For example, let's suppose there are three columns in Criteria:
    Month, Amount, RSUM(Amount)
    Then I plot a curve by RSUM(Amount) vs. Month. In BIEE 10, there is no problems. However in 11.1.1.6, I got an error. I look into the table and found that, after using running aggregate functions, like RSUM or MSUM, the column becames Attribute, instead of Measure. In other word, although I can see the RSUM(Amount) column in Criteria page shows a yellow icon, it turns into blue in Results page! Since it becames Attributes in Results page, I cannot drag RSUM(Amount) into Measures area in Line Graph. I can see the correct values in Table view, but got error in Line Graph view.
    Why the column properties are different between Criteria and Results? And are there any workaround to plot a cumulative curve? I dont want Parete graph.
    Thanks
    Larry

    Hi Larry,
    I do not think this is any bug in .6 and I just gave a try successfully to confirm that too. My test case follows
    1. Created an analysis with Period.Month and Measures.Value
    2. Added another measure and changed the formula of Measures.Value as RSUM(Measures.Value) and still see it to be a measure as expected.
    3. Navigated to results section and added all kind of graphs to notice that it is behaving as expected.
    Can you let us know, what error are you hitting at in the graph?
    Thank you,
    Dhar

  • Programmed vs measured voltage on Keithley 2400 and other things

    Hello everyone,
    I have two issues with our Keithley 2400, which we control through Labview, and I would be very grateful for some help/advice. The issues are listed below:
    1) We use the 2400 for 4-point probe measurements, so we plot graphs of current vs voltage to get the resistance from the slope of the curve. However, when we look up the data generated during a measurement, the voltage sweep values that we program often, but not always, do not match the measured voltage values. For example, what was meant to be 1 V, might actually end up being 1.2 V or maybe 0.8 V, this can be both positive and negative with respect to the programmed values and is not constant. This also leads to the fact that our curves, although straight (so Ohmic conductor), do not go through the (0, 0) point on the graph.
    2) Second problem is that we would like to determine what is the time between successive measurements in a voltage sweep. We have tried some example vi files that by default come with the Labview, e.g. Keithley 24XX Read Multiple - SW Trigger or Keithley 24XX Read Multiple. If someone knew how to find the time separation, then we would be grateful. We only have control over the number of invididual readings taken and the timeout, which we guess is the maximum time allowed for the measurement.
    Many thanks!

    Good Afternoon PiotrW,
    1. Could you please provide the code you are using to program the voltage sweeps? 
    2. You could use the timestamp output of the Keithley 24XX.lvlib:Read (Multiple Points).vi to allow you to find the time difference between successive samples. It should be a simple case of subtracting succesive measurements from each other to find the time difference between data points.
    Regards,
    Al 
    Regards,
    Al C
    National Instruments,
    Application Engineer

  • Customizing HUM graphs

    Hi,
    we have HUM 1.2. In all the graphs, the top Y axis value is related to the maximun measure showed by the graph, would it be possible to configure HUM for always showing a top value of 100?
    Thanks.

    I don't fully understand the question.  If you mean change the graphs shown in the screenshot, then no.  If you are referring to something else, then start a new thread, and include as many details as possible.

  • OBIEE - TODATE and YTD Graphing

    Dear all,
    This is a difficult one I'm having.
    I've got three measures. Income, Forecast and Variance. They've all got "TODATE" wrapped round them at RPD level and work fine in reports, alongside my "weekly" Income, Forecast and Variance measures.
    I have a dashboard prompt with a single week at the top of my dash. When selected, it passes this week to an intermediate "week number driver" report which calculates -4/+4 weeks of the selected date.
    I have my Income, Forecast and Variance measures in a line graph, which uses the following logic; "where Week Number is greater than or equal to any Start Week Number in Week Number Driver Report" and "where Week Number is less than or equal to any End Week Number in Week Number Driver Report".
    This shows a graph with my selected week in the middle, four weeks back and four weeks forward from that date (e.g. Week 12 shows Weeks 8 to 16).
    My problem is; For weeks 1 to 7 the YTD line values are correct over all measures. They show the YTD values I'm expecting. However, when I go to Week 8 onwards (so Week 8 is the first shown in the graph), the YTD values are incorrect. I guess this is because the system is "YTDing" using 8 as the starting week, instead of using Week 1 - can't confirm though.
    Could anyone shed any light on this problem? How do I get the graph to calculate from Week 1, regardless of which -4/+4 period of weeks are shown?
    Many thanks,
    Alasdair
    UPDADE: Doh! Wrong forum! My bad. Please see OBIEE forum and ignore this post!
    Message was edited by:
    Ally

    Analyze the physical query being generated for the report and you will have a clearer idea of what the engine is doing.

  • TODATE and YTD Graphing

    Dear all,
    This is a difficult one I'm having.
    I've got three measures. Income, Forecast and Variance. They've all got "TODATE" wrapped round them at RPD level and work fine in reports, alongside my "weekly" Income, Forecast and Variance measures.
    I have a dashboard prompt with a single week at the top of my dash. When selected, it passes this week to an intermediate "week number driver" report which calculates -4/+4 weeks of the selected date.
    I have my Income, Forecast and Variance measures in a line graph, which uses the following logic; "where Week Number is greater than or equal to any Start Week Number in Week Number Driver Report" and "where Week Number is less than or equal to any End Week Number in Week Number Driver Report".
    This shows a graph with my selected week in the middle, four weeks back and four weeks forward from that date (e.g. Week 12 shows Weeks 8 to 16).
    My problem is; For weeks 1 to 7 the YTD line values are correct over all measures. They show the YTD values I'm expecting. However, when I go to Week 8 onwards (so Week 8 is the first shown in the graph), the YTD values are incorrect. I guess this is because the system is "YTDing" using 8 as the starting week, instead of using Week 1 - can't confirm though.
    Could anyone shed any light on this problem? How do I get the graph to calculate from Week 1, regardless of which -4/+4 period of weeks are shown?
    Many thanks,
    Alasdair

    Analyze the physical query being generated for the report and you will have a clearer idea of what the engine is doing.

  • OBIEE - Graph

    Hi Frnds,
    I'm trying to produce default linear graph.
    I have 2 measures i produced a graph - using chart property in window. Using: Graph: Line bar combo, 2d stacked.
    But, i want to produce a linear graph b/w them, based on the 2 measures graph.
    Eg: I have current values, forecasted values measures. I got graph using linebar combo, selecting line for both above measures. I want the dotted line (which says linear values - which is generally based on above 2 measures graph )
    How to get linear value graph by default from obiee?
    OBIEE-10G
    Thank you.

    In , order to resolve it i created a dummy column in answers.
    And, in the forumulae section - i said (Current value+forecaseted value)/2 ----- and called it in Graph.
    But, i think this doesn't show the linear graph ? Does it ?
    Is the approach is correct ?
    Thank you.

Maybe you are looking for

  • INSTRUMENT I/O ASSISTANT EXPRESS VI - PERFECT PARSING NO OUTPUT

    I am using the Instrument I/O assistant express VI to parse data from a (visa) serial port. Neatest thing since sliced bread! I initially send a write command followed by eight read/parse commands to retrieve eight tokens each ending with cr/lf. All

  • About report

    Hi, I'm working with an application which needs to create various reports. I'm seeking some reporting tool in Java that fits with netbeans IDE 6. Is there any such reporting tool out there, Please advice me thanks n regards... Dev.

  • Exporting "Original" from iPhoto '09 v8.1.2(424) to External Hard Drive

    RMS3RD  Re: error writing to disk     Feb 6, 2014 8:40 AM    (in response to Terence Devlin)  Terence, not sure of the etiquette here but this is similar to what I am experiencing: CPE: MacBook Pro 5,5 Core2Duo running OSX 10.5.8 with EHD  Seagate Ba

  • PDP authentication failed error

    Hi Team, I'm using iPhone 6, my device is working good with local mobile data. If I tried to access data in roaming, it won't work and prompting an error PDP Authentication failed As network provider confirmed that the issue not from their end and it

  • Slow while going from one screen to another screen

    Hi,       I have installed SAP 4.7 version. The hardware of system is 3GHz processor and 1 GB RAM.  It is taking more time while going one screen to another. So after entering XD01 or any tcode , I have to wait for seconds some times 10 second to a g