Skip to content

Commit b0cfaeb

Browse files
authored
fix: inability to run _Sweep() multiple times (#60)
Needed to clear out the assigned event IDs whenever we initialize our system or else we run out of event IDs.
1 parent 90d1e2e commit b0cfaeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xml-handler/src/resources/sweep/MP5000Sweep.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,6 +1015,7 @@
10151015
---Initialize data such as the number of sweep steps per step, number of steps, and total number of points
10161016
---@param nodes NodesDef
10171017
local function Init(nodes)
1018+
UTILITY.event_ids = {}
10181019
local is_step = false
10191020
local is_sweep = false
10201021
if nodes.steps and nodes.steps[1] then

0 commit comments

Comments
 (0)