05-07-2012 09:56 AM
We are using an iHR320 spectrometer with a Synapse CCD. The program to control the spectrometer is called Labspec5.
The spectrometer and camera are connected through USB.
When trying to connect via Labview some VI's are available from HYJ.
Connecting to the Spectrometer goes just fine using an ActiveX routine "JYMono Type Library Version 1.0"
Almost similarly it should be possible to use an activeX routine to connect to the CCD with an ActiveX routine called "JYCCD 1.0 Type Library Version 1.0"
This VI is always failing at the OpenCommunication method.
Maybe some camera information is missing (ccd1)
Although this problem is obviously not within Labview I hope a Spectrometer user will recognize this problem and can give some advice.
Thanks in advance,
Erik
Solved! Go to Solution.
05-07-2012 10:12 AM - edited 05-07-2012 10:14 AM
Are you sure you are calling the functions in the proper order? Are you sure Open Communications( ) is suppose to come after Load( )?
EDIT:
Do the LabVIEW drivers they provide not work? http://www.horiba.com/scientific/products/optical-spectroscopy/software/
05-08-2012 03:15 AM
It's to bad but I'm indeed using their VI's. So that can't be the problem. I assume the load() get's the right CCDsettings from registry and then try to connect with these settings.
However, I just tried with your proposal but unforunately that gives the same error.
It's installed on XP and LV2011 which can't be the reason as well for apparently this has proven to work.
05-08-2012 08:43 AM
Since this is a USB device, does it show up in Windows XP Device Manager?
05-08-2012 08:51 AM
Yet it does. Even nicely called image device.
The program to do simple (single) mm included in the setup is working fine. The problem is that I want to do lots of measurements >1000.
I keep on trying.
05-08-2012 09:01 AM
Yes, but your error has nothing to do with the lots of measurements you want to make. I can't see the other program you are mentioning.
05-08-2012 09:18 AM
Sorry but it appears I always seem to forget some information.
The setup on itself works fine without Labview. The automation part of the CCD with HJY standard VI's just refuse to work.
Don't know which DLL's are used to communicate and what settings are needed.
Anyway, thanks for thinking along.
05-09-2012 04:50 AM
Hello Erik,
The error you encounter when trying to control your CCD with ActiveX can have many causes.
Here are some hints:
- Did you try to run your code without the execution highlighting?
- You said you don't know what dll is used. But haven't you received any document regarding the ActiveX control from Horiba? Don't you know the parameters the ActiveX control needs with the version of the application you use? Any readme or helping documents in the Horiba package? In other words, are you sure the VI is written for the right version of the CCD soft you use?
- Have you a 32bit or 64bit system ? You can have issue if using a 64bit system.
- What do you know about the “uniqueid”? Don’t you have to set the specific ID of your CCD instead?
Also, can you post the exact error message?
I don’t have a precise view on how to solve your issue at the moment, but start by looking at those points above and let us know the evolution !
05-13-2012 06:05 AM
Succeeded !!
With some puzzling and a lot of luck I managed to get the right registry settings.
This was information I requested from HJY for months 😞
Thanks for support.
05-13-2012 09:53 AM
Care to share what the "registry settings" are and what else you did so there is a permanent record of this?