Graph / Chart show system time in X-Axis.

I try to plot the temperature graph/ chart with respect to my system time. The problem is that the if i select the relative time it starts from 00:00 and if i select absolute time it always starts from 05:00 in 24Hrs.
I need X-Axis Chart/Graph show my system time and in Y- Axis it show the Temperature value which is received from serial port.
Attachments:
Temperature Recorder.vi ‏100 KB

First I am very thankful to you for your kind cooperation. As I am beginner
my questions may be the unintelligent.
I have tried it and now the system time shows in graph. I have also a time
sync problem. After initializing graph with the time being the value of time
does not match with system time. Some time it is faster with respect
to system clock and some time it is slower with respect to system clock. I
observed it is slow when the data of graph is 1 byte long and when the data is
2 or 3 bytes long it goes fast.
The another problem is the chart Y-Axis Interpret HEX value (00 to FF) means 0-255
points only. My data is ASCII string with 4 characters like ‘9562’. Every character
will show the weightage as shown in attached file. I want to use the same ASCII
string to the input of graph for single point. Instead of HEX value (00 to FF).
And the another help from your side can you send me the book name or softcopy of LAB
View tutorial (Easy understandable).
Regards,
Azhar
Attachments:
data.JPG ‏79 KB

Similar Messages

  • How to show system time in JApplet?

    Hello,
    I would like to show system time in my JApplet the time should update when the system time is changed. i.e 10:10 is system time and the JApplet should show 10:10 , when the time changes in the system, the time in the JApplet should also be changed without refreshing.
    Any help please?
    Thanks

    push

  • Showing system time in a panel..........

    AOA
    What may be a good appropach or logic to show system time in my application panel. And that time will properly synchronized with system time.
    regards

    Following is a code snippet.
    These functions are members of a class that extends JPanel. You will need to replace calls to some functions not included here (but whose semantics should be obvious).
        private JLabel timelabel;  // this is added to the panel in the usual way
        private Timer timer;
        private ActionListener updateTheTime = new ActionListener() {
            public void actionPerformed(ActionEvent evt) {
                timeLabel.setText(timeString());
            JLabel timeLabel = new JLabel(timeString(), JLabel.RIGHT);
            add(timeLabel);
            timer = new Timer(1000, updateTheTime);
            timer.start();
        // returns a string with the current date & time
        protected String timeString() {
            // uc is created in another function
            Calendar uc = getMyCalendar(System.currentTimeMillis()));
            StringBuffer b = new StringBuffer(32);
            (new Formatter(b)).format(timeFormat, uc);
            return b.substring(0);
        }This sets up a label and adds a timer that triggers once a second that updates the text within the label.

  • Showing System time using Java Beans

    Hi,
    Anyone have any source code for writing ajava bean using a text-field to show the current system time which is updated very second at run-time.
    Thanks.

    Hello.
    It sounds to me like you are in the wrong forum. This is for Enterprise JavaBeans, a server side tech, and not the GUI type of JavaBeans. For GUI JavaBeans you should take a look at http://forum.java.sun.com/forum.jsp?forum=39

  • Show system time in Portal Header

    Hi,
    We have a requirement to display current system time/clock at the Netweaver Portal screen (preferably at the header) all time.
    How we can do that ?
    Thank you for your help in adavnce..
    Satya.

    Hi satya,
    For displaying the time in Portal header go through this document . Do some code changes based on your requirement
    [Implementing Digital World Clock on SAP Portal|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/509f3468-2e96-2c10-11b7-f15c42924272?QuickLink=index&overridelayout=true]
    hope this will helpful
    Regards
    Mahesh

  • Showing system time

    How do i sow system time on a label that changes as the time changes

    http://www.google.com/search?q=java+clock+program

  • System time in graph

    Hi,
    I would like to have computer's system time in X-axis.
    Can someone help me ?
    Thanks,
    Seb

    Hi Seb,
    In fact, you forgot the use of the "shift register" which will memorize the values for the graph.
    In your example, the X and Y arrays are reinitialized at each loop iteration. To avoid this, put a "shift register" on the loop.
    Here is my previous pic with the "shift register" marked.
    To put a "shift register" on a loop, right-click on this loop and select the "Add shift register" option.
    Best Regards,
    G Liagre
    Best regards,
    G Liagre
    Attachments:
    time_XY graph.JPG ‏120 KB

  • SVG Multi Graph/Chart with line and bar

    I have a request for a "Multi-Graph-Chart"
    showing both - line chart and
    - bar-chart with respective data.
    Can you provide for the sourcecode, which is behind the SVG chart wizard enabling us to develop an own/individual SVG chart ?
    pls kindly advise.
    Bernhard
    nb. I mailed u this request already - but thought this might be of interest to others as well.

    Marc
    I would support this addition to functionality. I currently have a client who has a requirement for complex charting in HTMLDB, and I am looking at the SVG packages in HTMLDB, ie: WWV_FLOW_SVG, but as you say they are not independent APIs and rely heaviliy on the application's metadata. This is a shame as I could quite easily handle a nice PL/SQL API that would let me create custom SVG, instead of generating the SVG manually and embedding that in the page.
    Cheers
    Ben

  • How do i plot with the operating system time in one plot and show lines between cursors in another using the same XY graph?

    I am having some trouble graphing two plots at once. One plot is to show the current temperature inside a chamber as a function of time. I am trying to pick the current time and temperature each second and plot it with each point being connected by a line. I am able to show a moving, blinking dot each second but I can't figure out how to develop an actual line with these dots. To make matters worse, the blinking dot is back in the year 1903. I understand that it uses seconds elapsed since 1903, and am trying to find out how to graph the current temperature with the system time.
    The second plot is just 5 moveable cursors that are to be connected by a line. I am able to move the cursors and retrieve the position information, but I can't make a line between them.
    I have attached my main .vi, though you may have to pick the graphing part off to have it work for you.
    Attachments:
    Main Module Chamber Testing I_O every 30 sec.vi ‏288 KB

    You're not creating the XY graph data correctly. I've attached an example with a couple of simple XY Graphs. One is using a couple of shift registers to hold the spearate x and y arrays. I think this is what you were trying to do. The other one uses a VI from the shipping examples called XY Chart. It makes an XY Grpah act like a chart. I've also shown the correct way to display current time.Message Edited by Dennis Knutson on 05-12-2005 03:51 PM
    Attachments:
    XY Graph.vi ‏41 KB

  • Plotting graph with CPU's system time

    Hi, I am new to labview and I am currently trying out some basic features like graph plotting which is a vital aspect for my project.
    However, the graphs that I need to plot requires it to run with respect to my CPU's system time. This is something which I have not been able to implement after many attempts with the tools palette.
    Could anyone show me the wiring to make the x-axis not start at 08:00:00 but according to my system's clock which is 22:23:00?
    Thank you.
    Solved!
    Go to Solution.

    Smercurio,
    I apologise for the mistake..yes unknowingly i cleared the album.. 
    Here is the images attached...
    LV 8.0, 8.6, 2011,2012,2013 WinXP
    Attachments:
    property.JPG ‏39 KB
    time to dbl.JPG ‏6 KB

  • System time in the X-axis

    how to set system time in the X-axis for waveform chart or XY graph?

    Hi such,
                  See the attachment.
                  Also look at Function pallette>> programming>>Timing
    Thanks as kudos only
    Attachments:
    systemtime.vi ‏13 KB

  • How to change dynamically the number of lines to show in time chart

    Hello all,
    I need your help for the following scenario:
    In browser is an applet available that contains a tree. Each tree node have the id. The user can select  a tree node and open a crystal report with time chart. This time chart shows values for tree node id(y-axis). The values are measurement values from database. The database table contains:
    id_field = tree node id,
    value_field = measurement value,
    and time_field.
    So, my problem is that the user can select more than one tree node. The maximum selection count is 16.
    My idea is to do something in the following way:
      1) create function ("myFunction")
      2) set function as filter
      3) add my function  (or parameters)to y axis
    For example:
    filter:
    if {@time_field} in {@time_begin_param} to_ {@time_end_param} and {@myFunction}
    "myFunction"-function:
    if ( treenode_id1 != -1 )
    then "if {@id_field} = treenode_id1"
    else if ( treenode_id2 != -1 )
    then "if {@id_field} = treenode_id1 or {@id_field} = treenode_id2"
    When the user selection is changed:
    1) in my struts action u2013 create report programmatically
    2) set parameter treenode_id1 u2013 treenode_id16 equals user selection
    3) open report
    My question is what is the correctly way to solve my problem?
    And here some concrete questions:
    1) When I set 16 parameters for y axis how can I hide unused parameters?
    2) When I'm using filter with function is the function in db request or are all data requested and then filtered?
    3) Can I add data set to my chart programmatically from my struts action?
    4) When it is possible can I add parameters to y axis also programmatically?
    5) Is it possible to change data set of crystal report without recreating the report?
    Any help is appreciated!
    (and sorry for my bad english)
    Greetings,
    Nikolas

    Hello all,
    I need your help for the following scenario:
    In browser is an applet available that contains a tree. Each tree node have the id. The user can select  a tree node and open a crystal report with time chart. This time chart shows values for tree node id(y-axis). The values are measurement values from database. The database table contains:
    id_field = tree node id,
    value_field = measurement value,
    and time_field.
    So, my problem is that the user can select more than one tree node. The maximum selection count is 16.
    My idea is to do something in the following way:
      1) create function ("myFunction")
      2) set function as filter
      3) add my function  (or parameters)to y axis
    For example:
    filter:
    if {@time_field} in {@time_begin_param} to_ {@time_end_param} and {@myFunction}
    "myFunction"-function:
    if ( treenode_id1 != -1 )
    then "if {@id_field} = treenode_id1"
    else if ( treenode_id2 != -1 )
    then "if {@id_field} = treenode_id1 or {@id_field} = treenode_id2"
    When the user selection is changed:
    1) in my struts action u2013 create report programmatically
    2) set parameter treenode_id1 u2013 treenode_id16 equals user selection
    3) open report
    My question is what is the correctly way to solve my problem?
    And here some concrete questions:
    1) When I set 16 parameters for y axis how can I hide unused parameters?
    2) When I'm using filter with function is the function in db request or are all data requested and then filtered?
    3) Can I add data set to my chart programmatically from my struts action?
    4) When it is possible can I add parameters to y axis also programmatically?
    5) Is it possible to change data set of crystal report without recreating the report?
    Any help is appreciated!
    (and sorry for my bad english)
    Greetings,
    Nikolas

  • Waveform graphic / chart time display (x-axis) is wrong?

    Why the time is incorrect in waveform graphic / chart? How to solve it?
    When I run the program, I find that waveform graphic/chart show 0 to 20 (time/x-axis) but actual is running 30 second.

    The Build Waveform is on the Waveform palette. You can use it to set the dt. It's a fancy cluster. The dt is your loop rate in seconds. I would assume you have some wait or delay function that you are using to set the loop rate.
    You can also use a property node - XScale.Range. Offset and Xscale.Range.Multiplier. Look at the example called Real Time Chart.

  • How can I modify the High Speed Data Reader VI to show correct time informatio​n in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its correct time information in the graph.
    How can I modify the High Speed Data Reader VI to show correct time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Hey Chunrok,
    I've modified the High Speed Data Reader VI slightly so that it now uses the scan rate of the data (as determined from the file) to set the scaling for the data points. If you wanted the start time to be a specific time you could use the start time obtained from your file to set the xscale offset as well.
    I hope this helps!
    Sarah Miracle
    National Instruments
    Attachments:
    Example.vi ‏281 KB

  • How can I modify the High Speed Data Reader VI to show the time information in x-axis?

    I am just a beginner learning the LabVIEW programming currently.
    I have a PXI 6115 DAQ card and have to make a hardware timed acquisition VI for maximum performance. Thus I use the High Speed Data Logger VI for data acquisition.
    However, when I read my data by using the High Speed Data Reader VI, it doesn't show its time information in the graph.
    How can I modify the High Speed Data Reader VI to show the time information in x-axis?
    I hope you can explain easily because I am a beginner.

    Format the x axis to either absoulte or relative time.
    You can do this by right clickingo n the graph and selecting x axis then formatting from the menu.
    Thanks,
    Naresh

Maybe you are looking for