LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ocean Optics OceanHDX spectrometer driver.

Hi a.texer,

 

Great, thanks for solving the issue!!!

 

But: I don't know how to add the .NETwrapper node on my block diagram... Adding InvokeNode from the .NET palette is labeled .NET only , and when linked to the OceanOptics reference, changes to OceanOptics.

 

Where to you get the .NETWrapper element from, which palette??

 

Best,

Jorro

0 Kudos
Message 21 of 23
(607 Views)

Make sure that correct OmniDriver is installed:

https://www.oceaninsight.com/support/software-downloads/omnidriver-and-spam/

 

.NETwrapper node can be copied/pasted from the VIs in the archive or created from scratch using .NET invoke node.

 

See below.

VIs are also attached.

 

atexer_0-1654046072724.png

atexer_2-1654046228644.png

 

 

 

0 Kudos
Message 22 of 23
(594 Views)

I found something might be solving this problem.

After closeDevice method, the shutDown method should be also called. Since then I do not suffer the crash anymore. It was very reproducible on my system, LV18 64bit, OceanDirect 2.4.0, SR4 spectrometer.

UFI_Garching_0-1716994100974.png

 

0 Kudos
Message 23 of 23
(163 Views)