Implemented and fixed many issues
This commit is contained in:
@@ -62,9 +62,10 @@ struct TriggerConfig {
|
||||
StreamString signalKey; ///< Full key: "src:sig" or "src:sig[i]"
|
||||
TrigEdge edge; ///< Rising / falling / both
|
||||
float64 threshold; ///< Trigger threshold (physical units)
|
||||
float64 windowSec; ///< Capture window length [1e-4 .. 10] s
|
||||
float64 windowSec; ///< Capture window length [1e-4 .. 60] s
|
||||
float64 prePercent; ///< Pre-trigger part of the window [0 .. 100] %
|
||||
TrigAcqMode mode; ///< Normal (auto-rearm) or single
|
||||
float64 holdoffSec; ///< Rearm delay after a capture [0 .. 60] s
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -149,7 +150,8 @@ inline TriggerConfig::TriggerConfig()
|
||||
threshold(0.0),
|
||||
windowSec(1.0),
|
||||
prePercent(20.0),
|
||||
mode(kTrigNormal) {
|
||||
mode(kTrigNormal),
|
||||
holdoffSec(0.2) {
|
||||
}
|
||||
|
||||
} /* namespace StreamHub */
|
||||
|
||||
Reference in New Issue
Block a user