Xy chart time

I am trying to create a graph with the x axis Being Time (column 0) and the y axis with the data (columns 1 to 5), But I cannot get the time to be correctly displayed on any chart I build.
I am using Labview 2014
Attachments:
Temp Example.vi ‏29 KB

nunyabiz wrote:
I am trying to create a graph with the x axis Being Time (column 0) and the y axis with the data (columns 1 to 5), But I cannot get the time to be correctly displayed on any chart I build.
Again you have a table, not a chart.
If the time display is not to your liking, you need to tell us what kind of time display you want. Do you want relative time instead (starting at zero)? You don't say what is "correct".
In any case, you should use built array, eliminating the counter shift register. You should also use a simple wait instead of spinning the loop like crazy, until the time is elapsed.
Here's a quick draft. FOr more sensors, simply change the N of the FOR loop or create an array of your sensor values in some other way.
Also, why is the table a control if you use it as an indicator? Why do you initialize with an array containing one column instead of an empty array?
LabVIEW Champion . Do more with less code and in less time .
Attachments:
Temp ExampleMODCA.vi ‏8 KB

Similar Messages

  • Gant Chart time scale on quarterly basis

    Hi All,
    My requirement is display of Gant chart time scale on Quarterly basis. Currently it is coming month basis.
    Can you please suggest me settings.
    Thanks in advance
    Regards

    in CJ2B select
    Settings > options
    and adjust graphic as you required and save the node while exiting..

  • Set chart time to computer time

    We have a vi created to chart several parameters. The vi time on the x-axis starts out in 1957 and at an inaccurate time of day. How do I make the chart time sync with Windows time on this computer?

    As this question relates to VIs you should post it to the LabVIEW forum
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How to set date format dd.MM.yy for chart time axis

    Is it possible to set default date format dd.MM.yy instead of MM/dd/yy in Flex charts without using label function ?
    In this case we do not know beforehand the length of the time span; it can be minutes, days or weeks.
    Setting locales in compiler options or locale settings for application seems not having any effect.

    For example
    - mx:Barchar
    - if time span is 4 minutes; time axis format is HH:mm and shows 10:00, 10:01, 10:02, 10:03 ; *this correct*
    - if time span is 5 days; time labels are automatically in MM/dd/yy format; question is how to change this automation
    to format dd.MM.yy
    - how to do this *without* dateformatter and *without* coding "if time span is is longer than day nyt less than week then use dd.MM.yy format" ?

  • Waveform chart time sometimes decreases

    I have a waveform chart with three plots vs time with update mode set to strip chart.  It is demonstrating strange behavior which I have never noticed before.  The time sample numbers at the extents of the axis sometimes decrease and the plots shift to the right instead of always left as I have always expected.  Can anyone offer a plausible reason why this situation might occur?

    the following applies only to charts that are Waveform data types, otherwise disregard.
    Check the validity of the t0 values in the WF. If the timestamp is earler than the latest value plotted, the chart will reset.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Question about waveform chart time scale

    Hello,
    I have question regarding to time scale on my chart, I want  it to show the actual measured time, for example  from 0-30 seconds, but instead my minimum value is 302654789854 . Please help me to fix it.
    Regards ,
    Stella Deheryan

    You can modify the way the time is displayed on the axis by right clicking the chart and selecting properties. On the display format tab, select relative time. This should show the X-axis scale as HH:MM. Or pick any other type of formatting you want.
    Best Regards
    Michiel
    Applications Engineer
    NI Belgium
    http://www.ni.com/ask

  • SignalExpress 2010 - Chart time axis format will not change to floating point or anything else

    I just downloaded and installed the new and shiny SignalExpress 2010 to replace the old version. And immediately run into major problems:
    The x-axis time format refuses to change to floating point or scientific even if I choose them from chart properties. The format is always absolute, e.g. 12:23:54.743. This makes the usage of the chart and the whole application impossible! Is this a known issue and is it going to be fixed soon? And where can I get the old version of the SignalExpress (2009) so I can install it again?

    Here is a screenshot of the problem:

  • 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.

  • Problem with waveform chart: time scale does not show time correctly

    Hello,
    I have some problems with a chart.
    I want to display some data and the time between two single data can vary. It is something between 50ms and 500 ms.
    The problems I have:
    1. The time is not shown correctly in the chart (allways 2:00:10 instead of the current time)
    2. the data points in the chart have a distance of 1 s (x-scale). That is not correct.
    I have tried several things but I thinkt I am on the wrong track.
    Could you please help me?
    Johannes
    LabVIEW 7.1 (!)
    Message Edited by johanneshoer on 10-14-2009 04:26 AM
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Solved!
    Go to Solution.
    Attachments:
    Chart Test.vi ‏55 KB

    I have modifierd the vi again.
    Now it looks much better.
    I have a data array and the last 10 seconds of the data are displayed.
    The array size is maximum 150 and that is more than I need to display. If new data is inserted, the oldest gets deleted.
    I wonder if this style is efficient?
    The time is stil not displayed correctly in the graph. Why does it always show 2:00:00 ?
    Johanens
    LabVIEW 7.1
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Attachments:
    Chart Test 3.vi ‏57 KB

  • Strip chart time stamp x-axis

    Hello,
    I have a strip chart and want to set the x-axis to current time from system.
    How to do it please?
    Thanks

    Give this a shot:
    http://digital.ni.com/public.nsf/allkb/6F0054EEABA​FE4B886256F2700012142
    Mark P.
    Applications Engineer
    National Instruments
    www.ni.com/support

  • Waveform chart time axis is not matching the waveform data

    So here an interesting conundrum I hope you might be able to help me with...
    My VI has waveform data sent to a chart, though the data is not being plotted against the current time.  Rather, it is being plotted starting way back in the reference time (way back in 1903).  I don't understand why this is happening.  When I build the waveform, I use the "Get Date/Time in Seconds" function outside the while loop and feed that into my "Build Waveform" Function as the t0 value.  My dt value is 0.05 (20 Hz) and then I feed in my array of data in the Y input.  Any ideas why the chart is plotting this data over 100 years ago?  Thanks!
    Andrew

    Hiii, Ronin
          Here is your solution.
    By default, waveform charts and graphs display the absolute time at time 0 as 7:00:00 PM, 12/31/1903 on a Windows based system. Property nodes can be used to get the correct absolute time to display on the x-axis of the waveform chart.
    First, right click the chart on the front panel and select X Scale >> Formatting. Then set the format to Absolute Time.
    Create a property node for the waveform chart by right-clicking on the chart on the block diagram and selecting Create >> Property Node. Expand the property node to display two properties. Select the Format property and the Offset property. The Format property is located under X-Scale >> Format and Precision >> Format, and the Offset property can be found under X-Scale >> Offset and Multiplier >> Offset. Right click on the property node and select Change All to Write.
    For the Format property, the context help shows that there are multiple inputs to this property. Wire in a value of 7 to set the format to Time and Date.For the Offset property, first wire the output of the Get Data/Time in Seconds VI to the input of the To Double Precision Float VI. Then wire the output of the To Double Precision Float VI to the Offset property.
    In addition, if you know the number of data points plotted to the chart per second, you can set the Multiplier property located under X-Scale >> Offset and Multiplier >> Multiplier. If there are x data points generated per second, wire in a value of 1/x to the Multiplier property. A simple example program "Chart with Timestamp" that demonstrates how to do that is attached.
    Thanks,
    Nishant
    Attachments:
    Chart with Timestamp.vi ‏36 KB

  • Complex bar chart/time line design problem encountered

    Greetings,
    I am struggling with a Crystal reports design issue and I am hoping that all of you gurus out there might be able to help me.
    I need to create a graph displaying usage of industrial-type equipment over a time range. The graph should be something like a stacked bar chart but each bar needs to display multiple segments of the same colour.
    For example, each piece of equipment can have the following usage types: idle, full production, half production, out of use.
    Usage could be:
    08:00-09:00 out of use
    09:00-10:00 idle
    10:00-11:00 half-production
    11:00-11:15 idle
    11:15-12:00 half production
    12:00-13:00 full production
    13:00-14:00 half production
    14:00-14:15 idle
    etc.
    All of this needs to be displayed in a single bar per peice of equipment. The date range may span multiple day.
    I hope someone can help me out,
    zaroblan

    Hi Robert
    Create a formula field with usage types: idle, full production, half production, out of use and use this formula field in "On change of" in your chart.
    Create another formula field with the calculations required and use that in "Show value" in the chart.
    Hope this helps!!
    Regards
    Sourashree

  • Saving a relative chart time.

    I noticed that when taking data the time displayed on the chart is moving slower then actual time. The other data displayed in the chart appears to have good response however. I suppose for the time being I can live with only having relative time as long as all displays are somewhat synchronized on display. I am trying to write all my data to a fileto graph in excel but dont want to use real time as a synch cause it seams that the relative time displayed by the chart is goes with the data. I dont know exactly how this data is synched in time. Any help would be great. Thanks so much.
    Attachments:
    Scan_Loop.vi ‏205 KB

    Hi Tim,
    The x-axis on your Waveform Chart is controlled by the Loop Delay and the XScale.Multiplier. In case the code in your loop takes longer than the Loop Delay, the loop will not continue until next iteration of the Loop Delay. This could cause some timing issues, since the code inside the loop may have non-consisting execution times.
    You can include a timestamp to your data using the timing functions, and that way make sure that the x-scale will be relative to the time � being absolute or relative.
    I hope this answered your question.
    Best regards,
    Philip C.
    Applications Engineer
    National Instruments
    www.ni.com/ask
    - Philip Courtois, Thinkbot Solutions

  • UCCX Historical Report Chart Time Units

    I'm running a UCCX historical report that charts each agent's logged in time in seconds.  I'd like to make the report's chart as easy to read as possible. Is it possible to change that X-axis unit from seconds to hours instead?
    Thanks!

    You'd have to modify the Crystal Reports file (.rpt) to do logic to change it. Otherwise, no, not that I am aware of.

  • Chart time

    Hello,
    I am trying to get a chart to display the time across the x-axis from 0 seconds to the time when the stop button is pushed. I have attached the code.
    Thank you.
    Attachments:
    Function Generator.vi ‏64 KB

    kloste22 wrote:
    What do you mean by the last graph?
    I am glad you figured it out.
    LabVIEW is a dataflow language, so the graph with the terminal outside the loop will only get data once the while loop stops. This makes it "the last".
    If you are new to LabVIEW, I would recommend going through some of the tutorials here.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • BUG: iTunes Reporting Section Doubling Download Metrics

    I've found what seems to be a bug on the reporting section of the iTunes U metrics and am wondering if anyone else is experiencing this. I have attached a video to demonstrate what is happening, but essentially if I start counting metrics from Jan 20

  • BPM and ADF integration - some questions

    Hi, I have a few questions about comunication between BPM 11.1.1.5 and Human Task based Task Flow: 1) What is the best way to pass data (task id, proces id, proces data) from BPM workspace to Human Task Task Flow (and get them as TF params). 2) Where

  • SMS not allowing pictures not made by iPhone in latest update

    So I have the 3GS phone on AT&T with iOS4. I take pictures with the camera on the phone as well as another camera (high end) that I carry around. I was sending pictures today to a friend of mine and the picture that I took from the iPhone sent withou

  • Time column of an explain plan

    Hi, I'm using Oracle version 10.2.0.3.0. I have 2 tables with 10 million records each. The DDL is as follows. create table bigtable(col1 varchar2(20), col2 varchar2(20)) create table bigtablechild(col1 varchar2(20), col2 varchar(20)) bigtablechild.co

  • Getting Error in setting configuration of iPod using OS X Server Profile Manager

    We are getting error when we are trying to configure the iPods using Profile Manager. Please let me know what is causing for this kind of error. Please see in attachment.