69 bool sustain(
const timespec& ts);
76 class AcquireCompiler;
Links a script to a script interpreter derived instance.
Definition ScriptLink.h:12
Template to make the sustain system call a class method regularly.
Definition Sustain.h:184
Definition MeanderScanMethodScript.h:9
AcquireScript()
Constructor that needs a compiler or derived class.
ECommand
Available command to execute.
Definition MeanderScanMethodScript.h:20
@ acSAVE
Definition MeanderScanMethodScript.h:31
@ acSAVE_SET
Saves current settings and system parameters as they are right now. Also stops the acquisition.
Definition MeanderScanMethodScript.h:28
@ acOFF
Set acquisition so that no data is generated.
Definition MeanderScanMethodScript.h:22
@ acACQUIRE
Enable the devices to acquire data.
Definition MeanderScanMethodScript.h:26
@ acFREE_RUN
Set acquisition into running mode for no data storage.
Definition MeanderScanMethodScript.h:24
EState GetState()
Gets the current state.
EState
Stages for acquiring data.
Definition MeanderScanMethodScript.h:43
@ asWAITING
Waiting for command to finish.
Definition MeanderScanMethodScript.h:49
@ asACQUIRING
The acquisition device is acquiring data which can be stored.
Definition MeanderScanMethodScript.h:53
@ asRUNNING
The acquisition device is acquiring data which cannot be stored.
Definition MeanderScanMethodScript.h:51
@ asERROR
A command resulted in an error state.
Definition MeanderScanMethodScript.h:45
@ asOFF
Acquisition device is off and generates no data.
Definition MeanderScanMethodScript.h:47
@ asSTOPPED
The acquisition device has stopped and data can or is being saved.
Definition MeanderScanMethodScript.h:55
bool Execute(ECommand ac)
Execute a given acquisition ac command.
Definition LineScanMethod.h:6