LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Graph Default Data and equal scale? Another 3D graph question...

Hi all,
 
I'm using a 3D Parametric graph to display x,y and z data.  I've been setting paramters for the graph display using property nodes.  Somehow now when the VI is running it displays fine, when the VI stops the display reverts back to display some old data and not the data that was just being shown.  I can't find a property node that might control this (the 'make this default' on the menu is disabled so how did i do it in the first place?!) - basically I want the graph not to change it's display when the VI is stopped. (i.e. so you can carry on looking at it - I relaise you won't be able to move it around etc).
 
The next issue is to fix the scale of the x and y axis relative to each other, i.e to keep the precise aspect ratio of the data.  Can this be done easily (basically 1 unit on the x axis is the same length on the plot as 1 unit on the y)?
 
 
Many Thanks for any help,
 
Chris
0 Kudos
Message 1 of 5
(2,975 Views)

Please take a look at this thread to find an example that works with advanced 3d graph functionality including scale manipulation. Here is a preview.

Your "reverting back issue" is not clear and I have never seen that behaviour. I could imagine an issue with your code doing that but I would only be speculating. Please post code that demonstrates this issue and we may be of more hlep.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 5
(2,964 Views)
Hi,
 
Thanks, I had actually seen that but thought it wasn't what I wanted.  however it seems to work as long as I set up the view parameters (as you can see when the vi runs it is way up in the far corner).  The only problem is the size of the cursor when zoomed in to the whole contour plot (It doesn't go below size 1).
 
The reverting back issue - If you run the VI continuously, zoom into the contour plot and center it and then stop the vi the display reverts back to an old data set (you can see the sector is centered on the left hand edge when the vi has stopped and when running it is truly centered).
 
Cheers
Chris
0 Kudos
Message 3 of 5
(2,950 Views)

Hi,

 

Has anyone got any ideas - I found another thread with someone wanting to clear the data because his grpah displays the the current data even when the vi is stopped (this is what I want!).  Why does my graph default to some old data?!

 

Cheers

Chris

0 Kudos
Message 4 of 5
(2,935 Views)

Hi,

 

I think the attached VI gives better equal scales for this type of data set.  However it still only works if the graph container is square! Is there a way around that?

Just need to sort the reverting backissue...

 

Chris

0 Kudos
Message 5 of 5
(2,931 Views)