confuted Posted July 25, 2007 Report Share Posted July 25, 2007 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) Quote Link to comment
TG Posted July 25, 2007 Report Share Posted July 25, 2007 .......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. Quote Link to comment
Grampa_of_Oliva_n_Eden Posted July 25, 2007 Report Share Posted July 25, 2007 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 Quote Link to comment
Yair Posted July 25, 2007 Report Share Posted July 25, 2007 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. Quote Link to comment
Ton Plomp Posted July 25, 2007 Report Share Posted July 25, 2007 QUOTE(Ben @ Jul 24 2007, 07:22 PM) The only simple solution I can offer is to shut off the grid for all but one of the scales. 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 Quote Link to comment
confuted Posted July 26, 2007 Author Report Share Posted July 26, 2007 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? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.