ResultLogger.Open
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
ResultLogger.Open
Syntax
ResultLogger.Open( path, isOnTheFly, logInSeparateThread)
Purpose
Opens the results file you specify for writing and creates the file if it does not exist.
Parameters
path As String
[In] Specifies the absolute path of the file in which to store results.
isOnTheFly As Boolean
[In] Specifies to log results on-the-fly by calling the ResultLogger.LogOnTheFlyStepResults method. If you pass True , TestStand does not log results attached as subproperties of the uutResult parameter of the ResultLogger.LogPostUUT method because TestStand logs those values when you call the ResultLogger.LogOnTheFlyStepResults method.
logInSeparateThread As Boolean
[In] Specifies to write the results to the file from a separate thread. If you pass True , the ResultLogger.LogBatchDone , ResultLogger.LogBatchStart , ResultLogger.LogBegin , ResultLogger.LogEnd , ResultLogger.LogOnTheFlyStepResults , ResultLogger.LogPostBatch , ResultLogger.LogPostUUT , ResultLogger.LogPreBatch , ResultLogger.LogPreUUT , ResultLogger.LogUUTDone , and ResultLogger.LogUUTStart methods return immediately after queuing data to the writing thread.