ftsw500_interface_base
frog.hardware.plugins.spectrometer.ftsw500_interface_base
¤
Provides a base class for interfacing with the FTSW500 program.
Classes¤
FTSW500Error
¤
Bases: Exception
Indicates that an error occurred with an FTSW500 device.
FTSW500InterfaceBase()
¤
Bases: SpectrometerBase
Base class providing an interface to the FTSW500 program.
Source code in frog/hardware/plugins/spectrometer/spectrometer_base.py
13 14 15 16 17 18 19 20 21 22 |
|
Functions¤
connect()
¤
Connect to the spectrometer.
Source code in frog/hardware/plugins/spectrometer/ftsw500_interface_base.py
17 18 19 |
|
request_command(command)
abstractmethod
¤
Request that FTSW500 run the specified command.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
command
|
str
|
Name of command to run |
required |
Source code in frog/hardware/plugins/spectrometer/ftsw500_interface_base.py
29 30 31 32 33 34 35 |
|
start_measuring()
¤
Start a new measurement.
Source code in frog/hardware/plugins/spectrometer/ftsw500_interface_base.py
21 22 23 |
|
stop_measuring()
¤
Stop the current measurement.
Source code in frog/hardware/plugins/spectrometer/ftsw500_interface_base.py
25 26 27 |
|