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

Similar Messages

  • 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

  • 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

  • 'Embed system time as timecode' not accurate?

    It appears that the "system time" timecodes are not updated on every frame, even when 'Embed system time as timecode' is checked, and 'Frame Interval' is set to 1.
    The timecodes routinely latch onto a certain value, so that several timecodes in a row will report the same system time.
    To study this behavior, I recorded a video of a computer screen displaying the current time as an epoch timestamp in milliseconds, and, from the recorded .flv file, read back the timecodes from each video frame as well as the timecodes embedded as amf0 'onFI' events as recorded by FMLE.
    You may consult the data I collected below:
    A graph showing embedded timecodes above video time:
    http://adamflorin.com/xfer/adobe/timecodes-ahead-of-video.pdf
    The complete data:
    http://adamflorin.com/xfer/adobe/fmle-timecode-bug.xls
    The FMLE-created video file used:
    http://adamflorin.com/xfer/adobe/fmle-output.flv
    This data was collected on a 2008 MacBook.
    Has anyone else seen behavior like this? I look forward to doing more tests, on different machines and with different settings, but because they're so laborious to compute, I thought I'd reach out first.
    Unfortunately this is quite urgent, so I'm afraid I'll have to investigate other technologies. Any help is greatly appreciated, THANKS!

    For what it's worth, frame rate appears to be a factor. I see this issue consistently at 30fps, but never at 24fps or 25fps, where the amf0 timecodes are fairly evenly spaced, at about the duration of one frame.
    I'm using VP6 at 640x360, a Logitech C910, Mac OS 10.7.3, FMLE 3.2.0.99.32.
    This behavior seems pathological to me. Has anyone else seen this?

  • 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

  • 3D real time voltage graph

    Hi I'm a beginner at Labview.
    I'd like to plot a real time contour graph from voltage readings from 4 diodes which is obtained via the DAQ. The x-y coordinates are the coordinates of the locations of the diodes while the z coordinate is the (current) voltage measurement of each diode.
    I've already splitted up my location coordinates into x-vector and y-vector. I've tried to wire my latest readings values into the z matrix, however I received an error about the different data types.
    Any idea how can I plot a 3D real time contour graph?
    Ps. With the exception of the 3D graph, everything else works prefectly.
    Attachments:
    voltage array 2 - Copy.vi ‏122 KB

    jsp6 wrote:
    Hello,
    I'm trying to view the voltage measurements in real-time chart. (Labview2012 and I've connected 2400 sourcemeter with my laptop by using GPIB-USB-HS)
    My question is, how can I increase the chart update rate? Say, how can I increase samples/second rate?
    Here is the screenshot of my chart -> . Its update rate is quite slow and I dont know why the voltage measurement takes time to settle back 0V (notice the descending slop after the voltage pulse).
    I'm using labview to measure a voltage pulses. So I need fast-response chart that looks like this -> .
    I'm very new to Labview. Please help 
    I'm attaching the vi
    Are you sure they're the same timescale?  The LabVIEW shot sure looks like a time-stretched version of the display photo...
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • How to print system-time in XML?

    Hi,
       Please help me how to print system-time in XML. Like we use sy-uzeit in ABAP.
    Can we use anything in XML too..
    Thanks & Regards,
    Sai

    hi movilogo
    Please try this.
    Create hidden item P1_DATE
    Create On load process in page 1 and put this code
    begin
    :P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
    end;
    Open your region in Page 1 put this code in Footer area
    *&P1_DATE.*
    Refresh your page.
    you will get the output like this.
    16-SEP-2009 11:09:17
    thanks
    Mark Wyatt

  • How can i get the System Time from the other host

    I want to get the System Time from the other host in the LAN,How can I get the Time using Java.
    Such as I am in WIN 2000 and I have a Unix host in LAN, I want to get unix host System time, How can I do it.

    Open a socket to port 13 and read a string with the time.
    -or-
    Open a socket to port 27 and read 4 bytes that are a network order timestamp
    Assuming that your UNIX machine has those services running, most do

  • How to get the system time in a Swing application ?

    I know how to do it in JavaScript, but not java. Please help me, and also how to get the system time in an Applet. Thanks !!!

    Check this link, I hope it helps
    http://202.71.136.142:8080/globalleafs/Swing/View.jsp?slno=22&tbl=0

  • How to create a type of 'alarm event' based on acquired sensor data and system time?

    Hello all,
    I'm fairly new to LabVIEW and have successfully created a VI that reads voltage data from sensors.  Each sensor outputs 2 voltage values and I treat these values as 2 different DBL values.  I'd like to be able to record each voltage value as a base and then compare the subsequent data readings with that base.  Once the base is determined, I'd like a sort of 'variable' set as "TIME" to be recorded at the moment the base voltage is recorded.
    The alarm should occur (or anything Boolean set to TRUE I guess) once the continuously read voltage remains within certain limits for about 2 hours.  I know I can compare the system time w/ the "TIME" that the voltage base value was recorded.  If the voltage readings escape those limits, I'd like the voltage base value reset and the TIME set to the corresponding system time again.
    I apologize in advance if this I haven't' described my problem well, but if anyone could help me figure out the best way to create this code, I would appreciate it much!
    Thanks!
    Solved!
    Go to Solution.

    ill try to illustrate a couple scenarios:
    keep in mind that i dont necessarily want the voltages in these specific ranges, but just a range of +/- 20 mV ... in an above post i refer to a "base" voltage reading, in this case that would be 200 mV for V1 and 400 mV for V2, just because the voltage has shifted to those values for an extended amount of time each (> 2 seconds)
    Scenario 1
    1:00 pm
    Sensor readings
    Voltage 1: 200 mV
    Voltage 2: 400 mV
    between 1:00 and 3:00 pm:
    Voltage 1 does not deviate from 180-220 mV range
    Voltage 2 does not deviate from 380-420 mV range
    at 3:00pm I want an alert/alarm/Boolean to change to 'true'
    Scenario 2
    1:00 pm
    Sensor readings
    Voltage 1: 200 mV
    Voltage 2: 400 mV
    at 1:45 pm:
    Voltage 1: 2 mV
    Voltage 2: 600 mV
    Since the voltage has shifted out of the range, i want the new base voltage to equal whatever it changed to out of the range, and also the time spent within the new range (2 +/- 20 mV and 600 +/- 20 mV, respectively for V1 and V2) would be reset, so a new 2-hour counter would begin

  • How to get system time and date with PHP

    Dear Mr.Craig,
      Thanx a lot. We are running SRM 5.0 (RAMP - Implementation).
      My initial requirement is to write a server-side script to display server date and time. Could you give more inside on how to achieve it?
    Regards,
    Deva.

    Perhaps that will help.
    [code]
    <html>
    <h1>Access System time and date</h1>
    <?
         // saprfc-class-library     
         require_once("saprfc.php");
         $sap = new saprfc(array(
       "logindata"=>array(
       "ASHOST"=>"localhost"          // application server
       ,"SYSNR"=>"00"                    // system number
          ,"CLIENT"=>"000"               // client
          ,"USER"=>"bcuser"               // user
          ,"PASSWD"=>"minisap"          // password
         ,"show_errors"=>false               // let class printout errors
         ,"debug"=>false)) ;                     // detailed debugging information
         $result=$sap->callFunction("MSS_GET_SY_DATE_TIME",
            array(     array("EXPORT","SAPTIME",array()),
               array("EXPORT","SAPDATE",array())));
         if ($sap->getStatus() == SAPRFC_OK) {
        echo "Time: ".$result["SAPTIME"];
        echo "<br>Date: ".$result["SAPDATE"];
        echo "<br>or<br>";
        echo "Server is showing: "
             .substr($result["SAPDATE"], 0, 4)
             ."-".substr($result["SAPDATE"], 4, 2)
             ."-".substr($result["SAPDATE"], 6, 2)
             ." and "
             .substr($result["SAPTIME"], 0, 2)
             .":".substr($result["SAPTIME"], 2, 2)
             .":".substr($result["SAPTIME"], 4, 2);
         } else {
              $sap->printStatus();
         $sap->logoff();
    ?>
    [/code]

  • How to find system time.

    Hi,
    Please let me know the SQL query to find the system time. I am using a Windows server with Oracle 9.2.0.1.0 .
    Regards,
    Santhosh

    SQL> select to_char(sysdate,'DD/MM/YYYY HH24:MI:SS') from dual;
    TO_CHAR(SYSDATE,'DD
    25/07/2005 13:33:18
    SQL>
    Nicolas.

  • How to display system time zone like UTC+8

    Hi All,
    I got a requirement where  I need to display time zone in the output. If I take sy-zonlo it is taking user's time zone and giving output like CET or CST but I want the system time zone to be displayed like UTC+8.
    Regards,
    Suresh.

    Hi,
    FM GET_SYSTEM_TIMEZONE  gives time zone as PST or CET like that but I want output as UTC+8 or UTC-6.
    Regards,
    Suresh.

  • How to get System time during report generation?

    Hi,
    I am developing a template in which I am required to show data of current year only. Is there any method by which I can get system time(from which I will extract year) ?

    Thanks,
    I already have found it on page 260 of oracle bi publisher guide.
    sysdate() <?xdofx:sysdate()?> SYSDATE returns the current date and time.
    The datatype of the returned value is DATE.
    The function requires no arguments.

Maybe you are looking for

  • BPEL Process Won't Deploy

    I've tried deploying several processes to our BPEL Server, using 3 of the 4 supported ways. First I tried deploying the local HelloWorld sample using ant and the build.xml file. The script reports that the build was succesful, but it does not appear

  • Increase in Direct Debit query

    Hi there I've tried phoning and I've tried 'live chat' but nobody is answering so am going to give the forum a try! I have a telephone line which is set up only so I can use Broadband (provider is TalkTalk).  I NEVER make calls on that line. My last

  • File To RFC To File

    Hi All, I am trying to do File To RFC To File using BPM. I am following the given link. http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1926. [original link is broken] [original link is broken] I did exactly same .But it is showing error as "RED

  • Validating credit card info in app store....please help!!!

    I am trying to validate my credit card information in the app store for my brand new ipod touch.  I was able to set up the app store for my husband and son, but for mine I am facing some obstacles.  First, it only gave the option to enter in a state

  • GetURL in Flash Form

    I'm trying to use getURL to pass a value to another template. I'm having no luck. the URL variable cfgridkey is "undefined". <cfsavecontent variable="getRecord"> getURL('comment.cfm?cfgridkey=' + searchResults.dataProvider[searchResults.selectedIndex