Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

HORIBA Spectrometer/CCD Registry Error with LabVIEW

 

Hello,

I am a masters student at a lab and we are trying to make a scanning spectroscopy set up with HORIBA iHR320, Syncerity CCD, and a NI USB6003 DAQ with Thorlabs GVS002 all controlled via LabVIEW. HORIBA makes example VI’s and libraries (.zip attached to following post with manuals). We are using Windows 10 and LabVIEW 2018 32 bit (run with admin privileges) which have been confirmed to work by HORIBA support. Another software (Labspec 6) connects with the spectrometer and CCD no problem and both devices show up in Device Manager with the proper names and drivers etc.

Following the user manual and running JYAddDevice.vi goes smoothly (it can read the serial number from the spectrometer and CCD) and running GetMonosFromConfigBrowser.vi confirms that LabVIEW can populate the Mono and Unique ID fields.

The issue comes up in one of the .vi's called initMono.vi where after the pop up "Hardware not found Do you want to emulate?" the error code -2147467259 and message (screenshotted below) says "Failed to get registry key for component"

LabVIEW Windows Registry Error Code.png

Screenshot 2022-10-17 135515.jpg

Screenshot 2022-10-17 135559.jpg

Using probes and stepping through the initMono Block Diagram the error occurs at the IJYMonoReqd-Load block.

There is a similar error for the CCD which I am assuming is related.

 

Capture.JPG

Capture2.JPG

Capture3.JPG

 

I have reached out to HORIBA support and they have been prompt and responsive but have never seen the error before and can't reproduce it. Anyone have any ideas for things to try or test to narrow things down?

Thanks for your help with this puzzle! Have a great day everyone:)

 

PS: Some previous posts with similar problems that I have worked through and ruled out with HORIBA support. 

https://forums.ni.com/t5/LabVIEW/Error-SDK-Hardware-Key-Not-Found-while-migrating-from-Labview-to/td...

https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/ActiveX-control-of-a-Horiba-Jobin-Yvon-spect...

 

0 Kudos
Message 1 of 2
(1,043 Views)

Relevant VI's and libraries from HORIBA.

 

https://1drv.ms/u/s!AuatGruDhYOFvRoekx323LAbcTKm?e=3S2RK8

0 Kudos
Message 2 of 2
(1,002 Views)