LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph Incrementing Need help

HELP!!!! I have a graph that I am using, and I am running into problems getting it to increment correctly. I want each major increment to be in steps of 5 no matter how large the scale is. I used property nodes to do this but when the scale gets so large it automatically changes my set increment of 5 to 10 or 20 or something larger. If I resize the graph it goes back to 5, but I cannot resize because it goes off the monitor. HELP!! I have attached the graph with a simple property node setting the increment to 5 with a max of 500 and min of 0
0 Kudos
Message 1 of 5
(2,756 Views)
Perhaps one of the NI people will enlighten us about the internal behavior of graph scaling. I seem to recall a discussion of similar nature several years ago. If I recall correctly there were limits to what could be done with scales so that they would display.

Plotting more than a few hundred points results in a graph so cluttered that the user cannot sort it out anyway and you end up with multiple points per pixel on the screen. Can you achieve what you want by selecting a region of interest and expanding it, perhaps in a separate graph? Then you could control the size of the selection and the display parameters while allowing the main display to autoscale to defaults.

Lynn
0 Kudos
Message 2 of 5
(2,757 Views)
I was afraid this might be impossible for labview. I was suprised however since I am replicating a labwindows graph, and not matter how many points it still increments by 5. I guess ill have to deal with 10 or 20 increments, just wanted it to look that same as the graph i am replicating. (you know how people hate change 🙂 )
Thanks,
Dave
0 Kudos
Message 3 of 5
(2,755 Views)
dirtyb,

After doing some experimenting on my own, it does look like there is a limit to how small the increments can be. Using the graph width from your VI, I created a loop and a control for the X Scale Increment. With 500 as the maximum, I could not get the spacing to be less than 15. With 200 as the maximum, I found the limit to be 6. It appears that the graphs from CVI and LabVIEW display slightly differently when it comes to the scales. Hopefully you can adapt without too much trouble.

JohnM
0 Kudos
Message 4 of 5
(2,756 Views)
Well, here is something that might help.
Right click on the X scale of the waveform graph/formatting than you if the setting is "Engineering notation", change it to "Floating point notation".
For me it helped (LabView 6i) and the X scale increment became smaller.
0 Kudos
Message 5 of 5
(2,586 Views)