Historical graphics trending

evening,
we have a need to show a trend graph of historical data stored on a MySQL database table. The table has the following columns
TAGNUMBER, int
TAGVALUE, int
TAGTIMESTAMP, timestamp
Upon selection by the user of start date & time and end date & time, the JSP custom tag should produce a graphic representation of:
X axis date & time as per TAGTIMESTAMP
Y axis the TAGVALUE
any ideas
thanks
Trajano

thank you
JFreeChart does not suit JSP/Servlet,
any other suggestions?
thanks
Trajano

Similar Messages

  • View historical time trend in xy graph

    Hello Friends,
        I want to get historical time trend in xy graph or waveform graph.
    So how can i view that historical time trend in XY graph.
    If it is not posible so how can i view that historical trend value in any indicator.
    please if any one have a solution of this so please tell me.
    Thanks & Regard
    Nitin
    Thanks & Regard
    Nitin Jain

    You can Add scrollbar to the graph so that you can view the historical time data... Is that you need...?
    Kudos are always welcome for the correct solution...
    The best solution is the one you find it by yourself

  • Read historical trend is hanging up after 100-250 consecutive reads

    I have a state machine setup to read historical data for a selected array of tags. I have several different sets of tags that I want to read. The state machine will read data and display a trend for each of the eights tags in the array. The vi works fine on another computer. I have moved to another computer and the read historical trend vi hangs after anywhere from 100-250 total executions of the 'read historical trend vi' that comes with labview. open the file 'my 90hd all stations at once StateMachine.vi' and look at state 3 in the case structure. Inside the file 'read hist data and turn into cluster.vi' is where the program is hanging up at the read historical trend vi. Since the read histori
    cal trend vi is password protected, I can't get inside it to see what is happening. I am running logos 4.4.0.17 and the dsc6.1 updates from feb26 2003. this is on a win 2000 machine. I have also deleted the entire CITADEL database and created a new set of data. This same style of vi exectues on another computer without hanging while reading historical data. I have the state machine setup to auto update the data every 900 seconds and it will hang eventually after so many updates. Any thoughts on fixing would be appreciated.
    Attachments:
    op90_head_all_vi_files.zip ‏1641 KB

    I did not run your example/db. If you say that it happens on one PC but not on another, I guess it depends on a Windows 2000 OS setting.
    You sould make sure Start >> Settings >> Control Panel >> System >> Advanced >> Performance Options >> Optimize performance for: is set to Applications.
    I've seen this before and NI R&D told me that this is maybe an issue in the Citadel 4 interface. However, with the new LabVIEW DSC 7 and the new Citadel 5 this issue seems to be resolved and you should be able to develop a multithreaded application in LabVIEW DSC even with the setting to be in Background.
    Please let us know if the workaround fixes the problem for the Read Historical Trend.vi hang and check out the cool new features in i.com/labview/launchpad.htm>LabVIEW 7, LabVIEW 7 DSC Module.
    LabVIEW Datalogging and Supervisory Control Module Release Notes
    Hope this helps
    Roland

  • OBIEE 11g Application Performance Monitoring

    Are there any best practices or recommendations for Application Performance Monitoring for OBIEE 11g?
    I see that from Fusion MiddleWare Control, we can navigate to Business Intelligence -> CoreApplication (right click) -> Monitoring -> Performance
    And from here we have a huge amount of performance metrics to choose from.
    What I'm interested in finding out is:
    1). Out of these hundreds of metrics, are there a subset of "core" performance metrics that Oracle recommends monitoring that gives a good baseline for performance of the application?
    2) What are the options for capturing/gathering/saving these metrics for historical and trend analysis?

    Excellent post. Thanks. Is there some sort of trial of the tool you guys built that's described in the post you linked?
    "In addition to the out-of-the-box options above, here at RittmanMead we have developed our own OBIEE monitoring tool.
    DMS metrics are stored directly on disk or through a database, enabling both immediate and retrospective analysis. Custom dashboards enable the display of both OBIEE and OS data side-by-side for ease of analysis. Integration with third-party tools is also an option."

  • Lookout 6 Hiccups

    Sorry, this is a bit long winded....
    I seem to have found the case of some of our hiccups with Lookout 6.0. We had been having problems with client workstations and extremely slow or now historical data trending on their clients. I had checked many things, including rebuilding the server and client processes, using ActiveX Trend vs. Lookout Trend and visa-versa, we used both an upgraded database and new database from scratch, etc.... I had spoken with support numerous times and they all had me trying different fixes.
    NOTE:
    Client Computers Discussed are Windows XP Professional SP2
    Server Computer is a Windows 2003 Server Machine
    One of our new client computers would not update historical trends at all, live data was fine, it would read that data and you could see it updating, but any historical trending would not work at all. I noticed that there is a new folder structure under the following (this will vary depending on your server computer's name and your server's database you are connecting to) "C:\Program Files\National Instruments\Shared\Citadel\_LocalCache\_monet_\_c__program_files_national_instruments_lookout_6_0_database_". I noticed that on machines that were trending historical data properly (or at least as properly as they could be, still slower then 5.0), there were files in this directory that seemed to be duplicating the database file structure on the server's machine, on the machine not trending, there were no files or just a log file (don't really remember). This raised my question about how the server and client communicate when using trends, I never got a straight answer from support, except to say that they talked to R&D and supposedly this folder has nothing to do with the historical trending on the client computer.
    ***HOWEVER***
    During a recent non-related software upgrade, we found an issue with user rights assignments on Windows XP Professional workstations where for some reason, if a user was part of more then one group and they were a part of the "USERS" group, they would receive restricted access on the local computer even if they were a part of "POWER USERS" or "ADMINISTRATORS". We ended up having to make users part of the "POWER USERS" group only, to solve the unrelated problem. After doing this, the user with the non-functioning client noticed that the trends started updating on his computer.....and low and behold, there is now over 200MB of data in that cache folder, something tells me that the cache folder just might have something to do with the historical trending on 6.0 client computers. Hopefully at some point this post will either give someone some insight to a similar problem or at least any other database related issues they may be having with Lookout 6.0......or at least amuse someone.
    If this all sounds a little sarcastic, it probably is....
    Don't get me too wrong here, I do appreciate the new functionality provided with 6.0 and the new Citadel 5.0 database structure, but I think there are some serious inefficiencies in how the database functions and it seems like there is a major lack in documentation and knowledge on how it operates in the background.

    fixthis,
    I am unclear on what exactly you are seeing.  "hypertrend chart updates, but the signals do not always appear."  Do you mean the chart keeps scrolling, but the signals disappear?  When you say "data window that pops up for the hypertrend does not update the data while moving the cursor across the hypertrend chart." I assume you are referring to the cursor data window -- what method are you using to move the cursor -- by clicking the arrows on the Hypertrend, by clicking on the cursor itself and moving it, by clicking the arrows in the Cursor data window, or by manually changing the time in the Cursor data window, either by using the arrows or typing a new time in?
    Does this happen with both the Lookout Hypertrend and the NI ActiveX Hypertrend object?  Does it happen when only one trace is on the Hypertrend or only with a larger number of traces?
    We are very interested in knowing about Hypertrend/Citadel issues customers are experiencing, but unless we can reproduce the issue or have a very clear understanding of what is going on, it is very difficult to determine what the cause is or any possible fixes -- is it possible for you to post screen shots, and a very simple process file that will reproduce this problem?
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • BIA: capacity planning

    We are succesfully using BIA so succesfully that we want to add more and more indexes.
    In order to keep an eye on capacity (mainly physical memory) we need historic figures/trend of memory utilisation on the specific blades.
    Currently we use ~ 60 percent of (physical) memory on the blades; so we are quite hesitant to increase the indexes.
    Does anyone have experience with this issue?
    Can we use tools like vmstat?

    Hi Elena,
    in my oponion there isn´t a possibility to take more as 4 days of history via the trexadmin tool. I use cacti ann feed it with snmp data from the blades. This is the way I created my trend analyze.
    Regarding the memory issue you can read this article:
    http://www.netweavermagazine.com/archive/Volume_03_(2007)/Issue_03_(Summer)/v3i3a04.cfm?session=
    Size appropriately. According to Tetzloff, when sizing the blade servers, remember that for queries to return quickly, all that data has to stay in memory. Thatu2019s where BIA gets its speed. When sizing, consider how much storage is required to keep all your data in memory. Another thing you have to keep in mind is that you must leave room for the queries to do their work. For the queries to pull all that data together and give you a result set, they require memory as well. So, if you size your appliance to just hold your data, you wonu2019t have enough room left to run your queries. SAP gave us a good rule-of-thumb that says, donu2019t let your data consume more than 50% of the memory on your blade servers. That gives you some room for those large queries to run without causing performance issues.
    If you use 60%, I don´t think you get so much performance issues, but I don´t know how much users the BIA use and how much process chains are running. It´s only a recommended buffer, if you need it or not you must find out. But I don´t know how BIA´s behaviour is if it swaps, theoretically it is better than you backend DB. Do you actually have only peaks that comes over this 50% or are it long terms? May be you can arrange your process change that they run not together.
    Best Regards,
    Jens

  • Forcasting in BI

    Hi all,
    I need to know that whether forcasting can be done in BI. Ex. If i have some month figs for say steel price till the current month. Based on some past figs we need to know the graphical trend which will show us the future trend.
    Whether it is possible or we can't do in BI. We need some other tool.
    waiting for the response.
    amit shetye.

    Hi,
    APD's can be done in BI. Better tools are IP(Integrated Planning) and its newer version BPS, as the previous reply says.
    Documents on APD
    http://help.sap.com/saphelp_nw04/helpdata/en/49/7e960481916448b20134d471d36a6b/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/96939c07-0901-0010-bf94-ac8b347dd541
    http://help.sap.com/saphelp_nw2004s/helpdata/en/39/e45e42ae1fdc54e10000000a155106/frameset.htm
    https://websmp206.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000585703&
    APD and T-ODS automation questions
    Hello Info on APD
    BW 3.5 APD Enhancements
    http://help.sap.com/saphelp_nw04/helpdata/en/49/7e960481916448b20134d471d36a6b/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/96939c07-0901-0010-bf94-ac8b347dd541
    http://help.sap.com/saphelp_nw2004s/helpdata/en/39/e45e42ae1fdc54e10000000a155106/frameset.htm
    https://websmp206.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000585703&

  • DP - Forecasting Models

    hi
    I need to work on forecasting models in my project. I read a lot of times on this subject various articles. I am still not understanding clearly the terms like Basic, trend, initialisation, Ex-forecast.. Is Ex Forecast generated by system automatically ? if so, what we should interpret from that ? its the forecast run in the past for comparison purposes. So if i run a forecast last month (oct 07) becomes ex forecast in Nov 07 ? What & How to do the Initialization ?
    Hope someone can pass the light on this
    thanks
    venkatesh

    Hi Venkat,
                      The basic idea behind using a statistical model is to analyze the historical sales trend and find a analogous mathematical equation there y use statistics to solve the equation. This equation depending on how the trend is have few constants. Like an equation y=ax1bx2cx3+..... where y is your forecast and x1, x2 and so on are independent variables and a,b,c,d are all constants.
    The statistical models here are using apha, beta, gamma and permo in place of these a,b,c,d. These indexes are used based on the curve.
    alpha index for basic value
    Beta index for Trend
    Gamma index for seasonal
    persmo index for outliers
                 Any curve always has basic value as it has to define where it starts from the base. If the curve is heading up or down, it has a trend (upward or downward) value. If the curve has a seasonal behavior like a sine or cosine curve, it also has a seasonal index associated with it.
    Basic: This value decides the vertical placement of the curve with respect to base. Higher the alpha(basic), higher the curve with respect to horizontal axis.
    Trend: Specifies the slope of the line
    Seasonal: Specifies divergence from basic value.
    Ex-post forecast: In the history available, you date back some time and consider part of the history as future. Then the history before this so considered forecast is used to forecast the future. You get a future curve and value. But you already have the future as it is history. This helps you compare the effectiveness of the forecasting model.
    Read this
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7a4025f8-0a01-0010-0fb2-b7ab22597675">document</a>
    This is the best source.
    If you select the ex-post forecast in univariate forecast profile, the system calculates the expost forecast and can be displayed below the history to compare.
    Hope this helps.

  • Oracle Index Wizard

    Can you please answer any of these questions.
    1) How to use Oracle Index wizard in oracle 10g and how to go to that wizard.
    2) What is the url to access oracle 10g enterprise manager console.
    3) Do we need to install any other softwares to access Oracle 10g index wizard.

    In Oracle 9i, try this link: http://www.lc.leidenuniv.nl/awcourse/oracle/em.920/a86647/indxtun.htm#1003379
    To access the OEM Database Console try to access the link http://server_ip_or_name:5505/em/console
    In Oracle 10g try this:
    Using Segment Advisor
    You can use Segment Advisor to provide advice on whether an object is a good candidate for a shrink operation based on the level of space fragmentation within an object. The advisor also reports on the historical growth trend of segments. You can use this information for capacity planning and for arriving at an informed decision about which segments to shrink. Use the Segment Advisor wizard to evaluate objects for block and space usage and to determine whether space can be saved by shrinking highly fragmented segments. The space gained by the implementation of these recommendations is returned to the tablespace. You can launch the Segment Advisor from the Advisor Central page or you can initiate it in the context of a schema object, such as an index, table, tablespace, or materialized view.
    To run Segment Adviso, follow these steps:
    1. Navigate to the Database Home page.
    2. In the Related Links section, click on Advisor Central. The Advisor Central page appears displaying a list of all Advisors available to you and a table showing the results of Advisor tasks that have previously been initiated.
    3. Select Segment Advisor from the list of Advisors.
    Using the SQL Access Advisor
    The SQL Access Advisor helps define appropriate access structures such as indexes and materialized views to optimize SQL queries.
    cheers

  • Syslog Monitoring!!

    HI Techcies!
    Can anybody recommend an OPen source SNMP Server with Graphical User interface to manage SYSlog messages frm Cisco routers.It shd privide tollowing features?
    1.Interface UP/Down Status.( Notification thr'e-mail when there is failure.
    2.Abnormal traffic activitis.( to monitor External threats)
    3.Need to do Excellant customised Filtering.
    4.Graphical Trend Anaysis of Traffic,failures etc!
    May be we may not have a single tool to do all that specified.
    I welcome differnet tools and their usage.
    Vanna

    Try Nagios http://www.nagios.org/

  • "Read Historical Trend(s)" gives one point too early.

    I'm using LV6.0.2/LVDSC 6.0.2. It's my first time using LVDSC.
    I'm finding that "Read Historical Trend" and "Read Historical Trend(s)" vis always return a data array with the first point being earlier than the 'start timestamp' input to the vi.
    Is this:
    1) normal behavior for the vi.
    OR
    2) due to the fact that my installation of the 6.0.2 updates did not go smoothly (I sometimes get a "secondary dll cannot be found" error msg when I start LV by opening a vi with "Read Historical Trend(s)" in its hierarchy ... no error when the vi is opened when LV is already running.)
    NI Support has recommended that I do a complete unintall/reinstall which I'm about to do. I'm just curious as to w
    hether the extra early point is due to my poor interpretation of what 'start timestamp' means or my bad installation.
    TIA. Donald
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

    This behavior is by design in the Citadel database's query interface.
    The reason is if you drew a graph of the data returned by your query, and had the axis limits set to the start and stop time of the query. If we returned only the first point with a timestamp >= start time, <= stop time, then the graph would imply that there is NO data, or that logging was off, or that the data was bad before or after the end points. That is not true in those cases.
    In terms of graphical displays, this is not a problem. You need to set the start and end time of the X-axis, and do NOT choose "loose fit", and do NOT choose autoscaling. The behavior of the graph is easy to configure to get the proper visual look, which will then also include an accurate reflection of the data in the
    system.
    If you want to eliminate that first value, use the Array Subset function to get the remaining values.

  • MIC / VENDOR Trend analysis in Graphical mode

    Dear Freinds,
    please explain me how top perform trend analysis in graphical mode for a material procured from a vendor over a period of time.
    Report should display the charecterstics recorded for Material / Vendor combination.
    I am not using SPC charecteristics.
    regards
    jeevan

    Dear Jeevan
    There are two ways in which you can do the graphical analysis for material vendor combination
    1) You can do it in MCVD. Here you can get all the relevant mics in the desired combination
    2) But a better graphical analysis can be done in QS28. But here you will have to specify the MIC.
    Go to QS28. Input the plant and the mic and execute. You will get MIC details. Choose the MIC and click on Result history. A pop will appear Result history Limit Selection. Here you can mention the vendor . Execute you will get the entire list of lots with all values and charts. You can run chart, histogram, cp , CPk values. Run chart for mean, runchart for single values etc
    You can do this through the inspection lot also. Go to QA33 > result> Select the Mic> go to Result history >enter the vendor. Execute you will get the entire list of lots with all values and charts
    Hope this helps
    Regards
    Gajesh

  • Read Historical Trend VIs do not return all of the data between start and stop.

    My Main.vi manually writes data to Memory tags in DSC. If my Main is running, calls to Read Historical Trend.vi and Read Historical Trends.vi sometimes take a very long time (~60 seconds in some cases). In addition, most of the time the last data point from that time period is missing.
    For example, I have a discrete tag that is False before the start time, and goes True and then False again before the stop time. I know that this happens because I can see it in the Tag Monitor. However, when I call Read Historical Trend.vi, only 2 data are returned: a 0 with a timestamp from before the start time, and a 1 with a timestamp just after the start time. There is no 0 with a timestamp befor
    e the stop time, but there should be. If I wait for several and then try again, sometimes the data will be correct. But if I stop Main.vi and try again with the same exact timestamps, the data are returned immediately and nothing is missing.
    I also occasionally get Error -1967390704 occurred at CIT_ReadStringTrace.vi. I'm not sure what causes that, because it doesn't happen every time.
    I am using Labview 6.0.2, DSC 6.0.2 with the fixes, and the latest Logos (4.4).

    Jake,
    We have identified the issue and developed a potential workaround. Please create an email (not discussion forum) request so we can contact you on this.
    Regards,
    Michael Shasteen
    Applications Engineering
    National Instruments
    www.ni.com/ask
    1-866-ASK-MY-NI

  • Change style of a trend graphic

    Hello,
    is there a quick way, i can apply a stroke style (dashed line) to a existing trend as in this picture?
    I want the dashed line style to be applyed to the trend above...
    https://drive.google.com/file/d/0B4bUfe2E7hsXMWpOaVpiNkxnb1E/edit?usp=sharing
    I'm using Photoshop CS6
    Thank you for your help...

    Is the item a Path?
    If so a Shape Layer with a dashed Stroke is an option.
    But this seems more like a task better fit for Illustrator.

  • Is there a way to generate the growth trend report in EM or using SQL

    Hi,
    I want to have some sort of tool to generate the growth trend of the database.
    I have tried
    col TIMEPOINT format a30
    select * from table(dbms_space.OBJECT_GROWTH_TREND ('&Schema','&TABLE_NAME','TABLE'));
    but above is only for one table and it do not show much old data like last year or how the table will look like next year or 3 months later.
    I believe Enterprise manager or Grid Control will have something to serve my purpose which I am not aware of.
    Once again my question is:
    We have databases (9, 10, 11) which are there from years and want to know that how it have grown and how it will grow in future. It will be good if we have more granularity in the tool. If there is any external tool Non Oracle then let me know as well.
    Any help is greatly appreciated.
    --Harvey.
    Edited by: Harvey on Jan 14, 2011 10:33 AM
    Edited by: Harvey on Jan 14, 2011 3:26 PM

    Hey guys .. i was researching trying to find information about some kind of growth analysis reporting tool and since i couldn't find anything that i like i created some Unix scripts that send automated reports showing growth analysis graphics. I use Chart apis from Google to generate the graphics on the client side. Check it out.
    The script will load the data in a daily basis and send the report at the end. The space needed is about 512M depending on the amount of objects and it's stored in a tablespace defined during the configuration of the process.
    http://cesalo.wordpress.com/2011/01/17/google-chart-api-and-oracle-database-growth-reports
    --Cesar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • In iCAL, can I customize PRIORITY

    Can I remove: None, Very Important, Important, Important, Not Important And instead add: 1,2,3,4,5,

  • I did the update and my phone hasn't backed up.Urgent, please help. Is everything gone?

    I did the update last night and it looks like my iphone 4 didnt back up. I did a restore but my latest backup was 3 months ago and now my phone has reverted to that. Is there anyway to get back my phone as it was before the update and restore or are

  • MacBook Pro goes to sleep, doesnt wake up!

    I recently bought a new MacBook Pro, and have noticed that this problem started since I downloaded a widget: Deep Sleep, which basically allows the Mac to go onto a Hibernate mode. I have uninstalled it now but the problem still persists, so I am not

  • Characters from db column break my app

    Hello, I seem to have a problem in my application where some of the db columns have single quotes or characters that break either my sql statements for the report, or the error could also steam from the report template I created. The error I get is:

  • Reg supply of particular manufacturers material

    Dear all, can we put a control in such a way that vendor will supply material of particular manufacturer only and it should not allow GR of another manufacturer. please provide step by step procedure for this. regards madhav