File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
xml-handler/src/resources/sweep Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 555555 step = self.slot_idx .. self.channel_idx .. " _step_step" ,
556556 waitall_steps = self.slot_idx .. self.channel_idx .. " _step_waitall_" ,
557557 step_notify = self.slot_idx .. self.channel_idx .. " _step_done" ,
558+ delay_sweep = self.slot_idx .. self.channel_idx .. " _step_delay_sweep" ,
558559 wait_sweep = self.slot_idx .. self.channel_idx .. " _step_wait_sweep" ,
559560 measure = self.slot_idx .. self.channel_idx .. " _step_measure" ,
560561 waitall_step_meas = self.slot_idx .. self.channel_idx .. " _step_other_measure_waitall_" ,
585586 step_source_complete_events)
586587 end
587588
589+ -- Adding step-to-sweep-delay --
590+ if sweep_source_event ~= nil then
591+ tm_add.delay.constant(self.trigger_model, block.delay_sweep, stepToSweepDelay)
592+ end
593+
588594 -- Notify other channels that the steppers are done stepping
589595 tm_add.notify(self.trigger_model, block.step_notify, self.event_source)
590596
13071313 local numberOfSteps = %STEP-COUNT%
13081314 local numberOfSweeps = %SWEEP-POINTS%
13091315
1310- local stepToSweepDelay = %STEP-TO-SWEEP-DELAY%
1316+ stepToSweepDelay = %STEP-TO-SWEEP-DELAY%
13111317
13121318 local nplc = %NPLC%
13131319
You can’t perform that action at this time.
0 commit comments