public interface DataAcquisitionService
Modifier and Type | Method and Description |
---|---|
void |
acquireData(Device aDevice)
Acquires data from the given device.
|
void |
cancelAcquisition(Device aDevice)
Signals that the current acquisition should be cancelled.
|
boolean |
isAcquiring()
Returns whether or not this device controller is acquiring data.
|
void cancelAcquisition(Device aDevice) throws IOException, IllegalStateException
aDevice
- the device from which data should be acquired, cannot be
null
;IOException
- in case of I/O problems during the acquisition of data;IllegalStateException
- in case no acquisition is in progress.boolean isAcquiring()
true
if this device controller is currently acquiring
data (or waiting to start capturing due to a trigger),
false
otherwise.void acquireData(Device aDevice) throws IOException
aDevice
- the device from which data should be acquired, cannot be
null
;IOException
- in case of I/O problems during the acquisition of data;IllegalArgumentException
- in case the given device was null
.Copyright © 2015 L'Xtreme IT consultancy. All rights reserved.