LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3d graph inverted axis option gone

Solved!
Go to solution

I like to programattically invert the X and Y axis of a 3D plot to meet the orientation of my setup. In old versions of labview this was possible but now in 2013 this option seems to be gone. In the help of 2013 is mentioned a function called "axis:Range:Range inverted" but it is not there.

 

Does it return in a new update soon??

 

Regards,

Martin

0 Kudos
Message 1 of 6
(3,812 Views)

Hello Martin,

 

I was able to find the range inverted property node for 3D Graphs. Please see the images below.

3D Graph - Invert Axis Block Diagram.png

3D Graph - Invert Axis Front Panel.png

 

Let me know if this helps.

 

Regards,

Chinmay

Chinmay Anand Misra
CLD
Technical Marketing Engineer
NI IndRA
0 Kudos
Message 2 of 6
(3,795 Views)

Dear Chinmay,

 

Thank you for your fast and outstanding reaction. Due to your attached picture I found out that I have used a different 3D-surface graph VI. Mine VI icon had a green color instead of an orange. It can be found in the same palet but then with the name Surface Graph istead of surface. In the VI I had chosen there is not the option of inverting the axis for some reason. I am not sure what the difference is with respect to the "plot Helper (vector)" polymorf VI. In general I like to avoid these muli-functional VI`s when possible (memory issue...) That is problably why I had chosen for the "green"surface graph. Except for inverting the axis it does everything I need.

 

Thanks again. Maybe somebody of NI can comment on why and what is the difference between the two VIs?

Martin

Message 3 of 6
(3,782 Views)

... just to compleet: here is the picture of the situation...

0 Kudos
Message 4 of 6
(3,778 Views)
Solution
Accepted by topic author Martin_

Hello Martin, 

 

I am glad you were able to locate the property. The difference between the 2 garphs is that the 3D Surface Graph (which you were using) uses ActiveX and is supported only on Windows OS. The other graph (that I used) is more like a native LabVIEW control. The differences are detailed here.

 

I am not sure why the invert axis property is not exposed, or if it will be in future versions, but here is a quick work around. Place an ActiveX container on your front panel. Right click on it and select Insert ActiveX object. From the dialog box that pops up select CWGraph3D Control. This should give a similar 3D Graph on your front panel, as you are accustomed to use.

 

workaround FP.png

 

On the block diagram, you will get a 3D graph ActiveX reference. This you can use to manipulate the graph with the help of 3D Graph properties VIs (Functions Palette > Programming > Graphics and Sound > 3D Graph Properties). To invert the axis you can do something like this.

workaround.png

 

If you notice the data that you need to provide to plot remains same in your approach, and in this workaround.

 

Hope this helps.

 

Regards,

Chinmay 

Chinmay Anand Misra
CLD
Technical Marketing Engineer
NI IndRA
Message 5 of 6
(3,770 Views)

Many Thanks, Excellent support!!!

0 Kudos
Message 6 of 6
(3,763 Views)