02-05-2007 08:52 AM
I am trying to use an external application (123.exe) as ActiveX server using with the 'automation open' module. (Labview8.0)
Unfortunately the application is not directly in the list of library types.
The application is an executable and with VB the methods are working as expected.
I think that in the registry the settings are correct.
(My computer\HKEY_CLASSES_ROOT\CLSID\{ B3015EF4-39AB-11D5-B174-0060970DEA11}
A way to start the object in Visual basic:
Public Umap123 As Object
Private Sub Form_Load()
Set Umap123 = CreateObject("Micromap123.Instrument")
End Sub
Is there any possibility of using this directly in Labview or should I write in VB or C++ a new .dll?
02-06-2007 03:55 AM
Hello,
Can you take a look at the following Knoledge Base to see if the metioned steps solve your issue?
http://digital.ni.com/public.nsf/websearch/4F811A9B23F1D46E862566F700615B7A?OpenDocument
Regards,
RikP - National Instruments Applications Engineering
02-09-2007 03:02 AM
02-13-2007 02:44 AM
Dear Erik,
Does LabVIEW accept the 123.exe when you browse to it from the Select Object from Type Library Dialog? Using browse, you should change the file type to all files.
Just to verify running 123.exe /Register was succesful?
You could try and first do 123.exe /Unregister and the register again it again with 123.exe /Register
Does the server show up in the VB COM list? this is basicly the same list that LabVIEW Shows.
Hope this Helps
Thanks
Karsten
02-13-2007 05:20 AM
Dear Karsten,
I tried to link to the 123.exe with select object browsing. That one did not work.
In the VB COM list it does not show up after using the /register and /regserver arguments.
Maybe its something basic like a filename with only numbers.
Well, I will use a VB application in Laview to control the program.
Thanks for support.
06-05-2008 08:40 AM
Hi Erik,
could you solve the problem you describe above? I'm facing exactly the same problem now. Please give me some feedback.
Thanx
06-05-2008 09:52 AM
Hello Michael,
Unfortunately I did not manage to get it running in Labview. With other programs like catman from HBM the trick with /regserver works well (see installation procedure below). I think the software was to old and these COM applications might not run in activeX.
Well, good luck with your problem.
To be able to use activeX catman server should be registered.
If not registered automatically run:
C:\program files\catman32\catman.exe /regserver
(registration only visible in Labview)
Open activeX reference : browse
HBM catman application version 44.0
catman._catInterface (catman.ACQInterface)