Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX liabry shows neither properties nor methods

Hi everybody,
the situation:
I'm the first time here and would like to ask for some help...
I want to control a fluorescencespectrometer of HORIBA Jobin Yvon (Fluoromax 4P) with LabView 8.2.
The original software provides some dll-files with wich I can comunicate with the system via ActiveX. One of these dll's (JYMono.dll) I'm able to work with, open a refnum and call their properties and methods.
 
And now the problem:
I have to open also an other dll-file (Single Chanel Detector.dll), to access also their properties and methods. I'm able to create and open an automation refnum out of it, but I cant access thier properties and methods. If I connect a property node or an invoke node, only a grey "no methods" or "no properties" is shown. Other programms like the ActiveXplorer software show me all the properies and methods I want to use, so they are definitely inside.
 
Please see the attachement for the mentioned files.
 
Why can LabView not work with this dll-libary? Is it a problem of the dll-file? What can I try, to access it?
 
Many thanks in advance for any suggestion about my problem.
Matthias
0 Kudos
Message 1 of 5
(4,085 Views)
Hi mathiasfunke,

how did you realize your DLL-calls? It would be good if you could send a little example VI.

Would it be a solution for you, if you use the "Call Library Function Node"? This node is created for including functionalites of DLLs directly into LabVIEW.
National Instruments
District Sales Manager
0 Kudos
Message 2 of 5
(4,066 Views)
Hi oyster,
 
please find attached a VI that shows you how I call the JYmono.dll and access their propertys and methods to communicate with the Monochromator of my Spectrometer.
You can find there also the analog try for the Single chanel Detector.dll to communicate with the detector of this device. It doesn't work.
I tryed also your suggestion with the "Call libary functions node", but strangely enought I cant call any function neither from the one nor from the otehr dll. Maybe I do something wrong here!?
 
Hope you can give me any suggestion with the example I show you as attachement, because I have no idea wat's going wrong.
 
Thanks and best regards
Matthias 
0 Kudos
Message 3 of 5
(4,060 Views)
Hi Matthias,

unfortunately I'm not able to get the methods and properties from both DLLs.

Do you have more informations about the DLLs, perhaps header files, that provide more informations?
National Instruments
District Sales Manager
0 Kudos
Message 4 of 5
(4,046 Views)

Hi oyster,

I wrote some e-mails to the developers of teh original software. They made some changes (don't ask me which) at the dll-file, and now it works.

Thank you for your replies and suggestions.

Regards, Matthias

0 Kudos
Message 5 of 5
(3,963 Views)