Waveform-Graph - Specify number of divisions (lines)

Hello,
is there a way to set the number of vertical and horicontal lines in a waveform-graph?
I want to change the look that it looks like an osciloscope-display with 10x8 divisions.
Is this posibble?
Thx

Hi OnlyOne,
so you don't want to use gridlines? You want some kind of overlay?
Options:
1) Put a picture indicator on top of your graph. Make it transparent background. Draw lines as needed - and you can choose any color...
2) In LV8+ you can put a picture in the background of a graph. So create a picture like in point 1 and set it as background in your graph (using property node).
3) Create property nodes for your decorations and change the color of those lines: Open reference to vi, get panel -> decorations[] -> colors... Or use the coloring tool ("brush") at edit time!
Why not use gridlines of the graph?
Message Edited by GerdW on 05-14-2008 01:28 PM
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • How do I determine the number of plots on a waveform graph?

    How do I determine the number of plots that have previously been plotted on a waveform graph? I am loading dynamic data from a file. If I convert to an array and size it and there is only one plot, I get the number of data points and I don't know how to tell the difference.

    Usually by reading the graph terminal or a local of it and determining the first or second dimension (not sure which at the moment) size of the resulting 2 dimensional array. If it is a 1 dimensional array you have either only one plot or an array of clusters each representing one plot. But as these data types are determined by compile time, there shouldn't be a problem with this causing ambiguity.
    Rolf K
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Programmatically Changing Waveform Graph and the number of plots

    I have a waveform graph that needs to display a variable number of plots based on the number of inputs.  Is there a way to programmatically adjust the number of plots displayed on the waveform graph?

    You need to use the Active Plot input before the Plot Name(s).  Property nodes are read from top to bottom so you can alternate several pairs of ActPlot,Plot.Name;ActPlot,Plot.Name, etc.  Then wire 0,1,2,etc to the ActPlot and your chosen name to the Plot.Name right under it.  Or, use for loops and index the ActPlot input.  See the pic.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013
    Attachments:
    plot names.JPG ‏37 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
     

  • Bug in Digital Waveform Graph X-Axis

    Hello,
    I am making separate queried to a database to retrieve analog and digital data over the same time period.  The data were logged at 2 second intervals.  I have verified that both result sets return the same number of values with the same t0 and dt.  I then plot the analog values on an XY Graph and the digital values on a Digital Waveform Graph.  I then use property nodes to sync the two graphs (left and right plot bounds, XScale.Range, and Cursor Position.X).  After doing this, I can see that the datasets do not line up between the two graphs.  The data on the Digital Waveform graph ends several seconds sooner than the analog data.  The x scales of the graphs appear to match but the plots don't align in time.
    Has anyone else observed this behavior?  Is there any work-around?
    Thank you,
    Peter

    There is a much simpler way to synchronize these charts. Just use a stacked chart.
    If you use a bundle function you can take two signals (almost data type) and wire them into a Waveform Chart together.
    Then on the front panel right click on the chart and select Stack Plots
    Since you only have 1 X axis now they are instrincly synched and will always write valules at the same time and update the UI together. You can skip all of the scale synching....
    Since the data you are working with has lincked time stamps, the data will need to be matched, (make sure the samples are anyched and each itteration both would have the same number of samples.
    The last allternative would be to strip the time stamp off of your data then build a new data structure, with the digital data, analog data and 1 set of matched time stamps. You can then plot this on an XY chart using the time stamp for the X axis for both of your other plots.  Let me know if you have other questions.

  • How to change the display in the waveform graph to enable higher frequency displays.

    I am working with waveforms of very high frequencies upto 2MHz. When the frequency of the waveform is increased above 500Hz, the display in the waveform graph goes blank.
    Please help me.
    Thanks

    Dear Labviewguru,
    Thanks a lot for your response.
    The problem had been technical, and it has been solved.
    Actually, I didn't specify the number of samples while generating the waveform, so only frequencies upto half the default value (1000) were being displayed.
    Regards,
    Roopa

  • When I record an audio track, there is a waveform. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is there. How can I stop the waveform from disappearing?

    When I record an audio track using Logic Pro X, there is a visible waveform which appears as I record. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is still there. How can I stop the waveform from disappearing? And can I do something to view it after it has disappeared? Anyone know the anser?

    In Logic:
    Preferences/Audio Set Recording Delay to 0 <zero>
    This should always be set to zero unless a specific set of circumstances exist and you're audio drivers do not report position correctly.
    On occasion, usually when importing a Logic 9 project, Logic-X randomly changes this to a negative/positive number.  It's actually a bug in Logic, as it should always display the waveform.

  • Get a waveform graph to stop plotting after a given time period

    I am doing a research project looking at the effects of modifying visual feedback on a person's current force output. I have a waveform graph that plots the target force level they are trying to match (specified by me) and next to it a second plot showing their current force output (in real time). I am trying to make a condition where the current force output plot (or really the whole waveform graph) stops plotting after a 10 s time period, but can't seem to get it to work. It either plots for the whole trial, or does not plot at all. Is there a way to put a timer on a waveform graph in order to tell it to stop plotting after a specified time period?
    Thanks!

    Hi again,
    I have tried to open the .vi you sent, but I have version 8.2 (yours is in version 8.5) and cannot open it. Is there a way for you to tave the.vi so that it can be opened with earlier versions of the program?
    I have attatched my .vi to this message as well.
    Attachments:
    bimanual combined with metronome_conds.vi ‏174 KB

  • Formating Line thickness for lines in graphs with more than 6 lines.

    I have a line graph with more than 6 lines on it and I'm trying to make them all 1px.
    I can specify a line thickness for the first 6 lines but after that, the lines go back to the default thickness.
    Is it possible to change the default line thickness for a graph or format the line thickness for the 7th line and more?

    Good news! I found out how to format more than 6 lines of data and it's really simple to do!
    In the bottom left hand corner of the Format Chart Data, next to the Clear All button, is a button marked ADD.
    If you click this button, another row is added allowing you to format the 7th line of data.
    Click again and you get a row for the 8th line and keep clicking to add more lines.
    I'm making a note of it here in case it is useful to someone out there who searches on this problem in the future.
    Edited by: user2052587 on Jan 6, 2010 2:45 PM

  • How can I label the peak in the waveform graph!

    Hello, my question is a little vague. I try to narrate it clearly.
    Thank you for your patience!
    I work with Labview 7.1. At a word, My question is how to label the
    peaks when using the while loop and the event structure with
    the dobule click event!
    1.Open the Why.VI and execute it.
    2.Click in the 'Acquire signal', then you will find two modes to upload
    the signals, press the 'Read' button and ignore the 'Sample',since 'Sample'
    mode need the support from the hardware, while 'Read' mode just upload file
    from disk,  select the 'Signal.txt'(inluded in the attachment), you will
    find two waveform shown in waveform graph,just like 'Pic1.jpg'. Up to now,
    there is no problem.
    3.Press on the 'Analysis' button and enter a new interface. Amplify the plot
    and selet the the a piece of waveform between about 3.02 and 3.06. Set the
    x coordinate of the 'Cursor 0' as 3.03 and set the width as 0.01. Move the cursor
    you will find two cursors(one vertical lines in yellow and another in blue).
    Double click the graph and select 'valley', two x coordinate values corresponding
    to the x coordinate of the two valleys are listed in the listbox. All above
    mentioned is shown in 'Pic2.jpg'.
    4.Let me explain my idea and my question now. What I have done is plot the waveform
    when clicking in 'Analysis' interface;then, amplify the waveform, select
    a certain area and move the cursors;at last, double click the graph, the waveform
    between the two cursors are selected and the peaks are identified.But, what I need
    next is to label the peaks in the graph as soon as I double click the graph,I
    can not realize this idea because the waveform is out of the while event, the coordinates
    of the peaks can not output until the while event is stopped. If I move the graph
    into the while loop,the selected area can not be keeped because the while loop will
    run continuously and will renovate the plot area to original area, but I want to keep
    the selected area for got the peaks conveniently. In short, My question is about how
    to label the peaks in the graph and keep the seleced area freely.
    This problem has puzzled me for a long time. May anyone give me some advice.
    Thank you for patience and really appreciate your help!
    BTWlease let me know if the VI can not run well!
    Attachments:
    Calculate velocity.vi ‏271 KB
    why.llb ‏389 KB
    Acquire.vi ‏213 KB

    Sorry, I try to compress the files in '.rar' ,but it is compatible with the web,I have to
    upload them in reply file.
    Attachments:
    signal.txt ‏684 KB
    Save file.vi ‏103 KB
    Get Waveform Time Array(0).vi ‏46 KB

  • Center the cursor on the Waveform Graph?

    I have a waveform graph where the user can adjust the scale on both the X and Y axes.  The "problem" that I am having is that if the scale's range is set too far from where the cursor is at, the cursor will be off screen and not selectable.  So, I am trying to center the cursor to the scale when the scale is changed or via a button.  Here is the code that I have written for one of the Cursor plots:
    Select Case setBlueCursor
    Case 1
    blueCursorPt.Plot = plotInlineTorque
    inlineTorqueMax = yAxisInlineTorque.Range.Maximum
    inlineTorqueMin = yAxisInlineTorque.Range.Minimum
    blueCursorStartY = (inlineTorqueMax + inlineTorqueMin) / 2
    blueCursorStartX = (XAxis.Range.Maximum + XAxis.Range.Minimum) / 2
    blueCursorPt.YPosition = blueCursorStartY
    blueCursorPt.XPosition = blueCursorStartX
     This code will center the cursor like I want but then I can't move the cursor after that as it is "stuck" at the position that I have coded it.  The problem appears to be with the last two lines of code here.   I do not know of any other way to do this though.  I have tried the "moveCursor" method but the end result ends the same way, with the cursor stuck in the center and can't move.  Any help on a solution?  Is there a better, easier way to do this?  I'm new to Measurement Studio and .NET. 
    Thank you

    This code works.  It appears that I was calling the subroutine that this code is located in over and over in another part of my program. 

  • How to connect with waveform graph?

    hi
      i would like to know how to simulate wave form graph the input is randon number ?My problem is i cannot connect with wave form graph...
    can u show me example..like using arrary...or something else..i looking forward ur reply
    thank u

    I have an example that you may want to look at here.
    The example was for a signal generator, but there is a waveform graph to show the selected waveform.  It is an extremely basic program, but might be a good start.
    RayR

  • 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

  • How do I get the reference numbers for cursors in a waveform graph (other than through an event structure)?

    I want to control cursors in a waveform graph programmatically.  I've tried using the "Cursor list" property, modifying the cursor clusters and writing the results back to the cursor list property, but this only works sporadically.  Modifying the cursors by ref number works well, but you have to get the refnumbers  from an event structure during a cursor event.  Is there any way to get cursor reference numbers aside from through an event structure?
    Thanks!

    Hi barryinbo,
    On the controls pallette, go to refnums> Control refnum>Control. Then right click the refnum and point to select vi server class>Generic > and you will see a cursor there. This will be a "loose typed refnum" but you can right click the refnum to include data type. An alternative is to drag a cursor to the refnum, this will make it strict typed.
    Hope this helps
    Chris Co.

  • Real time waveform graph in while loop

    Hi
    I have a VI which includes a subVI that reads data from an oscilloscope and presents the output in the form of a cluster made up of the initial time t(0), a time interval delta t and an array of voltage readings.
    This cluster can then be wired to a waveform graph in the usual way. All of this is situated within a while loop in my VI and on each iteration of the loop I obtain a waveform graph of the voltage readings starting at the same time t(0) and ending at the same time t. However I want my graph to begin at a time t(0) when I set my VI running and then continuously acquire and build up the data on each iteration of the while loop so after my VI has finished executing I have a complete graph of all the voltage readings acquired after the set number of iterations of the loop. I know on the Express X-Y Graph VI you can double-click the node and deselect the box that says 'clear data on each call' - if I could do this in my case that would be great but I can't use an x-y graph because I have an array of y-values to plot on each iteration.
    If anyone can help me out it would be much appreciated - I'm sure there must be an easy solution to this but I'm going out of my mind trying to find out what it is!
    Many thanks,
    Bex.

    As usual, you have several options.
    You can use an XY Graph by generating the X values yourself. This will ensure that you place the data exactly where you want it on the X axis. This is fast, but does involve a memory cost.
    You can use a Waveform Graph with a waveform input instead of the cluster you are using. Use the Build Waveform primitive instead of the bundler to make your waveform. Set the t0 values to the appropriate values (negatives do work, as do small numbers - time is in seconds, use the To Time Stamp primitive to convert from DBL to timestamp). Finally, you need to set the Waveform Graph to use the t0 values. Pop up on the Waveform Graph and make sure Ignore Time Stamp is not checked. Depending on your version of LabVIEW, you may have to pop up on the graph or the axis. When you unselect Ignore Time Stamp, you will probably want to reformat the X-axis again. The Waveform Graph clears data at each iteration, so you will need to replot all your data each time. Just create an array of waveforms and keep adding to it. The t0s will put the waveforms in the right places. Yes, this may cause memory problems.
    Finally, you can use the Waveform Chart, which does have memory. Create the waveforms like you did for the Waveform Graph and send them to the chart. It will remember what was sent to it from run to run. Make sure you set the Chart History Length (pop up on chart and select Chart History Length...) to long enough to hold your entire data. You can use a property node to get the data back at the end, if you need to.
    Good luck!
    This account is no longer active. Contact ShadesOfGray for current posts and information.

Maybe you are looking for