Timeselector on graph with not regular intervals date

Hello,
Could you help me, I try create something like that http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/graph/timeSelector.jspx
But my query does not contain dates in regular intervals, there any solutions to this problem?
Thanks.

ivelson wrote:
you can use "scan from string" or "format to string" function to convert text files (string - either its your data or your date/time) into numeric and time stamps. and feed to your graph.
That does not work if you're having a plot where the X points are not equally far away from each other.
Kind regards,
- Bjorn -
Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
LabVIEW 5.1 - LabVIEW 2012

Similar Messages

  • Plotting of graph with more than 4000 data points in Excel

    Hi All,
    I am fairly new to labview world. I am trying to plot out line graphs of the results from my program into Excel worksheet. I have huge set of data points(10000) stored in each of 10 different worksheets in MS Excel workbook. I am trying to compile results into last sheet as graphical representation of all the various dataset into 10 different graphs.
    My problem is that I am getting error because MS Graph does not allow me to plot more than 4000 rows or datapoints. Is there better and cleaner way of programming this? Or if some one can provide an example of how to handle such case. I'll appreciate any help.
    My goal is to able to plot one set of data 1st then I will be able to run through various worksheets to compile into standalone results.
     ERROR MESSAGE: "Report Generation Toolkit: Graphs you create or edit in Microsoft Graph cannot contain more than 4,000 rows or columns, including row and column headers. "
    Also for example if we run Line Graph example and change the # of data points from 100 to 4000, we get same message.
    Error -41114 occurred at NI_ReportGenerationToolkit.lvlib:Excel_Insert_Chart.vi -> NI_Excel.lvclass:Excel Insert Graph.vi -> Line Graph (Excel).vi
    Thanks,
    Saurabh

    Hi Dennis,
    I am collecting waveform data from oscilloscope using labview in both data & graph format. So my program collects data for a particular operating condition & then saves the data on a worksheet. After it loads new operating condition & goes over same cycle. I have to save all the data points in excel for different use cases, which I am saving in different worksheet for each specific operating condition.
    Since I already have data saved in excel at the end of test, I am trying plot each use case in the same report for study & presentaion after tests are finished. I have not been able to do so. I read the post which you have mentioned, seems like newer excel or labview version have same issue. I am using LV 9.0
    I will try using decimation but if you have any better way of handling this problem, I'll appreciate if you can share that.
    Thanks for your help.

  • XY graphing with large amount of data

    I was looking into graphing a fairly substantial amount of data.  It is bursted across serial.
    What I have is 30 values corresponding to remote data sensors.  The data for each comes across together, so I have no problem having the data grouped.  It is, effectively, in an array of size 30.  I've been wanting to place this data in a graph.
    The period varies between 1/5 sec and 2 minutes between receptions (its wireless and mobile, so signal strength varies).  This eliminates waveform graph as the time isn't constant and there's alot of data(So no random NaN insertion).  This leaves me with an XY graph.
    Primary interest is with the last 10 minutes or so, with a desire to see up to an hour or two back.
    The data is farily similar, and I'm tring to possibly split it into groups of 4 or 5 sets of ordered pairs per graph.
    Problems:
    1.  If data comes in slow enough, everything is ok, but the time needed to synchrounously update the graph(s) often can exceed the time it would take to fully recieve the chunk of data which contains these data points.  Thinking asynchrounously is useless, as the graphs need to be reasonably in tune with the most recent data recieved.  I can't have the an exponential growth in the delta of time represented on the graph and the time the last bit of data was recieved.
    2.  I could use some advice on making older data points more sparse to allow for older data to be viewed, but with a sort of 'decay' of old data I don't value that 1/5 second resolution at all.
    I'm most concerned with solving problem 1, but random suggestions on 2 are most welcome.

    I didn't quite get the first question. Could you try to find out where
    exactly the time is consumed in your program and then refine your
    question.
    To the second question (which may also solve the first question). You
    can store all the data to a file as it arrives. Keep the most recent
    data in a let's say shift register of the update loop. Add a data point
    corresponding the start of the mesurement to the data and wire it to a
    XY graph. Make X Scrollbar visible. Handle the event for XY graph:X
    scale change. When the scale is changed i.e. the user scrolls the
    scroll bar, load data from the file and display it on the XY graph.
    This was a little simplified, it's a little more complicated.
    In my project, I am writing an XY graph X Control to handle a bit
    similar issue. I have huge data sets i.e. multichannel recordings 
    with millisecond resolution over many hours. One data set may be
    several gigabytes, so the data won't fit on the main memory of the
    computer at once. I wrote an X control which contains a XY graph. Each
    time the time scale is changed i.e. the scroll bar is scrolled, the X
    control generates a user event if it doesn't have enough data to
    display the time slice requested. The user event is handled outside the
    X Control by loading the appropriate set of data from the disk and
    displaying it on the X Control. The user event can be generated already
    a while before the X Control is out of data. This way the data is
    loaded a bit in advance, which allows seamles scrolling on the XY
    graph. One must notice that the front panel updates must be turned off
    in the X Control when the data is updated and back on after the update
    has finnished. Otherwise the XY graph will flicker annoingly.
    Tomi Maila

  • Can you use a control reference for a graph with two channels of data?

    when i try to wire a 2-D array of data to the value property of a graph(strict control reference), it shows a conflict. The value data type only shows up as accepting a 1-D array input. I want to use control references to pass the chart data to my main vi. Will I have to change the waveform graph control reference into an array control reference to make this work?? This would require adding a while loop in the main vi to read the array data and update the graph data??

    > when i try to wire a 2-D array of data to the value property of a
    > graph(strict control reference), it shows a conflict. The value data
    > type only shows up as accepting a 1-D array input. I want to use
    > control references to pass the chart data to my main vi. Will I have
    > to change the waveform graph control reference into an array control
    > reference to make this work?? This would require adding a while loop
    > in the main vi to read the array data and update the graph data??
    I think the problem is that your waveform graph is set to take one type,
    a 1D array of doubles, and you are wiring a different type. While
    charts adapt to type when the data is wired to their terminal, they do
    not adapt to data wired to their value property. If you change the
    datatype of the graph from its terminal, then you should see the value
    property change type also and you are set.
    Greg McKaskle

  • Updating pie graph  with the pivot table data.

    Hi:
    I have two components, the first is a pivot table and second
    of them is the pie graph, the two components were created in JDeveloper 11g
    on the same page through the same view object, this view object was created through
    a query.
    I need to update the pie graph through the pivot table data.
    ie, according to the data containing on the pivot table, to update the pie graph.

    Hi,
    BPM can be used to validate and update tables.  You can have a transformation step in BPM to validate, and either a JDBC or RFC adapter to update XI table...depending on if the table is an ABAP table or table create outside of ABAP using the vendor's dba tools.
    As for sending file based on counter or timestamp in the name, you can develop a simple adapter user-module using java which can retrieve the file name(s) being processed.  If the name satisfy the rules you have, then proceed, or else terminate the processing in the adapter.
    Regards,
    Bill

  • Merging queries with not exact matching data

    Hi fellow Webi and OLAP bods
    Does anyone know how I can merge data from 2 different queries where the data is not an exact match?
    I have one query where the key is
    001
    002
    003
    004
    etc
    and another where the key is
    AAA001
    AAA002
    AAA003
    BBB004
    etc
    basically they are the same thing but the second has this prefix in the data that I am not interested in.
    If it were on oracle or some other relationanl data source I could clearly create a new object in the universe that used substr(mykey,4,3) and they'd match fine but both queries are on SAP BW datasources and I wanted to know if I can do this anyway without having to wait for our BW team to create me a new object in BW.  I'm guessing my only options are with some neat MDX in the universe (I'm on xi 3.1) or with some clever stuff in the report......
    Maybe I'll just do it in excel with vlookup......(again!)
    Thanks
    Nick

    Since I don't have the same set of data that is why I cannot replicate on my system so don't take my answer as final answer.
    If both fields have the same data type then you can do and if you dont want to see the prefix then you can use formula and hide it.
    Let me know if it works.
    Bashir Awan

  • OutOfMemoryError on Jtable with not 'that' much data

    Hi,
    Im getting outofmemoryerror when using my jtable. The dataset is collected from an xml file at the moment (soon to be changed to mysql as were getting too much data for xml) but anyhow, of course it depends which pc you are on, but when accessing our programs applet sometimes we will get this outofmemoryerror with only 1056 lines. Now I know lots of people are going to say just cut down the number of lines displayed, use a filter, etc etc, and we are working on adding a filter, but for now I need all of the lines to be displayed, and well I have seen people displaying 10,000 lines or more before getting this error.
    Maybe I am doing something simple wrong. Please take a look.
    Im not really sure what code to supply you with, as the StudyTableModel wont be of any use really....
    Im just after some advice really. Why do you think I am getting my OutOfMemoryError with so few rows?
    Thanks, and if you want any code supplied, then just ask :D
    James

    I meant profiler, sorry typo.
    Wikipedia explains it best: http://en.wikipedia.org/wiki/Profiler_%28computer_science%29
    You'd want a memory profiler.
    If you're still a newbie than getting this stuff to work might seem like a big task and could take some time, but in the end it will definitely be worth it, since knowing where your problem is is much, much better than guessing ;-)

  • Print XY Graph with 600000 data without taking Snapshot of graph

    Hi 
       I want to print a XY Graph with more than 600000 data with word format but the graph shouldn't be the snapshot can any body suggest please 

    A couple points:
    First, just because the data you send to a graph has 600,000 datapoints in it, that doesn't mean that you will see 600,000 values in your graph. Unless you are using a monitor the size of a house, the graph won't have nearly enough resolution to show all the data. The data will get decimated down to the resolution that is available on the graph. If you don't do it, the graph will.
    Second, what do you mean that it shouldn't be a "snapshot"?
    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

  • Avi read write example : playback missing chunk of data at regular intervals

    Hi,
    I am writing a waveform data into avi write in order to read back (with has data input on) as in example avi read write with data shipping example but the graph played back is missing some amount of data at regular intervals and hence the waveform read back is choppy. 
    I am writing the same data into tdms also. when i read back it with tdms file viewer, it shows that it has entire data.
    note: i am writing the waveform data and avi in two seperate loops and using the porperty node value of the waveform data in the video loop in order to insert data into avi write (has data input on) and have the (wait ms multiple) input =10 in both loops
    i would like to post the video but it is 50 MB, is it possible to upload that much.
    can any one help me how/why this is happening..
    Thanks,

    Can you post a VI(s) as I have trouble understanding what you are doing
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • SLD Data Supplier User is locked at regular intervals

    Dear Sirs,
    I have a Webdynpro application using two JCO connections to the backend to fetch data. One day it just stopped working. After some searching I found out that my SLD Data Supplier user was locked in the UME, due to too many failed logins. 
    When I unlocked this user everything worked again. Next morning when trying the application, the SLD Data supplier user was once more locked. If I lock it up it works, but it stops working again at fairly regular intervall (due to too many failed logins).
    The time it stops seems to be 15 minutes over each hour; however sometimes it seems to work for more than an hour some times less. This makes me belive that there is some kind of regular job which mess it up.
    Below is an extraction on what is going on in the logs around the time it stops working.
    I know others have had these kinds of error messages in conjunction with XI, but did not find a solution of the forum with fits me.
    Any hint on how I can solve the problem, or find out why the user gets locked is appriciated :=)
    java.lang.reflect.InvocationTargetException
    com.sap.engine.services.rfcengine.DefaultRequestHandler.handleRequest(JCO.Function function) anonimus J2EE_GUEST host.domain.com Server 0 XX_XXXXX
      Error 13:15:02:775 /System/Server 08/01/2006 java.lang.reflect.InvocationTargetException
    com.sap.engine.services.rfcengine anonimus J2EE_GUEST host.domain.com Server 0 XX_XXXXX
      Error 13:15:02:775 /System/Server 08/01/2006 java.lang.reflect.InvocationTargetException
    com.sap.engine.services.rfcengine anonimus J2EE_GUEST host.domain.com Server 0 XX_XXXXX
      Error 13:15:02:774 n/a 08/01/2006 Thrown: om.sap.mw.jco.JCO$J2EEAbapException: (126) SLD_CLIENT_EXCEPTION: AbapSLDRequestHandler.ping(): server connection *** failed *** on Tue Aug 01 13:15:02 CEST 2006 at com.sap.lcrabapapi.util.AbapSLDRequestHandler.raiseAbapException(AbapSLDRequestHandler.java:4184)... [see details]
    com.sap.lcrabapapi.ejb.AbapSLDRequestBean sap.com/com.sap.lcrabapapi J2EE_GUEST host.domain.com Server 0 XX_XXXXX
      Error 13:15:02:771 /Applications/SLD 08/01/2006 Caught a JCO.J2EEAbapException while processing a JCO request. Check the RFC engine for sanity and check your server logs and traces for more information.
    com.sap.lcrabapapi.ejb.AbapSLDRequestBean sap.com/com.sap.lcrabapapi J2EE_GUEST host.domain.com Server 0 XX_XXXXX
      Error 13:15:02:771 /Applications/SLD 08/01/2006 Caught a JCO.J2EEAbapException while processing a JCO request. Check the RFC engine for sanity and check your server logs and traces for more information.
    com.sap.lcrabapapi.ejb.AbapSLDRequestBean sap.com/com.sap.lcrabapapi J2EE_GUEST host.domain.com Server 0 XX_XXXXX
      Error 13:15:02:767 /System/Server 08/01/2006 User J2EE_GUEST, IP address
    Error processing an HTTP request. Http error [401] will be returned. The error is [Access Denied.No details available].
    com.sap.engine.services.httpserver n/a J2EE_GUEST host.domain.cp, Server 0 XX_XXXXX
      Error 13:15:02:742 /System/Server 08/01/2006 User J2EE_GUEST, IP address

    Hi Jørgen,
    This problem must be due to the user being entered with an incorrect password in one of your systems which accesses XI. I'm afraid the only way to find it is to go through all your systems' RFC destinations, transaction SLDAPICUST, and anywhere else the user info might be entered.
    I would normally recommend creating a separate user for each system accessing XI, so that in cases like this it is far easier to narrow down the search.
    Regards,
    Thorsten

  • ReportViewer control used with a remote report does not display any data.

    Hi there,
    I have this .rdl report that runs just fine on our reporting server (I can see that when I try to run the report by accessing its URL in a browser). However, when I run it in my Windows-based application, I do not see any data. My report has two input parameters
    and it needs to impersonate the caller's identity because the database uses Windows Authentication.
    Here is the code I use:
    var reportViewer = new ReportViewer();
    // Set Processing Mode
    reportViewer.ProcessingMode = ProcessingMode.Remote;
    // Set report server and report path
    reportViewer.ServerReport.ReportServerUrl = new Uri("http://MySsrsServer/reportserver");
    reportViewer.ServerReport.ReportPath = "/Reports/MyReport";
    // set the credentials
    reportViewer.ServerReport.ReportServerCredentials.ImpersonationUser = WindowsIdentity.GetCurrent();
    // create report parameters and set them in the report
    var param1 = new ReportParameter("First_Param", "Some string");
    var param2 = new ReportParameter("Second_Param", "Some other string");
    reportViewer.ServerReport.SetParameters(new ReportParameter[] { param1, param2 });
    using (var reportForm = new ReportForm(reportViewer))
    reportForm.ShowDialog();
    The ReportForm is just a regular Form that has a member of type ReportViewer. In the class' constructor, I assign the member:
    public ReportForm(ReportViewer reportViewer)
    InitializeComponent();
    try
    this.reportViewer = reportViewer;
    reportViewer.SetDisplayMode(DisplayMode.PrintLayout);
    reportViewer.Dock = DockStyle.Fill;
    reportViewer.ZoomMode = ZoomMode.Percent;
    reportViewer.ZoomPercent = 100;
    reportViewer.RefreshReport();
    catch (Exception exception)
    MessageBox.Show(exception.Message);
    Using database level tracing, we were able to confirm that the two Stored Procedures used by the report are called and they return correct and valid records. However, in the form nothing shows up:
    Any suggestions?
    TIA,
    Ed

    Good to know CR doesn't like joins of Stored Procedures to something else.
    But in my testcase, I finally dropped the link between the ttx file and the stored procedure. Doing so, I was able to run the report from the designer with the stored procedure as datasource instead of the ttx file. At that moment, I still had missing data in my report, while the resultset of the stored procedure returns me all the correct data !
    In the mean time, I changed the layout a bit, especially the text fields containing name, address, country and postal code and city of the customer, by just adding some spaces between those seperate databasefields. In fact, there is one text box with all those database fields concatenated one to the other.
    And by just adding some spaces in between, my report works fine again ?!
    Strange, strange, strange,....

  • 3D Line Graph.vi not displaying line connecting data points.

    I'm having trouble getting 3D Line Graph.vi to display the line connecting my data points.  I'm collecting latitude, longitude, and depth data from a binary file, loading this data into arrays with a while loop, and sending those arrays to 3D Line Graph.vi.  When I tried doing it with arrays created by random number generators, the line is displayed, but when I use it with my actual data, no lines are displayed.  I can only see where the data points are when rotating the 3D graph.  Any ideas on this would be appreciated.
    Thanks,
    Morgan
    Attachments:
    Plot Depth.PNG ‏61 KB

    Karunya,
    Thanks for the info on the 3-D Curve VI.  I tried it and it works.  I think I was able to find the problem with 3D Line Graph.vi.  It has something to do with plotting very close points away from the origin and scaling the axes to view the line.  I have attached an example of where the vi breaks down.  In this example, you can see that part of the line is drawn, but when you rotate the graph, you can see that the line is not drawn through all of the points.  If you change the scale of the axes, then you eventually get the line to go through all of the points, but then the graph is not very "readable" at that point.  It's when you try to zoom in really close to the plotted points.
    Thanks!
    Morgan
    Attachments:
    3d Line Graph Error.vi ‏16 KB

  • IGS graph with data table

    Hi all,
    I'd like to create an image of a graph with a data table below that contains the data displayed by the graph.  I know this is possible as of SP 8 of IGS 6.40, but I can't find anywhere any documentation on how I can pass this on to the Chart Element of the Graphics extension.
    Does anyone know what I should put in my custom XML or any other way of obtaining this result?  Any pointers to documentation that could get me on the right track would also be appreciated.
    Thanks,
    Tim

    Hi Kai,
    I had indeed seen that note about BW, so I thought the IGS was capable of doing it. I just had to do a similar call as BW.  Too bad this isn't supported.
    Anyways, thanks a lot for your answer.  I won't waiste my time looking for a way to do this anymore now.
    Thanks,
    Tim

  • Convert a scatter graph with multiple data series into individual graphs

    I am trying to convert a scatter graph with multiple data series into individual graphs, with the series having the same formatting as in the graph when all series are together.
    Normally, if I delete any series, the color scheme for all the other series vanishes. I can then waste more time in having to re-adjust the  color and shape of the series, but this is tedious. This, I do not want. Is there an automated way to do this?
    Ideally, of course, all series would appear in little subsections in the space of the former one graph, all with individual axes, but I can't have all, so I'll settle with having several individual new graphs, each with just one series, and with the original
    formatting.
    Thx.

    How about creating a copy of the chart, and then setting all series except one to be transparent (no line, no marker)? Repeat for each series.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How to send data at large IQ rate, at regular intervals and avoid buffer underflow?

    Hello,
    I am using 2921's and I have a Tx that generates payload only once, feeds it to a loop and the loop sends the same packet over and over again at a high rate. Please see attachment for VI screen snapshot. I want to have transmissions at regular intervals of my choice, but it does not work. I tried introducing a wait [ms] module into the loop (not shown in the attached figure), but I am facing the underflow problem.
    Can someone please advise me on how to achieve this? Right now, the packet transmission interval is decided by the USRP, as soon as it sends a packet it sends another one, and if I try to control the transmission interval by using wait [ms] model, I have underflow.
    Here are some details that could help you help me:
    *30, 60, 90 or 120 bytes of payload
    *8/16 bits sample width
    *8 samples per symbol
    *IQ rate of 8 MS/s
    I would like to send every 10 ms, whereas sending 30,60,90,120 bytes takes about 1,2,3,4 ms, respectively.
    Thanks!
    Filip
    Attachments:
    snapshot.jpg ‏178 KB

    Here are some general tips to increase your Tx streaming throughput:
    0) Don't use a continuous generation at all.  For many applications you don't need to stream continuously- a finite transmission (and you can loop a finite transmission) will do and you will basically not underflow in that case if you provide all the data up front.
    1) As you can see from the chart, the bigger the data buffer you provide in each Write call, the faster you can stream.
    2) Write sizes in multiples of the maximum packet size seem to work well.  That number is 363for the USRP-292x series (although that may change in future driver releases).  Try sending bursts of 10890 samples.
    3) If your application allows it, set a Start Trigger Time a little in the future.  Then start writing data before the device starts transmitting.  For example, set the Start Trigger Time to the (current device time + 1 second).  Then start writing data and you will have a second to pre-fill the on-device buffers.  This will substantially reduce the number of underflows.
    4) Be sure to do your data processing out of your write loop, to keep the write loop filling the pipleline as quickly as possible.
    For your specific application, a finite, timed generation may be the write pattern.

Maybe you are looking for

  • MSI GT70 2PC-1044US - HDMI / GPU / FAN issues

    MSI GT70 2PC-1044US - HDMI / GPU / FAN issues I am having trouble with my HDMI port on a brand new MSI GT70 2PC-1044US . Whenever I plug my HDMI cable from my notebook to the TV, after a few minutes (5 - 20 minutes), my fan will start reving at aroun

  • EP5.0 par upload help

    Hai I am working on java iviews using PDV on EP5.0 SP5. I have downloaded the par file of the iview from the portal, It has only default.properties file and profiles folder with the same default prop file. I changed this default file and uploaded the

  • Time Capsule, Time Machine and external HD connected to time Capsule

    Hi. I am a new mac user and have an imac. I have a 1T Time capsule with an external hub connected to the time capsual. The Time caspsule creates a wireless home network which has the internet connected to it. To this external hub I have a printer con

  • Preventing help files being added to start menu after installing an application in windows 8.1 enterprise

    Hi Guys when we install an Application in windows 8 family, we see that in addition of Application executable file, user manuals (.chm) and PDF & other files related to that App are added to start menu (when we click down Arrow which shows all progra

  • Instalation Problem - 10g - DHCP machine - Forms too slow if connected

    Just installed the latest release of Oracle Database and Developer Suite (10g) on a machine with cable connection to the Net, with DHCP. Followed the instructions regarding the installation of the Loopback Adapter. It was not possible to follow all t