AutoScale

Hello

I create a VI for the acquisition of the ECG signals. I've attached a screenshot of my VI. I have the following doubts.

I would be grateful if you could help me solve them.

1. I want to manual autoscaling of the y-axis i.e. Amplitude. This is it will be autoscale only when you click a button on the front panel. Can you please tell me how to do?

2. I want to setting "window period" on the front panel for adujusting the duration of the widow of axis X. How to do this?

Thank you.

(There are no screenshots in your message.)

Auto-scale once, you would use the 'Worthy ladder' ground cable with a 1 (0:do not autoscale, 1:Autoscale once now, 2:autoscale)

Put the property node within a case connected with a Boolean button closure structure.

To adjust the range of the x-axis, you can set the range with a property node.

Tags: NI Software

Similar Questions

  • AutoScale graphical wpf

    How can I autoscale graphical WPF on request? When you work with graphics WF, I used something like this (activate autoscale, then disable it):

    (Graph (AxisDouble). Axes [0]). Setting device = RangeAdjuster.FitLoosely;
    (Graph (AxisDouble). Axes [1]). Setting device = RangeAdjuster.FitLoosely;

    (Graph (AxisDouble). Axes [0]). Setting device = RangeAdjuster.None;
    (Graph (AxisDouble). Axes [1]). Setting device = RangeAdjuster.None;

    but chart WPF has no effect

    Immediately all the WPF Chart redraws the data when the Adjuster on a change in the axis. To do this manually, you can call the Refresh method on the chart. In your example:

    ((AxisDouble)graph.Axes[0]).Adjuster = RangeAdjuster.FitLoosely;

        ((AxisDouble)graph.Axes[1]).Adjuster = RangeAdjuster.FitLoosely;

        graph.Refresh();

        ((AxisDouble)graph.Axes[0]).Adjuster = RangeAdjuster.None;

        ((AxisDouble)graph.Axes[1]).Adjuster = RangeAdjuster.None;

  • Graph waveform control - limit lower and upper limit Autoscale

    The graph is a waveform their a way to define the lower limit of the graph Y to zero and then have it autoscale the Y maximum limit as a percentage of the maximum value of the graph (150% for example)?

    Direction of examples or read about a starting point would be great!

    Thank you

    Joe

    Ireland

    Turn off autoscale and put the max with a property node based on the max of the data table.

  • AutoScale after Zoom Pan and change the axis interval

    I'm trying to connect the axes x many ScatterGraphs and I was wondering how to restore the graphics to their original point of view drawn once a user has made a lot of zoom, pan and axis range chages.  Basically how do you perform an autoscale on one axis without having to cancel each operation individually.  In the old graphic activex controls, there is an AutoScaleNow function that has done this.

    Also, how to cancel a change of range that has been achieved through code?  If interactively modify you a range, it seems the SHIFT-RIGHT CLICK to cancel the operation.  If the event of range change is captured and applied to the other charts, it can not be canceled.

    Use ScatterGraph.ResetZoomPan () to cancel all zoom, pan and change of range in a scattergraph operations. This will cancel the range changes made in the UI, but not changes made through code. To changes in the code, you will have to manage undo operations. You can store the original lines and go back to those who, when necessary. Or you can force a re-AutoScale by changing the mode of scale axis as shown below:

    scatterGraph1.XAxes [0]. Mode = NationalInstruments.UI.AxisMode.Fixed;
    scatterGraph1.XAxes [0]. Mode = NationalInstruments.UI.AxisMode.AutoScaleLoose;
    scatterGraph1.YAxes [0]. Mode = NationalInstruments.UI.AxisMode.Fixed;
    scatterGraph1.YAxes [0]. Mode = NationalInstruments.UI.AxisMode.AutoScaleLoose;

  • No Autoscale with graphic hidden signals

    Hello

    I have a problem with the scales of a waveform graph. Joined a VI that illustrates this problem.

    The chart is placed on a tab - control, so it is sometimes visible, sometimes not.
    I feed the graph of waveform with sets of data of different wavelengths and amplitudes. For some reason I got off Autoscale. But after feeding the chart with the new data, via the property node I want the chart Auto-scale once, then I read the scales to do some calculations. If the chart is visible, everything is fine, but if the tab control - hides the graph, the balance isn't autoscaled.
    What would be the trick to autoscale the graph when hidden?

    Welcome, Dave

    The help of LabVIEW:

    Note  LabVIEW does not include hidden locations when you autoscale the axes of a chart or table. If you want to include the hidden when the plots you autoscale, make transparent hidden plots instead. Right-click the caption of the plot and select the color from the context menu to change the color of the plots.

    The above probably applies to charts that do not appear, although it is not said explicitly.

    As an alternative, you can:

    • AutoScale once this tab page is made visible.
    • Have another graph in a remote section of the front panel. Set to visible, but due to the size of the window, it is not in the frame. You can then copy the scales of this chart on the chart located on the tab page.
  • Graph XY - Autoscale + fixed margins

    Hello

    Total newb here.  I am currently draw a circle on a XY graph where the RADIUS can be changed, so I have the x and the y axis set to "Auto scale".  However, the autoscale makes the edge of the circle go right up against the edge of the high, low, right and left of the plot area limits.  I would like to add a 'margin', mainly for aesthetic purposes, so there is a certain fixed amount of space between the traced circle and the limits of the area of the plot. Hope it makes sense.  I enclose the photos that I created with autoscale OFF to try to help illustrate what I'm after here.  Any help or advice are appreciated.

    Kind regards

    Doug

    Hello Doug,

    You should be able to add a space of memory buffer by activating the option "Loose Fit" in the >>(x,y) right click menu of the scale.  This will be round the autoscale to multiples of the scale factors 'Multiplier' their value set in the property window of the scale.

    Of course, you will still need to make an informed decision about a multiple what good would be, and it depends on the range of sizes you will need to display.  If you need to go more granular or dynamic that allows (for example, always scaling the chart in 1,05 x the radius of the circle), then Yes, you will need to use the nodes property of graphic range.

    Kind regards

  • AutoScale is independently performed the current limits of the view.

    Hello

    I work with a ScatterGraph with the number of plots in it.

    When I put the YAxis AutoScale Mode, auto-scaling is performed independently of the graphics currently displayed.

    For example:

    If my graphics maximum peak value is 100 and the minimum value is 0, but the displayed range values range between 4 and 10, the graph will always evolve to 0-100.

    p.s. is there anything like the function AutoScaleNow() for c#?

    I use the "Measurement Studio 8.1.2.472"

    Thanks for help

    Danny,

    Measurement Studio does not provide a function to do what you are looking for. The solution that you cooked up with to examine all items displayed and find the Max and Min Y and then manually by setting the YAxis brought to these values chart is probably the best solution. I'll drop a suggestion for this feature to add to Measurement Studio product.

    Kind regards

    ADri Kruger

  • Adding button autoscale

    Hello

    Im trying to add an AutoScale button at two scales X & Y of my chart.

    I know not on the scale of click right and x, y of thing... but I wang user to have the AutoScale button.

    I also try this:

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=367797&query.ID=168419#M367797

    and vi that comes with it... but it doesn't seem to do the job.

    any suggestion?


  • AutoScale when there are two axes

    Hello:

    I use a TDMS drive to attract many plots of very different sectors. I'd like to autoscale for y-axis programmatically set properties using first and second y axis, but I can't find this well able to recognize my first or second axis. Just using materials Yscale.Yfit Im able to set autoscale just for the second y-axis, enough, but I want to do this also on the first axis.

    Any suggestion?

    Antonio

    Labview2011

    ... I found. The property is active's balance

    Good bye

  • Cannot scale manual setting of the time in the data view - returns to autoscale on track

    There was a similar post someone SignalExpress assessment but they have not answered follow-up questions.

    I can't set the time scale (x-axis) in the data view.  When I deactivate autoscale and manually enter a value, it seems to change, that it appears correctly in both the preview and the data display pane, until I hit, then it returns to the autoscale.

    It's maddening.

    The attached JPG illustrates this behavior.

    Hello

    To resolve this problem, you must right-click on the graph in the data view.  Select scale X"uncheck Autoscale.  Then, double-click most value and change the value for the value of low/high range for the desired field of view.  Change the scale of this way back not to Autoscale during execution.

  • I can't put autoscale to ignore zeros?

    Hi all

    I have a chart updated in a loop. In order to save memory, I don't build in the loop but set the size in advance and use the subset of table replace VI. The result is a 2D, of zeros and data table. I would like to autoscale the data part and ignore the zeros (which are not really given).

    For example, my table starts as a 100 x 100 zeros array. Then the rows are updated with the values between 6 and 7. I want the scale to be between 6 and 7 and ignore the zeros.  I tried to play with color tables, but I need something that will change as the addition of new lines, so that if the 50th line has an 8 in it he will see also. Is this possible?

    Thank you

    Danielle

    Try initializing with NaN.  NaN values are not plotted on a chart.

  • Link z scale graphical data without autoscale marker of intensity

    When directly change us the value of marker without autoscale, no change can take place on the route of the graph of the intensity of. So, how can we link the values of the scale marker z for the data displayed on the ground?

    To be more precise, because many people may prefer that they have the graph of the intensity for different sets of data with the same z scale so that they can very easily compare visually the value z-scale to compare the color. But for the different sets of data, they can get different and AutoScale will result in trouble for the same z scale.

    However, when deactivate us autoscale and just do the scale marker z the same, in fact the graph will be is more really connected with the plot and making it impossible to compare the values of z of the plot.

    I tried to change the beach instead of the brand, but it does not work for scale z that when we get a negative value for the location of marker z scale, the graph only get something very weird as only black and white.

    So, how can we define two graph of intensity at the same z scale and z scale and at the same time markers have the graph link to the data we have?

    Hi weirpenguin,

    Please see the new example. I changed it to LabVIEW 2009 and U8.

    If the graphic is U8, it means that data cannot be outside the range of 0-255 anyway, right?  U8 is only 0-255. Then why grow you to be larger than 0-255 range?

    Kind regards

  • Plot data erased on Autoscale

    I am currently working with a very simple VI which consists of a dial connected in a conspiracy with a relay between the two. The relay is controlled by a switch flip. The purpose of this configuration is that the plot display values for the wheel only when the switch is turned on. However, when I run the VI with the switch and start changing the value dial, I notice that every time the axis of the plot are obliged to autoscale, field data are disabled. When autoscaling is complete, only the values measured after that point are shown on the plot.

    How could help the plot disabled whenever occurs an autoscale?

    Any help would be appreciated.

    In fact, when I first watched this I figured it had to do with the table buffer, but I was not properly test it, it seemed as if the buffer table was not the factor. I realized that my test was wrong and see that it has to do with the size of the graphics buffer. When you fall behind set to zero the table buffer is simply fill too quickly and effectively be crushed too quickly. If you increase the graphics buffer for, say, 4096, then you will see the chart can follow even with the delay to 1 msec.

  • Only AutoScale upper limit

    Is there a way to autoscale only the upper limit of the axis Y of the XY graph.  I wish the lower limit set to zero.  I'm using LabView 9.0

    Thanks, Vitaliy

    I don't think you can do automatic scale in this way, but you can change the setting of the axis if a vi.  You can change your axis y max the most of your values of y + a shift.

    Yik

  • Is it possible to add some offset on the scale of a graph Y when autoscale mode.

    Hi all

    I'm drawn on a graph of waveform autoscale mode. I want to be a disconnect on the side upper and lower scale Y. is it possible to implement this.

    Thanks in advance,

    Karine

    The only way that came to my mind is to autoscale by yourself:

    -Find the min and max (vi ready for this)

    -Add a percentage of the range min and max

    -Optionally constrain the new min, max accordingly to a round number (according to log (range))

    -Scale set with properties

    Another way:

    Add a plot with the same data (or only the min and max points) with transparent colors and multiply these data with 1. XX (xx percentage extra Beach)

  • Let the autoscale to ignore certain plots

    Hi all

    I want to let the Autoscale to ignore certain plots.

    The idea is to add dashed to 0 100 400 and 800 lines, so I added plots with these constant values.

    But I don't want the autoscale to keep the 800 if actual data are well below this value, as it reduces my 'resolution' from view.

    No idea how to do this?

    Thanx

    You can disable autoscale and property node allows you to change the max scale automatically.

Maybe you are looking for