LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ocean Optics USB4000 Spectrometer

I think the change away from this behavior was implemented in 2010 with firmware version 3.00.03.

 

 

0 Kudos
Message 211 of 286
(2,428 Views)

Ok. my spectro is working again thanks!

 

 

0 Kudos
Message 212 of 286
(2,418 Views)

Hi everyone,

I am trying to use Omnidriver with Labview.
Everytime I want to use a wrapper, I have error message : error 1907,  "An exception occurred within the external code called by a Call Library Function Node. The exception might have corrupted the LabVIEW memory. Save any work to a new location and restart LabVIEW."

I am using labview 2011 SP1 32bit. I had the same error on two different computre, one was Windows 7 64bit and the other Windows XP 64bit.

 

Anyone already had this error? I could not find much info on google...

Thanks

 

 

0 Kudos
Message 213 of 286
(2,340 Views)

Can you give any more details on this?  "Everytime I want to use a wrapper" ???  Which function call throws this message?  Please give us the order of functions you are calling before error is thrown  Are you using the vi's provided by Ocean Optics or rolling your own?  Also be careful that if you are using 32 bit labview you must also use 32 bit omnidriver.  If using 64 bit labview you must use 64 bit omnidriver.

0 Kudos
Message 214 of 286
(2,322 Views)

Hello Jean_bon,

 

Thanks for posting at NI forums! Do you know if the DLL by itself works properly? I searched on this subject and I found a similar case in which the error was related to an array was not initialized before going into the Call Library Function node.

 

Regards,

 

Alina M. 

0 Kudos
Message 215 of 286
(2,322 Views)

Everything works fine now! It was because I installed 64bits version of omnidriver.
Thanks you for your help

0 Kudos
Message 216 of 286
(2,306 Views)

Actually I spoke too fast, it doesn't work on my windows XP 64 computer. 

But now it is a different problem: when I launch a labview VI from omnidriver, for example 'SpectrometerTest' the Wrapper which open all spectrometer cannot detect my spectrometer (USB400): the output is 0.
 

 

I now run labview 32bits, I installed omnidriber 32bits and run on windows xp 64bits

 

0 Kudos
Message 217 of 286
(2,298 Views)

Hi

I really advice you to use the native labview driver that can be found in the Instrument driver library from NI.

Search for oean optics and follow the advises in the reame.html.

Especially because you already have installed the omnidriver. The way to switch between the drivers is correctly described in this readme.

 

All overhead is gone and the driver works nicely.

greetings from the Netherlands
0 Kudos
Message 218 of 286
(2,278 Views)

I did use the native NI driver but it does not work, so I tried Onmidriver and it still doesn 't work...

0 Kudos
Message 219 of 286
(2,262 Views)

Is the instrument detected by one of the two software systems?

if not try this on another machine. If thatine also does not recognise the instrument: .contact your distributor. Sometimes a bad usb connection can wipe the firmware.

 

greetings from the Netherlands
0 Kudos
Message 220 of 286
(2,253 Views)