LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a com server develpped in python

Hi,
 
I am trying to use a Com server, developped with python to communicate with an equipment.
The server is working fine if  called from VBScript ex:
Set device = CreateObject("My_server")

msg = device.DetectTactic(NomTACTIC,portCom).
 
I have tried through the ActiveX AutomationOPen, but my Com server doesn't appear in the List.
How can I correctly register this Server (I have only done a regsvr32 Path/Myserver.dll command)
 
Any help will be welcome.
 
Best regards
 
Marc Baulin
 
0 Kudos
Message 1 of 2
(2,592 Views)
Hi,
 
To select an ActiveX, you have to place an refunum automation on your front-panel and then right click >> Select ActiveX class >> Browse. Your server should appear in the list.
 
On the follow link, you will find how manually Register Type Libraries, ActiveX Controls, and ActiveX Servers :
 
Hope its help.
Regards,
 
Isabelle
Ingénieur d'applications
National Instruments France
0 Kudos
Message 2 of 2
(2,582 Views)