-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USB2000: spec.intensities causes infinite loop (due to old FW) #48
Comments
Mac OSX Sierra |
Hey aoabdelatif, can you try the same outside of spyder in a python interpreter and report back? All the best, |
Hey Andreas, Thank you for the speedy response. So would you recommend using IDLE? OSX Sierra -Adam |
Just open your anaconda python interpreter from the command line (Terminal). It's possible that spyder or idle do some extra things, that might interfere. |
Andreas, Here is a screen shot of what my terminal looked like after i ran the same functions as i did in spyder. Once used the spec.intensities() function, the same thing happened as before, the terminal line got hung up once again. (Ive been waiting for awhile and its still hung up) MacOSX Sierra 10.12.1 I really appreciate your help with all this, -Adam ps. |
Hmm, this is very strange. can you run this in your terminal:
then run python and run: import seabreeze
seabreeze.use('pyseabreeze')
import seabreeze.spectrometers as sb
devices = sb.list_device()
spec = sb.Spectrometer(devices[0])
spec.intensities() |
Hello Andreas, I think you can go ahead and close this issue. With a lot of trouble shooting, blood, sweat, and tears, i finally found the fix! It turns out, my USB2000 Ocean Optic Spectrometer never had the firmware updated. The firmware is required in order to run it on Mac, Windows 8, and Windows 10. The only way to get the firmware is to email Ocean Optics Technical Support and they will send you the update file with instructions on how to install the firmware on to your device. I successfully installed the firmware and now my spectrometer runs perfect! Thank you for all your help! -Adam |
HI Adam, |
Hey ap--
im new to python (experienced C and arduino user here).
anyways, im currently trying to get the intensity values from a USB2000 ocean optics device.
currently, it seems like everything is working. USB 2000 is detected, wavelengths seem correct and printed.
The problem is when i call spec.intensities, my command line goes into an infinite loop.
heres my code...
import seabreeze.spectrometers as sb
devices = sb.list_devices()
print(devices)
spec = sb.Spectrometer(devices[0])
spec.integration_time_micros(10000)
Wavelengths = spec.wavelengths()
print(Wavelengths)
value = spec.intensities()
print(value)
the command line just remains blank after it runs
im running Spyder from anaconda
image of command line
The text was updated successfully, but these errors were encountered: