LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX call a function

Hello,
 
i'm a beginner with activx.
I include an activex applikation on the userpanel.
For init i must sent some values to the activex-tool.
example:
 
PmBusSrv1.Init (iErr,iComNr,iPmType);
edPmErrNr.Text := IntToStr(iErr);

But i didn't know how to use it.
Can me help somebody.
 
thanks
0 Kudos
Message 1 of 2
(2,958 Views)
First, read the section Programming with ActiveX controls in the CVI help. The few minutes you spend doing that will be well worth it.

Then, use the ActiveX controller wizard (Tools|Create ActiveX controller...) to create a function panel for the control. This fp will contain all the functions you need (methods, property put/get functions, and event callback registration functions) to allow you to program the control.
--
Martin
Certified CVI Developer
0 Kudos
Message 2 of 2
(2,936 Views)