Waveform Graph X Scale Format

I have a graph currently display time in relative time in the pre-defined format HH:MMS. I would like to display milliseconds also if possible. Is there a format available or do I have to create my own?

You can set the X scale format to be just about anything.  Right click on the scale, select properties, then go to the Display Format tab.  Select your X axis in the top-left combobox, then set the format to whatever you want.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • Waveform graph x scale

    Hello,
    I am using a waveform graph.  My x scale is the time value of data being taken.
    I want the x scale to start at zero and my oldest data being displayed first.
    In other words a progessive flow of how data is seen on a graph starting from when the data was first
    taken to eventually newest data on the right side of the graph.
    Right now the graph does the opposite with my newest data displaying first.
    Please ...using a chart is NOT an option as I need cursors.
    Many Thanks !!

    Simply invert the wires at the build array located just before the Graph
    Message Edited by JoeLabView on 06-20-2007 03:44 PM
    Attachments:
    buildArray.PNG ‏2 KB

  • How i configurin​g a waveform graph for that in the Time (X-axis) appear the time zone configured for the computer?

    CORDIAL SALUDO,
    ESTOY ADQUIRIENDO SEÑALES DE TENSION Y DE CORRIENTE DE UN SISTEMA FOTOVOLTAICO Y NECESITO GRAFICAR DICHAS SEÑALES CONTRA EL TIEMPO LOCAL DE MI COMPUTADOR EN EL EJE DE LAS "X" , PARA LA CUAL SELECCIONO EL MENU PROPERTIES DE LOS WAVEFORM GRAPHS, LUEGO SELECCIONO FORMAT AND PRECISION Y LUEGO EN EL EJE DE LAS X SELECCIONO ABSOLUTE TIME, PERO EL PROBLEMA ES QUE CUANDO HAGO LA ADQUISICION ESE TIEMPO EN EL EJE DE LAS X NO ES EL TIEMPO VERDADERO CONFIGURADO EN MI COMPUTADOR. ¿ COMO CONFIGURO LOS GRAPHS PARA QUE EL ABSOLUTE TIME EN EL EJE DE LAS X SEA EL MISMO DE LA HORA LOCAL CONFIGURADA EN MI COMPUTADOR??.
    GRACIAS!

    Hola Andres.
    Basicamente, hay 2 maneras de hacer lo que tu quieres
    La mas sencilla ( mira el doc asociado) es construirte una waveform con t0 como hora del pc y dt el adecuado a la velocidad de adquisicion de datos. No olvides desmarcar en el grafico la opcion "ignore timestamp" para que te presente la hora por defecto.
    Tambien puedes usar la opcion de tiempo absoluto, en cuyo caso tienes que cablear el t0 convertido a DBL a un property node del eje x "Offset" y el dt a "increment"
    Espero que te sirva. Si tienes dudas, pon tu vi aqui y le echare una ojeada.
    Saludos
    Alipio
    "Qod natura non dat, Salmantica non praestat"
    Attachments:
    hora_pc.doc ‏63 KB

  • How to get a fixed plot area in a Waveform Graph even if the Y scale's precision change

    Because I'm stacking many Waveform Graph. I want them to look the same. When I change the precision of the values in the Y Scale. The plot area doesn't keep its initial width. In the example provided. I'm changing the precision and you can see it moving. Is there a way to keep the width fixed?
    I noticed that there is justification for unit label. But I didn't got the expected behavior.
    Attachments:
    ScaleProblem.vi ‏38 KB

    The menu item is only in LabVIEW 6.1 and above because the plot area did not autoscale in earlier versions so I'm not sure exactly what kind of problem you're seeeing. Here's the original example in 6.0 format and when I run it, the plot areas stay aligned as the precision changes. Could you maybe post an example that demonstrates the behavior?
    Attachments:
    ScaleProblem[1].vi ‏33 KB

  • 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

  • How can I add custom captions to a waveform graph scale?

    I have an application that displays one or more signals in a WvfmGraph.  The X Axis is set by a hardware encoder giving signals vs. distance (measured length).  I would like to change the caption of the XScale according to the values of one of the signals.  Its similar to an XY graph, but differs in that I want to see the data unrolled.
    The problem is that the X Axis scale markers are fixed.  I would like to ask the graph what is range property of the X Axis scale.  Then use that information and a derived position signal to replace the marker values with values from a derived signal that includes relative motion. 
    For example, measuring a unit 100 feet long results in measurements of 200 feet worth of data (out and back).  The customer would like to see this data unwrapped 0, 50, 100, 50, 0. 
    One alternative is to use an XY Graph, but the data on top of itself.  Not necessarily a bad thing, but not the same as what they have always had.
    I found a similar post to display the scale at a rotation (CW or CCW) and was able to get it to work for my specific case.  The problem is that my picture marker values are not aligning nicely with the corresponding gridlines. 
    Attachments:
    Position vs MeasuredDistance.PNG ‏43 KB
    Position vs. PseudoPosition.PNG ‏37 KB

    Stephen,
    Thanks for replying to my post.  XScale.Range does not handle this situation.  In "rigorous" terms, LV does the right thing with X axis scale markers and put them where you want.  I tried to set custom Marker values as: {0, 50, 100, 50, 0} and only saw the first three values.  My guess is that under the hood, the spacing is set to 'Arbitrary' and my custom values are overwritten.  Not what I intended, but I admit my task is not the normal use case.
    Today I am prototyping the entire application with each WvfmGraph replaced with XYGraph's.  Good thing I used a modular design and passed Refnums around to all my subVI's.  Depending on a review of this prototype, I might skip this graph scale formatting.
    FYI, the original graph issue wanted to rotate the marker labels CCW.  They hid the graphs XScale and used a custom picture to display the new scale.  There is a VI that formats an axis with custom labels, where the font, text, etc. can be customized.  I have a working example of that custom scale on a Wvfm graph.  I stopped refinement when I tried to consider use cases for how the user would zoom on the data, how the graph's label's would appear if the DAQ signal indicated that the part reversed on itself.  All the data is better visualized on an XY Graph.
    p.s. are you one of the Waterloo Labs engineers?  Great stuff!

  • Y scale flip in waveform graph when using property node.

    I'm having problem with property node. I'm trying to build a stackable scope with Waveform Graph And dynamically change the number of plots. It is working. But The Y scale is flipping. The minimum goes on the upper part and the minimum scale goes down. when I change it appearance it's not very fast. It take about 1 or 2 second on my computer.
    The way it is build actually is:
    Cluster_1 is containing 8 clusters. And each of the 8 clusters are containing a Waveform Graph. By reference I change the property of each Waveform to make visible or not each of the Waveforms.
    First I would like to solve the scale problem and second accelerate the redrawing of my scope.
    Maybe there is an other way t
    o do what I need.
    Thanks.
    Nitrof
    Attachments:
    MultiScopeExample.llb ‏192 KB

    Wow, you have a neat program! The problem with your y axis flipping is because the last four charts in the cluster were programmed with a flipped axis. I relabeled the charts and it worked correctly.
    From what I could tell with your code, you do not need the sequence structures. The one inside of the even actually runs the same code twice. Remove this duplication and you should see improvement. Also clusters are slow, so you should not expect it to blink back with additional coding. Use defer panel updates to get that behavior. I incorporated these changes and attached the program.
    Jeremy Braden
    National Instruments
    Attachments:
    MultiScopeExample.vi ‏163 KB

  • Working with dynamic scales in waveform graph - display problem

    Hello
    I want to use the same waveform graph in the frontpanel for different measurements. These measurements contains 1 to 8 curves, some of them I need to autoscale and others I want to use fixed scales. I wrote a method containing these functions and the functional behaviour is how I expected. But when it runs several times, LabView cannot correctly manage the graph display. Some scales are behind the graph or two scales are at the same position.
    Perhaps you have a look at my example VI (LV 7.1), I generate a random Waveform and want to display a random number of curves and some of them in fixed, and some in autorange. The more I run the VI, the more the waveform graph display gets wrong. Does anybody know a solution?
    Thank you very much for answering!
    sparti.
    Attachments:
    ScaleProblem.vi ‏165 KB

    hi there
    Ben, thanks for the link. Christian's suggestion is right and describes a similar problem.
    I solved the problem now on an other way. Each time before I change the visability of the scales I reset all settings to the default (startup) values by property nodes (YScale.Maximum, YScale.Minimum, All Visible...). Then I make the scales which I don't need unvisible, link the graphs to the prefered scales and set the Min/Max or autoscale.
    Important: I got 4 scales on each side. When I want to use eg 2 scales on the left, I need to make visible scale number 1 and 2. Scales 3 and 4 can then be set to unvisible (in other words in an incrementing order).
    Makeing scales visible and unvisible is a little bit nervous on the screen. So, during that process I bring a picture of the last waveform on the top of my screen and change to the graph view when all settings are done.
    Now I got a really great waveform viewer with the possibility, scaling some graphs by autoscale, others by fixed scales, using up to 8 scales selectable on the left/right side, user definied colors, names and units.
    Thank you all for taking part of my problem.
    sparti

  • Negative scale on a Y log scale waveform graph.

    I have a problem with my waveform graph : I would like to set Y negative scale in a logarithmic mode. How can I do that? It seems to be impossible (always set to '0' if a set negative value)! What is the problem ?
    Thank's in advance.

    Hi,
    no problem,
    see attached file.
    Regards
    Mike
    GAP wrote:
    > I have a problem with my waveform graph : I would like to set Y
    > negative scale in a logarithmic mode. How can I do that? It seems to
    > be impossible (always set to '0' if a set negative value)! What is the
    > problem ?
    > Thank's in advance.
    Attachments:
    NegativeData.vi ‏27 KB

  • Waveform graph - Number of major ticks on x scale

    Hello all!
    I'm trying to display meteorological measurements throughout a day in a minute resolution. For that purpose I'm using a Waveform Chart with fixed length on x-axis (0-1440). However, major ticks are distributed by 100, i.e. 0, 100, 200, 300, ..., 1400, 1440. How can I distribute these points by 60, so that I can put hour labels 00:00, 01:00, 02:00 etc.
    Thanks!
    Regards,
    Marko.

    There is a Marker Spacing property to which you can write a custom array. This sets the scale Marker spacing to arbitrary.  See attached vi as an example.  Work still needed to make it look acceptable regarding labels.
    You could make the marker every 1 hour, the minor tick (not labled) cannot be controlled,  A long chart will have 10 minute minor tick
    - half the size of the chart and it will be 20 minute
    If you want continuous output I think you need to use a Waveforn Chart rather than a Waveform Graph with chart history length set to 86400 (number of seconds in 24 hours
     

  • Is it best to set waveform graph scale properties before or after sending new data to the graph?

    Hi I'm wondering when is the best time to update waveform graph scale properties.
    I am sampling data every 15 minutes for 192 samples, i.e. 48 hours.  I want to plot these samples with the x scale in absolute time mode so that x scale maximum is the current time and x scale minimum is x max minus 48 hours (172800 seconds).  I also want the intermediate scale markers to be 6 hours apart and to be multiples of whole 6 hours.  e.g. at 06:00, 12:00, 18:00.  This works OK using property nodes but sometimes the intermediate markers are on the 6 hour multiples and sometimes they are at 6 hours after the min scale marker.  e.g. 09:15, 15:15, 21:15.  Is there a way of guaranteeing that the intermediate markers will be on the 6 hour multiples?
    Thanks,
    Neville
    Solved!
    Go to Solution.

    Hi Bryan,
    Thanks for your reply.  I have discovered that I can achieve what I want by using an XY graph instead of a waveform graph.  I want X max to be the current time and X min the be 48 hours earlier with intermediate scale markers on multiple of 6 hours.  The XY graph in the attached VI does exactly that but I can't get the waveform graph to behave as I would like.  Is there a way of getting the waveform graph to behave as I would like?
    Thanks,
    Neville
    Attachments:
    waveform graph x axis scale.vi ‏16 KB

  • Transition measurement vi cursors displayed in waveform graph are moving outside of scale

    Using a waveform graph to display pressure over time. I wanted to be able to calculate the fall time of the pressure over time so I'm using the Transition Measurement vi. I copied exactly what was in the example for transition measurement inside help and it is correctly determining the falling transition time but I am having a problem with the cursors on the waveform graph. I should be seeing a set of green vertical cursors marking out the fall start time and fall end time like in the picture I've attached (capture2) like in the example. The problem is they both always start at 3.43 (capture1) and after each sample period they increment by one (4.34, 5.34, 6.34) The come right out of the bundle from the transition measurement output as those numbers. The period of the signal I'm interested in is always less than 2 seconds, so I never see the vertical cursors.
    I've tried substituting my daq signal with a sine wave generator and it does the same thing.
    The block diagram is in the first capture
    also I would be interested in finding out exactly how the numbers wired to the active cursor property of the property node for a waveform graph relate back to the actual cursors on the graph. Are they just automatically numbered starting with 0 from the top-down?
    Wayland
    Solved!
    Go to Solution.
    Attachments:
    Capture.PNG ‏44 KB
    Capture1.PNG ‏7 KB
    Capture2.PNG ‏29 KB

    Hi Wayland,
    The reason the cursors are always apparent in the example VI for the Transition Measurement.vi, is because the signal being generated is always resetting. So, the signal resets to a 'new' signal for the cursors to go over and therefore always remain in the somewhat same location. The Waveform Graph is also configured in such a way that it will not move or continue to show new data coming in, the data cursors have moved onto. So in your case, you will want to right click the graph and make sure "Ignore Time Stamp" is not checked/selected. This will make it so the graph keeps up with your incoming data and the cursors. You can check this in the example file by removing the True Constant going to the waveform generator and changing the time stamp option previously mentioned.
    In order to view the available cursors and their numbered position, you can right click on the Waveform Graph and select properties. In the properties window there is a Cursors tab, inside this tab at the top is a drop down menu that lists all of available cursors, indexed starting with 0 at the top.
    -Jake B.

  • Change the x axis scale markers in a waveform graph

    Hello all,
    I am looking at an unusual graphing problem that hopefully has been solved.  The problem is because an pre-existing DAQ graph does things in a chart-like manner.
    The application context is that I measure a signal vs. test length.  During the test, I calculate the UUT position as a function of the test length.  The test includes measurements out and back.  Rather than graph signal vs. length; I want to graph signal vs. position.  I have considered the XY graph, but that co-locates the position data.  To remain consistent with an existing test program, I want to change the X Axis marker labels from distance to position at each marker's distance.
    I would like to customize marker text for a waveform graph's X Axis.  I found a sub-property node for marker text, but it does not seem to iterate through a Waveform graph's X Axis markers.
    For example, a test measures the distance 0 to 200 and the X Axis markers are labeled {0, 50, 100, 150, 200}.  How do I change those labels to {0, 50, 100, 50, 0}?
    The Marker Values[] property node does not do what I expected.
    Thanks,
    Kenneth
    Possible solutions:
    1. Find a property node that does the job
    2. Use custom indicators for each marker's labels
    3. Use two graphs, one for forward, the other for reverse testing
    4. XControls

    For your option #4 I would use option #2 but use a single picture and hide the X-Axis and do my own.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Looking up the values in a waveform graph with a mouse click

    Hi,
    Does anyone know how to look up the values in a waveform graph with a mouse
    click but... without the cursor legend on, if i press in the waveform graph
    nothing happens, i must search my cursors and only then i can see the values
    of my signal data?! Isn't there any other way?
    Best regards,
    Thijs Boerée

    Dear Chad,
    I know of the function "bring cursor to center". I also figured out that
    when i use a property node of the cursor array of clusters, that i can see
    that some values change when i move the cursor (i can see the X and Y scale
    value change of the graph and also the values of the mouse pointer (in
    points due to screen resolution)) But in this cluster i can't set the mouse
    position. I allready made a VI where i can see the bounds of my
    waveformgraph and I have the Xscale (min and max) and the Yscale (min and
    max), with a linear fit i can translate my mouse position to X an Y scale
    values and when i click on my waveform graph the cursor go's to that
    position (property node of the cursor position), only disadvantage is that i
    only have the bounds of my plot area and not the position, i do have the
    position of my waveform graph but the plot area isn't allways in the center,
    if i could extract the position of the plot area i may find a solution to
    solve this problem.
    And to file a product question:
    I would like to see the function that with a mouse click a little menu
    appears and that there are options to for example set a marker on that data
    and when you right click on it, that there are options to remove it or to
    add comment, a 2D array could make a list of the different channels with
    it's markers (time stamps and comments).
    Best regards,
    And thank you for your help.
    Thijs Boer�e
    "Chad AE" schreef in bericht
    news:[email protected]...
    > Dear Thijs,
    >
    > Thank you for contacting National Instruments.
    >
    > To address your question, there is no direct VI, command, or property
    > node that will allow the cursor snap-to-mouse functionality.
    >
    > I notice a problem you may be occuring is trying to find where the
    > cursor is on the graph. If this is an issue, you can select Bring to
    > Center from the Formatting Ring on the Cursor Legend to move the
    > cursor to the center of the graph.
    >
    > Let me know if you have any further questions or if this does not
    > resolve your issue, as I would be happy to file a product suggestion
    > so that LabVIEW is improved in future versions.
    >
    > Thanks again and have a great day!
    >
    > Chad AE
    > Applications Engineer - National Instruments

  • How to remove minor grids on waveform graph

    how to remove minor grids on waveform graph

    Right-click on the graph and choose X Scale >> Format. In the Grid Options area, click on the left icon and choose the middle icon the pops-up. This shows only the major grid lines. The left choice shows no grid lines and the right choice shows both sets of grid lines. Now, do the same for the Y Scale.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

Maybe you are looking for

  • TS1702 Getting an error on app download to Ipod touch

    Getting an error on app downloading to ipod. 0xE8000004 is the error. These are new purchases and it is frustrating that the games will not load after the purchase. Can anyone help with this problem? thanks

  • IPhoto browser events by date

    How do I set the Aperture iPhoto browser to sort events by date? I'm new to Aperture 3 trial. I have a large iPhoto library from which I want to import an event. I keep the iPhoto events ordered by date. The Aperture iPhoto browser orders events by n

  • Cannot drop the event session 'SharePoint_Diagnostics.... Which I don't have Database?

    I don't have ''SharePoint_Diagnostics_8ded6bfe00ed49b7b466ae4dae38af49_0',' database on the server. But SharePoint throwing below error in the events. How to resolve this? Unknown SQL Exception 15151 occurred. Additional error information from SQL Se

  • Difference between iPhoto Library and Package

    Hi,    Out for 4 iPhoto libraries on my iMac, only my daughters is shown as "Kind" = "Package".  All others show "Kind" = "iPhoto Library". I need to move my daughters Libray to the Mac Mini Server as all or albums are gettnig too big.  All libraries

  • Problem with data input by utl_file

    Hi, I am importing data from txt files into an xe database using utl_file; works nice but messes up the special characters from brazilian portuguese, they are imported as � (a question mark of sorts.) Here the nls set up from xe: NLS_CHARACTERSET