From cdd238e204cca92e84825acaf0ab150d7ac2e13a Mon Sep 17 00:00:00 2001 From: Martino Ferrari Date: Fri, 6 Feb 2026 11:59:27 +0100 Subject: [PATCH] added trigger --- .../Configurations/src/thread5/dio_dan_writer.marte | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/EC-GN-JA-PCF-IN/src/main/resources/qst-gyrotron-fast-controller/Configurations/src/thread5/dio_dan_writer.marte b/EC-GN-JA-PCF-IN/src/main/resources/qst-gyrotron-fast-controller/Configurations/src/thread5/dio_dan_writer.marte index fc0d25d..97884b2 100644 --- a/EC-GN-JA-PCF-IN/src/main/resources/qst-gyrotron-fast-controller/Configurations/src/thread5/dio_dan_writer.marte +++ b/EC-GN-JA-PCF-IN/src/main/resources/qst-gyrotron-fast-controller/Configurations/src/thread5/dio_dan_writer.marte @@ -9,9 +9,14 @@ CPUMask = 15 StackSize = 10000000 DanBufferMultiplier = 4 - StoreOnTrigger = 0 + StoreOnTrigger = 1 ICProgName = @app_name + NumberOfPreTriggers = 0 + NumberOfPostTriggers = 0 Signals = { + Trigger_DAN = { + Type = uint8 + } PXI6528_Status_SAMPLES = { SamplingFrequency = @fast_clock NumberOfElements = @dan_ratio @@ -165,6 +170,9 @@ +DANDIOPublisherGAM = { Class = IOGAM InputSignals = { + TRIGGER_DAN = { + DataSource = EPICSCAInput + } PXI6528_Status = { DataSource = SynchThread Samples = @dan_ratio @@ -284,6 +292,9 @@ } } OutputSignals = { + Trigger_DAN = { + DataSource = DANDIODataSource + } PXI6528_Status_SAMPLES = { DataSource = DANDIODataSource }