state method
dynamic
state()
Returns current device state (%ScientISST 2 only).
Parameters
void
Returns
state : State Current device state
Exceptions
DEVICE_NOT_IDLE
: if the device is in acquisition mode.
CONTACTING_DEVICE_ERROR
: if there is an error contacting the device.
Implementation
/// Returns
/// -------
/// state : [State]
/// Current device state
///
/// Exceptions
/// ----------
/// [DEVICE_NOT_IDLE] : if the device is in acquisition mode.
/// [CONTACTING_DEVICE_ERROR] : if there is an error contacting the device.
state() async {
// TODO
}