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
Closed

Dual-channel spectrometer not implemented using USB #8

mattias42 opened this issue Nov 15, 2017 · 5 comments

Comments

@mattias42
Copy link
Contributor

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.

@dlnorgaard
Copy link

On Thu, Jan 4, 2018 at 11:07 AM, Norm Hoffer [email protected] 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: [email protected]
Tel: +1 727.733.2447

Ocean Optics Website

@dlnorgaard
Copy link

dlnorgaard 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.

dlnorgaard pushed a commit that referenced this issue Apr 13, 2018
@dlnorgaard
Copy link

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.

@dlnorgaard
Copy link

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

dlnorgaard pushed a commit that referenced this issue May 24, 2018
Memory improvements; support dual-channel spectrometer (#8)
@dlnorgaard
Copy link

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
Projects
None yet
Development

No branches or pull requests

2 participants