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

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

  • 4-quadrant plot (graph with axes passing through centre)

    Hi guys,
    Been away for a while, but now I'm back in to the swing of Labview again! I'm trying to create a system which presents data in an x-y graph, but I want the graph to have the x- and y-axis passing through the centre, rather than meeting at a corner.
    I read this thread, but I couldn't figure out how to customise the graph the way Jake H suggested. I also saw this thread, but the solution proposed doesn't really do what I want. If there's any confusion over what I need to achieve, the hurriedly-drawn sketch (attached) should clarify things.
    Thanks in advance!
    LabVIEW 2013, Windows 7
    He who asks the question is a fool for five minutes; he who does not ask the question remains a fool forever.
    Attachments:
    graph_axes.jpg ‏30 KB

    Hi Rob, thank you for your attention. Unfortunately, this solution isn't helping, for two reasons:
    1) Even with autoscaling off, and the graph set with the low numbers on each axis to a negative number, the axes do not move to the centre.
    2) I will need to autoscale the x-axis, as the upper and lower limits (while usually equal) will vary depending on the data being plotted.
    Is there something else I can try? Many thanks.
    LabVIEW 2013, Windows 7
    He who asks the question is a fool for five minutes; he who does not ask the question remains a fool forever.
    Attachments:
    test graph.jpg ‏27 KB

  • Plot graph with .txt data

    Hi. I am doing on a project which i need to plot the graph of the data in text format.These data are data of solar reading.
    I am able to plot the graph for Int_ana text file but unable to plot the graph for int_sma textfile. I also want to show the 2 graphs
    of Ana and Sma sperarately.Please help me!
    Attachments:
    NgKuanJie_103115x.vi ‏21 KB
    int_sma_120204.txt ‏51 KB
    int_ana_120204.txt ‏11 KB

    Hi.
    Try this mod.
    Saludos.
    Alipio.
    "Qod natura non dat, Salmantica non praestat"
    Attachments:
    NgKuanJie_103115x_A.vi ‏22 KB

  • Graphing with logarithmic scale in AI5?

    I received a graph in MS Excel that uses a logarithmic (as opposed to linear) scale, but as far as I know, it isn't possible to create a scatter-plot graph with logarithmic scale in Illustrator. Does anyone know if there is a plug-in or a script that can do this?
    I am happy to upload the Excel file if that would be helpful. This is my first time using this forum, though, so I just need to know how to attach it.
    Thanks

    I found this link that has a plugin that states it does logarithmic scale, it is called ToolDemo here is the link, hope it's what you are looking for. http://www.telegraphics.com.au/sw/#tooldemo

  • System Time in MII

    We had the windows patch applied to the MII server for the Daylight Savings Change in Australia, however it seems that MII application uses its own clock which is based on the old DST. I tried a few things including reboot of server.
    The areas where it affects is when trying to run scheduled jobs through the MII scheduler and its always out for the week between the old DST change and the current one. Has anyone else had a similar issue? Pls advice how the time in the app is set and how I can switch it to use / coincide with the server / system time (ie the correct time)? Thanks in advance for your help.

    Here's the solution from SAP...
    1) Stop ServletExec-<instance name> service
    2) Uninstall Java
    3) Delete the J2dk folder on the root (or wherever it is stored)
    4) Delete the J2re file under Program Files -> Java.
    5) Edit the registry under HKEY_Local_Machine -> Software and delete the
    Javasoft directory.
    6) Install Java.
    7) Goto ..\ServletExecAS\se-<instance name>\ there will be a StartServleExec.bat and a StopServletExec.bat file.  Make a backup of these before editing.  Right click goto edit (this will open a text editor)
    A)  In StartServletExec.bat there will be 2 paths you will have to change from j2sdk1.4.2_07... change to were your new Java version was installed (ex. C:\j2sdk1.4.2_xx\...)  keep the rest of the path the same.
    B)  In StopServletExec.bat there will only be one path to change
    9) Start ServletExec-<instance name>

  • Timestamp incorrect system time

    Hello, Guys,
    Quick question about system time and timestamp inconsistency.
    I used the following program to generate analog output (with duty cycle) but as i am outputting, it give me the time of 12/31/1903 at 16:00.
    I checked and reset the system time and it made no difference.  please advise,
    thank you.
    ck
    Message Edited by uclabme on 04-17-2006 05:18 PM
    Attachments:
    Square_analog_output_voltage.vi ‏91 KB
    abc.txt ‏32 KB

    Hello,
    The square waveform generator VI that is producing the waveform doesn't use system time as its basis, and that appears to be where the issue lies.  By default, the output waveform will be aligned to a t0 (initial time) of 0, since the waveform time stamp in this case is relative to the start of the program.  To align the time with the current system time, all you need to do is use the Align Waveform Timestamps VI to shift the t0 value of the generated waveform to match the current time.  I've attached an example (aligntimes.vi)  built in LabVIEW 7.1.1 that demonstrates - you should be able to adapt it very easily to fit your needs. 
    Cheers,
    Matt Pollock
    National Instruments
    Attachments:
    aligntimes.vi ‏44 KB

  • Reeal-time 3D graph with multiple plots

    Hello,
    I realise this is a very complicated question and I would appreciate any healp anyone could give. I am trying to:
    1- draw a 3D graph with three plots (plots are from coordinates read from XL)
    2- do it in real time, so that only one point from each plot shows at a time (the previous points disappear)
    Can anyone help me out? I looked at Sarah's advice and I got as far as the program that I have attached. I have also attached an XL sheet with random values (actually I didn't have any luck attaching two files).
    I would appreciate any response!
    Thank-you,
    Confused
    Attachments:
    3D graph.vi ‏127 KB

    IBAHKA wrote:
    Could you look at this new and improved (yet not perfect program) and help me out?
    Issues:
    Why do the axis all change and why aren't the points drawn all at once? ALso, is it possible to retain in memory and plot more than one point from each plot at once?
    The axis are changing because you didn't ask for constant scales. Just right-click on the 3D graph indicator and go to CWGraph3D/Properties... There a pop-up window will give you access to a number of settings. Explore. You will find how to allow the user to pan/zoom/rotate the graph, and to disable autoscaling...
    The points are not drawn all at once because you pass them one at a time!!! To plot several points at once, you have to build an array with the proper number of points (initialise first) then you can rotate the array after plotting, and replace the first point at the next iteration.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Plot excel data onto X-Y graph with time stamp

    Dear all, I have the same set of data but it is saved in excel format instead of text file now. However i think the column data are separated by tab, i have tried to write some codes but it dont seem to plot out the graph properly. I have no problem ploting out data in text file but not this excel file. Can anyone help out to plot this graph with timestamp?
    Attachments:
    test4.txt ‏1 KB

    I still don't understand your comment 'I have no problem ploting out data in text file'. The Read From Spreadsheet by default uses a tab separator so you should have no problem reading the file. Post the code you have already written so someone can see where your problem is.

  • 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

  • Plot 4 Graphs with only 2 legends

    Hi!
    I have a graph in which I want to put 4 plots of defined color and line width, but in the Legend I want to show only 2 of them.
    I tried to define the plots and scaled the Legend with the mouse to the wanted first 2 plots. Unfortunately this setting isn't saved, when I close and reopen the vi.
    Next try was to define the plots at the start with property nodes. But when I set "Legend: Plots Shown" to 2, it's not possible to setup the third plot.
    Anybody an idea for a solution?
    Thank you in Advance.
       Hendrik alias XS-er
    PS: I'm using LabView 8.0
    Message Edited by XS-er on 05-17-2006 02:39 AM

    Graphs only save settings for the plots they have default data for at the time of saving.  So, if the default data for the graph has four traces, it will save info for four traces.  If it only has one trace, it will save info for one trace.  If you need to save data for plots, a more robust solution is to set the values using property nodes on the graph in the initialization section of your code.  That way you won't lose them.  Note that you cannot set properties on a trace which does not exist.  You will need to preload your graph with the number of traces you are using (I think you can use zero length traces).  If you stop using one of the traces, you can lose the information at run time.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Autoscale XY Graph with 2 plots

    I have a graph with 2 different plots on the same Y axis. If I turn off the "visible" property on one of these plots (so I have only one plot visible), the autoscale Y continue to take both plots into account, thus creating a very too large scale for the visible plot. Is there a way to autoscale only one plot while another is hidden but associated with the same scale?

    You have several possibilities, for example:
    * instead of setting the property to invisible, temporarily replace one graph with empty data. (see attached sample code).
    * Don't use autoscale, but use ArrayMinMax on the visible y values, the set the yrange.minimum and yrange.maximum accordingly.
    *switch the second plot to a second y scale while invisible and back to scale 1 when visible again.
    * any other variation of the above.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    HideXYPlots.vi ‏51 KB

  • 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

  • Is it possible to make a graph with drag and drop plots and use it as a control?

    I am trying to make a graph with multippel plots to use as a control, the plots should be drag and drop. Is this possible in LV 7.0 or do i have to use c++ or WB?

    I second Doc-Doc comment. I am not sure what you are asking.
    The attached is an example I found on the NI web-site some time ago. I cannot find the link again so here is a ZIP of what I found in a temp folder on my machine.
    Trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    WF_SketchPad.ZIP ‏67 KB

  • CRYSTAL REPORT GRAPH WITH DATE AND TIME

    Post Author: Dino Dentone
    CA Forum: Charts and Graphs
    Dear forum,
    I am developing a Visual Studio .net 2005 Windows Form,i have a sql table with 2 field:1) DATA (date and time)2) Temperatura (numeric)I have to make a line graph with numeric data axes.I have insert two parameters' to customize the filtering, so i can have a graph of the temperature between to date and time.If i choose two date's and time (parameters) like 20/04/2008 00:00:00 trought 20/05/2008 00:00:00 i have no problemBut if a choose a range minor of 1 day (some hours like from 15/05/2008 00:00:00 trought 15/05/2008 08:00:00) i have no graph.It sound like it don't use the time values?Thank's for the Help.

    There is some debugging info on the website. I've had problems getting the text to work. It was generally that I installed either the wrong 'version' of ImageMagick (the recommended one works for me--I'm running Vista x64 and one time installed the x64 version and it didn't work). I also installed Ghostscript to get the font list to work correctly. At one time I installed the x64 version of Ghostscript and it didn't work with the plug-in, either.
    I installed two items:
    ImageMagick: ImageMagick-6.4.9-3-Q16-windows-dll.exe
    Ghostscript: gs863w32.exe
    I don't know if it is necessary but I also added the fonts from
    ghostscript-fonts-std-8.11.tar.gz to the c:\Program Files (x86)\gs\fonts directory. Some, none, perhaps all, may already be installed just by installing ghostscript--it has been so long that I don't remember exactly. I do know that the contents of the gs fonts directory contains all the files in the .gz, I just don't remember if I put them there separately or as part of the gs install :)
    You need to make sure the font size is large enough. I usually use about 2-4% of height and export a single photo to make sure I see the text correctly.
    Tim does respond to email when he can so if you can't get it to work you can always drop him a line.

Maybe you are looking for