LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems, Making OCX using CVI's controls(not CW) in MFC

Hi
I want to make an OCX using CVI's contorls(not CW)in MFC.
But I cna't create control in MFC's dialog form.
How do I using CVI's control in MFC?

-jecki
0 Kudos
Message 1 of 4
(3,304 Views)
Hello

You cannot drop CVI controls on an MFC dialog. You can only drop CVI UI controls onto a CVI UI panel. Is there a specific reason why you might want to use the CVI controls in MFC vs. Measurement Studio ActiveX controls ( like CWGraph, CWNumedit, etc) ?

Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 4
(3,304 Views)
Hi
Becouse I want to making an OCX using CVI's graph control.
CW's graph control impossble 'plotintensirty' command.
But CVI's graphcontrol is possble.
Have you are good idea?
If yes, how?
0 Kudos
Message 3 of 4
(3,304 Views)
Jecki,

You can use a 3D graph to display intensity data. You basically lock the 3D graph to be shown from the top.

The example Plotting Intensity Using a Measurement Studio 3D Graph Control demonstrates how to do this.

It may take some getting used to, but it will be much faster and much easier than creating an MFC ocx with CVI graph in it.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 4 of 4
(3,304 Views)