Skip to content

Commit f74ca5d

Browse files
committed
ASSERT/ASSERT_TS: Output time with milliseconds precision
1 parent c02b5fa commit f74ca5d

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
@@ -234,7 +234,7 @@ Function ASSERT(variable var, string errorMsg, [variable extendedOutput])
234234
print stacktrace
235235

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

325325
print "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
326-
printf "Time: %s\r", GetIso8601TimeStamp(localTimeZone = 1)
326+
printf "Time: %s\r", GetIso8601TimeStamp(localTimeZone = 1, numFracSecondsDigits = 3)
327327
printf "Experiment: %s (%s)\r", GetExperimentName(), GetExperimentFileType()
328328
printf "Igor Pro version: %s (%s)\r", GetIgorProVersion(), GetIgorProBuildVersion()
329329
print "################################"

0 commit comments

Comments
 (0)