Time scale on 3D graph

Hi, I'm having major problems converting the axis on my 3D curve from seconds into proper time. I've tried everything but nothing seems to work. I've attached a very shortened version of my code.
Attachments:
3D_graph_for_NI.vi ‏29 KB

Hi again,
I think I found a solution:
-right click on the graph, select CWgraph3D/property
- Click on the Format tab and select YAxis
- Select date format and the format that you want
Now you can input the time values in Y to be displaied on the graph.
The problem is that the 3D graph has a date/time start reference at the date 12/30/1999 00:00.00; while LV has 01/01/1904 00:00.00
Another important thing is that the format for the date/time input for a 3D graph has to be expressed in days (NOT in seconds)since the reference date.
Therefore you have to subtract from your time values in seconds the number of seconds between 12/30/1999 00:00.00 and 01/01/1904 00:00.00 (use LV time functions for calculation); then divide all by 86400 (number of s
econds/day).
Hope it helps, good job anyway!
Alberto

Similar Messages

  • Time scale for wave graph form

    hi,
    I am doing a project in VS2005.net Basic and Measurement Studio 8, I would like to display one sampling data in wave graphics. I am using wavegraphform. But when I change sampling time, for example, 1 ms, 2ms or 5 ms. How can I display the corrected X Axis? Thank you very much!

    Howdy Yhong -
    What method are you using to plot to the waveformGraph object?   Assuming that you are using the PlotY method to plot your graph, which overloaded method are you using? 
    In general, there are a few things to consider with the XAxis.  First, you can access any XAxis object through the waveformGraph.XAxes collection.  From there you can set any XAxis property you would like in order to change the look of the graph to suite your needs.
    This problem also could be as simple as using the proper method for PlotY.  For Example, Ploty( double[] yData, double start, double increment); gives you the ability to specify the increment you would like to use for the XAxis.
    If you still need assistance, please let me know more on the specific method you are using, and what you would expect the XAxis to look like in the situation you describe in your post.
    Thanks
    and have a great day!
    Regards,
    Andrew W. || Applications Engineer
    National Instruments

  • How to display on the graph three or more waveforms where time scale is not an index of array but a real time

    How to display on the graph three or more waveforms where time scale is not an index of array but a real time:
    I measure three voltages Va, Vb, and Vc on my Test stands every 3sec. So I’m building four arrays (Va, Vb, Vc, Time) and combine all in one.
    Time
    Va
    Vb
    Vc
    0
    5
    3.5
    2.8
    3
    4.9
    3.6
    2.9
    6
    4.8
    3.8
    2.1
    Now I need to show on the graph in which scale X is “Voltage” and scale Y is “Time”.
    How can I do it?
    Thanks a lot,
    Boris

    Hi, thanks all your reply.
    You may find "points_to_bar_graph.vi" from this website, I find it by this way.
    I will ask a stupid question: I don't have any photo processing software, how can I save the vi into a picture format?
    So here I just paste it into word document.
    Attachments:
    question.doc ‏520 KB
    points_to_bar_graph.vi ‏62 KB

  • Relative Time Scale for X-Axis when creating a Line Graph in CS3?

    Is there a way to get the APPROPRIATE RELATIVE scale for the X-Axis (Category) when you're using dates?
    Example:
    If this is my data set:
                        Group A          Group B
    01/03/99                1                5
    01/04/99                11                3
    01/05/99                6                12
    11/27/07                63                54
    If I plot this in Xcel, by default, each date (x-axis) will be spaced the same distance apart. However, there is a checkbox to "time-scale" the X-Axis which will place the dates relative to one another. In other words, if we're talking about a bar graph, the first three bars would be close together on the left side of the chart, and the 4th bar would be waaaaaay on the right side of the graph.
    So, below, if 'x' is a bar, I keep getting this in CS3:
    x     x     x     x
    I want to get this:
    x x x             x
    Get it?

    Is there a way to get the APPROPRIATE RELATIVE scale for the X-Axis (Category) when you're using dates?
    Example:
    If this is my data set:
                        Group A          Group B
    01/03/99                1                5
    01/04/99                11                3
    01/05/99                6                12
    11/27/07                63                54
    If I plot this in Xcel, by default, each date (x-axis) will be spaced the same distance apart. However, there is a checkbox to "time-scale" the X-Axis which will place the dates relative to one another. In other words, if we're talking about a bar graph, the first three bars would be close together on the left side of the chart, and the 4th bar would be waaaaaay on the right side of the graph.
    So, below, if 'x' is a bar, I keep getting this in CS3:
    x     x     x     x
    I want to get this:
    x x x             x
    Get it?

  • Changing time scale for mixed signal graph

    I want to change time scale for mixed signal graph 1 day or  5 day of realities?

    And what exactly are you having problems with? If you want to use a property node, it's Xscale.Maximum.

  • Time Scale Graph questions

        Hi, I am VERY new to Labview.  I am using Labview 7.0  with a PCI 6220 card.  I have a VERY simple VI that plots input voltage [+/- 10V] with respect to time. Currently the graph plots continuosly each time a measurement is taken [Tmax - Tmin = ~1ms].  I want to graph to instead plot a continuous graph with a curve that starts at Tmin = 0, and ends at Tmax=1min, giving me a complete curve.
    Your help would be very much appreciated!!!
    Attachments:
    Analog_in-test.vi ‏180 KB

    Hi heepofajeep,
        Here's a screenshot I hope will help you.  Basically, if you append the waveform each time through the loop, you can display it all on the graph at the same time.
    Brian B
    Field Sales Engineer
    Tennessee/Southern Kentucky
    National Instruments
    Attachments:
    append_wave.jpg ‏1252 KB

  • How to set the correct time scale of VI ?

    I created a VI to display waveforms on the waveform graph. The problem is the time scale of the VI is always the year 1904.I tried to select absolute time in Property options of the waveform, but it remained the same. Can anybody help me with this? Thanks.

    > The x-scale is always 01/01/1904 even after I selected the 'absolute
    > time' option from waveform chart properties. If I add 2004 as offset
    > of x-scale as suggested by the previous post, the waveform of the
    > signal cannot be displayed, the system think it is still running in
    > 1904.Could you give me some further help?
    >
    Your description doesn't give enough information to pinpoint the
    problem, so I'll list off a few things that could be going on.
    The graphs and charts accept many datatypes. If you are using the
    waveform, display it on a regular waveform indicator and see what the
    timestamp and deltaT are. If these are correct, then the graph should
    be able to display things with no further changes except that you may
    need to turn on X Scale Autoscaling so that it will zoom and shift to
    show the plotted data. Charts will shift, but by default will not zoom
    in, and it might make sense there sometimes too depending on the delta T
    and amount of data plotted.
    If the timestamp on the waveform is incorrect, then it is much easier to
    construct the properly marked waveform than make the graph add to it to
    label the waveform's time differently.
    If you are not using the waveform, then you may be using a cluster of
    X0, dX, and Y array wired to the graph. This is very similar to the
    waveform, and again, it is better to add offsets to get the X0 to
    display correctly on a numeric. You can extract this number or display
    the cluster in an indicator, then format the numeric to display absolute
    time.
    If you are simply wiring the Y array, then LV will construct the X
    values based upon the number of points beginning at 0 and incrementing
    by one by default. When displayed as absolute time, this will default
    to midnight Jan 1 2004 plus an offset based upon your timezone. In this
    case, since there is no X information being piped into the graph, it is
    better corrected by going to the graph properties for the X Scale and
    setting the X Offset to the seconds between now and 1904. This is a
    constant you can compute when your program starts up or you can use a
    calculator, whichever is easier. You will also likely want to set the X
    Multiplier to the deltaT between successive points. 0.001 for 1KHz, 1
    for 1Hz, etc.
    Finally, if these suggestions don't make sense or don't help, you might
    want to explain more about what doesn't work.
    Greg McKaskle

  • Different positions of time steps on Time scale for multiple plots of same signals

    Hi,
       I am facing a strange behavior of graphs of time-domain signals in "Data View". I am using DSA devices to acquire signals. I am plotting three analog voltage inputs (attached to Ch0, Ch1 and Ch2 of same DSA device). The vertical scales of these three signals should be same and follow the maximum signal level. So I plot these three signals on one "Display" in "Data View" and duplicate three such displays. For first "Display1" I change interpolation such that only first signal (Ch0) is visible. On the second "Display 2" I change interpolation such that only 2nd signal(Ch1) is visible. Similarly third signal(Ch2) is displayed on third "Display 3". Now for these three displays, the time scale is not the same. The starting point is 0 and is aligned among these three displays. The end points of time axes are different. For example these are 989.966m, 990.391m and 1.00034 for 102400 points acquired at sampling rate of 102400  Samples / second. Similarly the major grid lines are also not aligned among these three graphs when we move towards end of time scale.
        I have tried changing "Time Stamp Type" to "Relative to Ch0" for all three displays but this problem remains same. I tried my best to work around it but could not succeed. I tried to save the signals and then plot after reloading while taking same time information from column 1. This solved the problem of time axes but now auto-scale stops working on vertical scales whenever signal amplitudes goes down (The scale does not follow decreasing amplitude of signal but remains fixed).
       Can anyone help me in this matter? I shall be very thankful for an earlier response.

    Hi Vivek
       I need to align time values in all the displays (in Data view). The time values should already be aligned since I am using DSA PCI-4474 which is a simultaneous sampling digitizer.
        I explored it in detail. If I add displays in Data Views while there is no data acquired and save the project then it works fine. However if I save the project after acquiring data and doing some zoon In/ zoom out etc. then I face this problem. Please let me know if there is a way to avoid it.
    Moreover I need a confirmation from you on my following application development:
    I have a simple application of showing 12 analog signals on 12 different graphs placed vertically in aligned position. I have to develop a user interface so that if user wants to display signal no. 1, 4 and 6 out of total 12 signals, he should make selection using check boxes and click a re-draw button. It should result in these three signals displayed as separate graphs aligned vertically and adjusted to fit window size of Data View. Similarly later user can change his selection of displaying signals (from same acquired data) say 1, 3, 5, 6, 8, 9, 11 & 12 and click Redraw button. It should result in clearing of Data view (or opening a new Data View tab i.e Data View 1) showing all these signals as separate graphs which are aligned vertically and resized to fit the window.
    Can I achieve this user interface design using Signal Express only (without using Lab view)?
    Regards
    Mnuet

  • How to set physical min/max values for a scale in xy graph?

    Hello,
    I have troubles with the way LabView handles physical units in xy graphs. In particular, I use a time scale for the x axis.
    The values are timestamps and have the unit [s]. Now I want to read write the min max values for this scale via
    property nodes. It seems that the properties for min max do not support the use of the unit I use for the data for
    that same axis. This is very inconvenient and I am not even sure which kind of data to use at all for this properties.
    Is it simply converting to/from [s] using the unit converter?
    (I am using LabView 7.1 for the programm in question).
    Thanks,
    Olaf

    Hi Olaf
    "It seems that the properties for min max do not support the use of the unit I use for the data for that same axis."  
    What are the units you are using? can you make it a littlebit clear.
    You can change the units also using Property node.
    Just check the attachment once. If that is what you are looking for, then the problem is solved.
    Regards
    Anil
    Message Edited by reddy on 05-23-2006 05:25 AM
    Message Edited by reddy on 05-23-2006 05:27 AM
    Attachments:
    X-Scale.jpg ‏8 KB

  • How to change the time scale on Dynamometer's profile

    I am using LabVIEW 7.0 and running the Dynamometer Kit. I have tow questions:
    1) How to change the x-increment on the time scale? Right now it is fixed at 0.25 minute per mark. Changing 'x-increment' under VI Hierarchy only changes the mark before the origin (0,0). For example, I changed the value of 'x-increment' to 0.1, I get a -0.1 on the x-axis, however, everything else remains at 0.25 increments.
    2) How to save/load the results of the profile? In other words, how would I save the data into files that I can recall later.
    Thanks

    Hi,
    To address your question, are you referring to the attached dynocode.llb files? I didn't see a waveform graph or chart in these files, but I am assuming your x-increment question is pertaining to a graph you are using. To set the marker spacing on the x-scale, right-click on the front panel where your graph is located and select Properties >> Scales. Then, there is a drop down to select the x or y-axis. Choose the appropriate one and deselect Autoscale. You can then set the offset and multiplier options. The multiplier will set the marker spacing (x-increment) on the graph. Sometimes, the waveform graph doesn't modify correctly and you might want to replace it with a new waveform graph instance. Tight-click on the graph, choose Replace and then
    navigate to the Waveform Graph.vi.
    To address your other question regarding saving/loading the profile information, I would suggest looking at the Read From Text File.vi and Write To Text File.vi example programs that are in the LabVIEW Example Finder under Help >> Fundamentals >> File Input and Output.
    Let me know if you have any further questions or if this does not resolve your issue.
    Thanks again and have a great day!
    Kileen C.
    Applications Engineer
    National Instruments
    Attachments:
    dynocode.llb ‏5997 KB

  • Can't adjust the default time scale when creating a new appointment in Outlook 2010

    Good Afternoon, I have found a question on these community boards that propose an issue that I am currently experiencing. The answer; however, was not the solution for me. I used the same name as the original post and will add the original text as it is
    exactly what I am experiencing.
    "When creating a new appointment in the month view Outlook 2010, the default time scale or duration is 2 days.  I tried resetting the view, adjusting the time scale, and creating a new profile.  It only seems to happen when creating the appointment
    in the Month view.  ???  Day and week view work fine and appointment can be created w the standard 30 minute time scale.  But the time scale in the month view although says 30 mins, it creates appointments in 2 day durations."
    This is exactly what happens to the user I am assisting. When in "month view" double clicking the day will bring up a new appointment with the times within the same day. If you click the "new appointment" button in the ribbon it
    sets the end time to the following day. This only happens in the month view every other view works as it normally should. I have tried it several times being sure multiple days are not selected. It still gives me an end time for the following day. I have reset
    the view, changed the time scale but nothing seems to bring it back to the default same day appointment. Any ideas?
    Thanks for any assistance you can provide.

    It is a default in Outlook 2010 in month view.  The "time scale" selection is greyed out.  Very frustrating.  Everytime I select "New Appointment," a duration of 1 day is automatically selected; midnight to midnight.  I end up doing
    most appointments twice because I forget to change to end date back to the day of the appointment.  "New meeting Request" works fine.  So does "New All Day Event" when you deselect "All Day Event."  I can't see how this default behavior
    provides optimal results under any circumstances.  Very frustrating.

  • 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

  • Y scale in XY graph

    Quick question :
    how to scale Y-scale in XY Graph (height about 470 pix)
    so that I can see all integer numbers from 1 to say 32.
    See picture. I try to use property node, but it seems that height of this XY
    Graph doesnt allow me to see all numbers.
    cheers,
    jcz
    [Attachment graph_scale.gif, see below]
    [Attachment graph_scale_prop_node.gif, see below]
    Attachments:
    graph_scale.gif ‏4 KB
    graph_scale_prop_node.gif ‏5 KB

    Hi,
    Please see the attached Vi where I have used YScale.MarkerVals[] property node to write 1,2,...,32 values to the Y scale. Notice that the graph height is less than 470 pixels.
    Regards,
    Ankita A.
    Attachments:
    Y_scale.vi ‏17 KB

  • View historical time trend in xy graph

    Hello Friends,
        I want to get historical time trend in xy graph or waveform graph.
    So how can i view that historical time trend in XY graph.
    If it is not posible so how can i view that historical trend value in any indicator.
    please if any one have a solution of this so please tell me.
    Thanks & Regard
    Nitin
    Thanks & Regard
    Nitin Jain

    You can Add scrollbar to the graph so that you can view the historical time data... Is that you need...?
    Kudos are always welcome for the correct solution...
    The best solution is the one you find it by yourself

  • Creative Media Source 5 SVM Time Scale Clean Up Prob

    hi, im Using the Creative Sound Blaster Li've! 24 Bit sound card and using Creative Media Source Player 5 to play my?audio and video files. I get a problem, however, when i start to play a song from my Library,?The first message reads(this is when i double click to song to play it): Exception --CreateObject : Exception:ObjectNotFound? from:CTimeScaleFilter Message:"Could not load Time Scale Filter" (after that message it tells me when this problem happened)?The second one reads(after i click ok): Exception --CreateObject : Exception:Undefined? from:CNoiseReductionFilter? Message:"Could not load Noise Reduction filter"? (and then the time it happened)?Third Message reads: Exception --CreateObject : Exception:Undefined? from:CSvmFilter? Message:"Could not load Time Scale Filter" (and then the time it happened)?does anyone know why this happens when i play a song from my playlist or otherwise? and right after i stop playing the song, i can click on the time scale, svm, and clean up like nothin happened, i can change the settings and what not....its really starting to tick me off because it Just worked, and then i closed out of the program and started it back up again, and now it Doesnt work, please help, and it would be awesome if i could fix it without reinstalling the sound card, its drivers, and the like...

    Ok, followed your instructions, installed media source direct from the cd from explorer from directory CMS/Setup to the setup.exe file. Intall took longer this time, but, still no Creative Media Source installed -
    still have the same problem. Still need more help.

Maybe you are looking for