LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

the control is not the type expected by the function.

Solved!
Go to solution

hi!!

 

I'm creating a 3D graph with the library CW 3D graph 6.0.

I would like not to have an autoplot graph...and I'm searching how doing that...how can I put my values on the axis?

I tried with SetAxisScalingMode but it doesn't work...I have the error : the control is not the type expected by the function.

 

thanks

 

Adeline

0 Kudos
Message 1 of 3
(4,485 Views)
Solution
Accepted by topic author adeline62
SetAxisScalingMode is intended for standard UI graphs, which CW 3D graph isn't. This ActiveX control has a completely different programming interface and needs the integration of 3DGrpahCtrl.fp into the project. The instrument driver makes available all functions related to the 3d graph control. You can set axes scales for example with CW3DGraphLib_CWAxis3DSetMinMax ()


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(4,474 Views)

ok!!

 

thanks so much!!

 

Adeline

0 Kudos
Message 3 of 3
(4,472 Views)