LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview and ole-server

Hi,
 

I need information about the activation of an "OLE server" via Labview.

This server is activated without any problems by using the "CreateObject ("servername")" command within the Excel and Visual Basic environment and all methods are available. I tried an automation-refnum to find the server in the Labview Library - without any success.

How might I realise this Labview Problem?

Thanks

Alex

0 Kudos
Message 1 of 4
(2,769 Views)
Hi BSS

OLE is only renamed to ActiveX by Microsoft. 
So you can communicate with the "OLE server" over ActiveX.

for more information see the following link

-> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaxctrl/html/msdn_actxcont.asp

You can find a lot of examples about ActiveX communication in the LV library.

Lars
0 Kudos
Message 2 of 4
(2,744 Views)

Hi Lars,

thank you for your answer, but i do not see the registration in the type library.

How do i get this information?

Thanks

Alex

0 Kudos
Message 3 of 4
(2,733 Views)
Hi BSS

Your ActiveX device must be registerd in windows.
Than you can create for example an ActiveX Container.
Open the context menu by right-clicking and  select "Insert ActiveX Object ..."
Is your ActiveX device not listed there. Choose "Create Object from File"
instead of "Create Control"
and directly select it

I give you some attachements to visual the actions.

Lars
0 Kudos
Message 4 of 4
(2,727 Views)