Jump to content

Autoscaling on multiple scales with a waveform graph


Recommended Posts

I have a waveform graph with three scales on it. Each is set to autoscale (as is the x-axis). The data comes in from an oscilloscope. I'd like to keep the autoscaling, but have the number of tick marks on each axis remain constant (or do something sensible) so that I don't get a mess of horizontal lines from the three grids. You can see what I'm talking about in the attached picture. Is there a way to do this, preferably with some settings (rather than code that would have to go into already complicated VIs)? Thanks,

Matt

http://forums.lavag.org/index.php?act=attach&type=post&id=6441

(in the future, the third line will actually have some data too, but the sensor isn't connected at the moment)

Link to comment

.......there a way to do this, preferably with some settings (rather than code that would have to go into already complicated VIs)? Thanks,

Matt

http://forums.lavag.org/index.php?act=attach&type=post&id=6441

I doubt you can set attributes on front panel and have them autoscale AND stay nice and clean looking.

Best you can hope for is to know in advance what ranges are needed and set it up static.

Link to comment

QUOTE(confuted @ Jul 24 2007, 12:57 PM)

... preferably with some settings (rather than code that would have to go into already complicated VIs)? ...

It would be nice to do this with just a setting but I do not know of one.

Even an outline of the code to do this would take some time to type up.

The only simple solution I can offer is to shut off the grid for all but one of the scales.

Anyone have a better idea?

I'd love to hear it!

Ben

Link to comment

Two options, off the top of my head:

  • Disable the grid lines for two of the scales. You can do this in the graph properties or using property nodes.
  • Use a picture control to display the graph and add the lines yourself. The picture control palette has a palette for creating graphs.

I would go with the first method. You just need to decide which scale will be best.

Link to comment

QUOTE(Ben @ Jul 24 2007, 07:22 PM)

QUOTE(yen @ Jul 24 2007, 08:02 PM)

Two options, off the top of my head:
  • Disable the grid lines for two of the scales. You can do this in the graph properties or using property nodes.


Third that,

besides that there's a new property (8.2/8.0?) that limits the time between two consequitive down-rescales. So that if your data goes from 8 to 2 to 1 to 4 the downscale to 1 is dismissed.

Ton

Link to comment

I've turned off two of the grids for now, which helps the appearance, but it's still somewhat annoying as it makes reading the graph more difficult - the grid only corresponds to one scale, and you have to guess in-between the lines for the others.

tcplomp (last post), I don't see where you're going with the rescaling time thing. Is there a way to use that for what I want?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.