Skip to content

USB2000: spec.intensities causes infinite loop (due to old FW) #48

Open
@aoabdelatif

Description

@aoabdelatif

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

screen shot 2017-06-05 at 11 12 47 pm

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions