Sense class
Constructors
-
Sense(String address, {ApiMode api = ApiMode.SCIENTISST})
-
ScientISST Device class
Methods
-
battery({int value = 0})
→ Future<void>
-
Sets the battery voltage threshold for the low-battery LED.
-
connect({dynamic onDisconnect()?})
→ Future<void>
-
Connect to the ScientISST device
-
dac(int pwmOutput)
→ Future<void>
-
Assigns the analog (PWM) output value (%ScientISST 2 only).
-
disconnect()
→ Future<void>
-
Disconnects from a ScientISST device. If an aquisition is running, it is stopped
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
read(int numFrames)
→ Future<List<Frame>>
-
Reads acquisition frames from the device.
This method returns when all requested frames are received from the device, or when a timeout occurs.
-
start(int sampleRate, List<int> channels, {bool simulated = false})
→ Future<void>
-
Starts a signal acquisition from the device.
-
state()
→ dynamic
-
Returns current device state (%ScientISST 2 only).
-
stop()
→ Future<void>
-
Stops a signal acquisition.
-
stream({int? numFrames})
→ Stream<List<Frame>>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
trigger(List<int> digitalOutput)
→ Future<void>
-
Assigns the digital outputs states.
-
version()
→ Future<String>
-
Gets the device firmware version string