@@ -107,6 +107,13 @@ service AcquisitionService {
107107 option idempotency_level = IDEMPOTENT ;
108108 }
109109
110+ // Find the signal reader in use. This may have been configured by MinKNOW prior to a protocol being begun.
111+ //
112+ // Since 6.2
113+ rpc get_signal_reader (GetSignalReaderRequest ) returns (GetSignalReaderResponse ) {
114+ option idempotency_level = IDEMPOTENT ;
115+ }
116+
110117 // Set the bream information for the current acquisition.
111118 //
112119 // This should only be called by the protocol. It will only affect the last acquisition that was
@@ -401,6 +408,10 @@ enum AcquisitionState {
401408 // The acquisition period finished on its own and
402409 // did not report an error.
403410 ACQUISITION_COMPLETED = 3 ;
411+
412+ // The acquisition period is paused.
413+ // that is, no data transfer occurring.
414+ ACQUISITION_PAUSED = 4 ;
404415}
405416
406417enum AcquisitionStopReason {
@@ -452,10 +463,10 @@ enum StartupState {
452463 // Setting up data writers for outputting reads/files.
453464 STARTUP_INITIALISING_DATA_WRITERS = 5 ;
454465
455- // Initialsing storage for in flight reads.
466+ // Initialising storage for in flight reads.
456467 STARTUP_INITIALISING_INTERMEDIATE_DATA_STORAGE = 6 ;
457468
458- // Initialsing storage for run statistics.
469+ // Initialising storage for run statistics.
459470 STARTUP_INITIALISING_STATISTICS = 7 ;
460471}
461472
@@ -530,7 +541,7 @@ message AcquisitionYieldSummary
530541 // As above, but counted in bases rather than basecalls.
531542 TotalsPerDuplexCategory basecalled_pass_bases_split = 24 ;
532543 TotalsPerDuplexCategory basecalled_fail_bases_split = 25 ;
533-
544+
534545 // Number of raw samples which have been called.
535546 int64 basecalled_samples = 6 ;
536547
@@ -709,7 +720,7 @@ message AcquisitionConfigSummary {
709720 bool fastq_reads_enabled = 5 ;
710721 // Determine if pod5 reads were enabled for the run.
711722 bool pod5_reads_enabled = 22 ;
712-
723+
713724 // This field has been removed
714725 // Since 5.8
715726 reserved 6 ;
@@ -929,7 +940,7 @@ message AcquisitionRunInfo {
929940 // Set information provided by the Bream toolkit.
930941 BreamInfo bream_info = 15 ;
931942
932- // Target Run-Until Critiera , used to determine when the acquisition should be paused
943+ // Target Run-Until Criteria , used to determine when the acquisition should be paused
933944 // or stopped.
934945 //
935946 // Since 5.3
@@ -954,7 +965,10 @@ message SetSignalReaderRequest {
954965
955966 // Available signal reader types
956967 enum SignalReaderType {
968+ option allow_alias = true ;
969+
957970 HDF5 = 0 ; // Default value
971+ PLAYBACK = 0 ; // Renamed default value - playback can handle non-hdf file formats too.
958972 DEVICE = 1 ;
959973 }
960974
@@ -977,6 +991,20 @@ message SetSignalReaderRequest {
977991
978992message SetSignalReaderResponse {}
979993
994+ message GetSignalReaderRequest {}
995+ message GetSignalReaderResponse {
996+ // The type of signal reader to use
997+ SetSignalReaderRequest.SignalReaderType reader = 1 [(rpc_required) = true ];
998+
999+ // The following is only set if the signal reader is a playback source.
1000+ string playback_source = 2 ;
1001+
1002+ SetSignalReaderRequest.SourceFileMode playback_mode = 3 ;
1003+
1004+ float sample_rate_scale_factor = 4 ;
1005+ }
1006+
1007+
9801008message SetBreamInfoRequest {
9811009 // The information to set.
9821010 //
0 commit comments