Skip to content
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

Dual-channel spectrometer not implemented using USB #8

Closed
mattias42 opened this issue Nov 15, 2017 · 5 comments

Comments

Projects
None yet
2 participants
@mattias42
Copy link
Contributor

commented Nov 15, 2017

With the dual-channel spectrometer (S2000 series using ADC1000-USB) then it is not possible to collect data from the two channels simultaneously using the USB driver (Ocean Optics OmniDriver). The ability to do this isn't documented anywhere in the OmniDriver documentation.

@dnorgaard-usgs

This comment has been minimized.

Copy link
Contributor

commented Jan 4, 2018

On Thu, Jan 4, 2018 at 11:07 AM, Norm Hoffer norm.hoffer@oceanoptics.com wrote:
Hi Diana:

Thank you for contacting Ocean Optics.

The only way that you can get synchronized acquisiton from the two channels of an SD2000 is to place them into external hardware trigger mode, and then send the 5V TTL trigger signal to both channels simultaneously to begin their acquisitions.

http://oceanoptics.com/wp-content/uploads/External-Triggering-Options.pdf

http://oceanoptics.com/wp-content/uploads/S2000_Operating_Manual2.pdf

External Triggering is in Appendix F on pages 109-112.

http://oceanoptics.com/wp-content/uploads/OEM-Data-Sheet-S2000.pdf

Sincerely,

Norm

Norm Hoffer
Technical Application Engineer, Ocean Optics, Inc.
Email: Norm.Hoffer@OceanOptics.com
Tel: +1 727.733.2447

Ocean Optics Website

@dnorgaard-usgs

This comment has been minimized.

Copy link
Contributor

commented Jan 19, 2018

There does not appear to be a way to get the measurements of both channels simultaneously from the spectrometer. Still, it is desirable to support dual-beam measurements to see how well it would work if measurements are retrieved from the spectrometer serially. It looks like MobileDOAS writes the measurements out for both channels when enabled, but does not do the evaluation. Nor does the configuration tab allow for configuration of multiple channels. (It does have a drop down for Master/Slave, but ultimately only one set of references are written the configuration file and only one is used do evaluation.) This would need to be fixed. Once the program is capable of doing the evaluation, the output would need to be written to the evaluation log. Perhaps it is just a matter of writing additional columns for the Slave as it is for the Master. The Wind and Plume dialogs will need to be analyzed to determine the format it is expecting. These dialogs also don't appear to allow users to specify which portion of the measurements taken (e.g. start and end time) should be used for the calculations (it should not use all the measurements). However, there is a 'Start WindMeasurement', menu item under 'Control' menu on the main UI that may do the trick.

dnorgaard-usgs added a commit that referenced this issue Apr 13, 2018

@dnorgaard-usgs

This comment has been minimized.

Copy link
Contributor

commented May 24, 2018

Some minor quirks in the evaluation configuration dialog were fixed (and also modified to allow insert/remove of multiple reference files at once). Other changes in CSpectrometer::ScanUSB and elsewhere were made to fix issue with second evaluation log not being written when 2 channels are enabled. To configure, 2 fit windows are created (one for master and one for slave) and configured. The result is two evaluation logs being written and the UI looks something like this:

image

image

The Plume Height and Wind Measurement dialogs, however, seem to want both master and slave data written to the same evaluation log file. Some changes are required to allow it to read both eval logs and process the data.

@dnorgaard-usgs

This comment has been minimized.

Copy link
Contributor

commented May 24, 2018

Note, the changes does not support reading from both channels simultaneously as was originally desired. Data is read serially off of the spectrometer.

dnorgaard-usgs added a commit that referenced this issue May 24, 2018

Merge pull request #72 from dnorgaard-usgs/master
Memory improvements; support dual-channel spectrometer (#8)
@dnorgaard-usgs

This comment has been minimized.

Copy link
Contributor

commented May 24, 2018

New issue (#73) created for Plume Height and Wind Measurement dialog changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.