Skip to content

Commit 6f8af08

Browse files
committed
ASSERT/ASSERT_TS: Output time with milliseconds precision
1 parent ccd9675 commit 6f8af08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Packages/MIES/MIES_Utilities_ProgramFlow.ipf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Function ASSERT(variable var, string errorMsg, [variable extendedOutput])
236236
print stacktrace
237237

238238
print "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
239-
printf "Time: %s\r", GetIso8601TimeStamp(localTimeZone = 1)
239+
printf "Time: %s\r", GetIso8601TimeStamp(localTimeZone = 1, numFracSecondsDigits = 3)
240240
printf "Locked device: [%s]\r", RemoveEnding(lockedDevicesStr, ";")
241241
printf "Current sweep: [%s]\r", TextWaveToList(sweeps, ";", trailSep = 0)
242242
printf "DAQ: [%s]\r", TextWaveToList(daqStates, ";", trailSep = 0)
@@ -327,7 +327,7 @@ threadsafe Function ASSERT_TS(variable var, string errorMsg, [variable extendedO
327327
print stacktrace
328328

329329
print "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
330-
printf "Time: %s\r", GetIso8601TimeStamp(localTimeZone = 1)
330+
printf "Time: %s\r", GetIso8601TimeStamp(localTimeZone = 1, numFracSecondsDigits = 3)
331331
printf "Experiment: %s (%s)\r", GetExperimentName(), GetExperimentFileType()
332332
printf "Igor Pro version: %s (%s)\r", GetIgorProVersion(), GetIgorProBuildVersion()
333333
print "################################"

0 commit comments

Comments
 (0)