Skip to content

Commit 796a74c

Browse files
committed
SCOPE: Add code comment to TP loop in SCOPE_UpdateOscilloscopeData
1 parent 199328d commit 796a74c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Packages/MIES/MIES_Oscilloscope.ipf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,9 @@ Function SCOPE_UpdateOscilloscopeData(string device, variable dataAcqOrTP, [vari
557557
DEBUGPRINT("tpChannels: ", var = tpChannels)
558558
DEBUGPRINT("tpLength: ", var = tpLengthPointsADC)
559559

560+
// In TP mode the loop only runs once. Only the last TP is evaluated for ITC and SUTTER.
561+
// For NI the caller loops over all pending TPs.
562+
// In DAQ mode all TPs are evaluated in this loop
560563
for(i = tpStart; i < tpEnd; i += 1)
561564

562565
tpInput.measurementMarker = tpMarker[i - tpStart]

0 commit comments

Comments
 (0)