Run this VI as a background task. If logging is enabled, this VI logs simulation data. This VI can log either all samples continuously, or only the last N time steps worth of data. Set the Last Run control to True on the last iteration of the loop containing this VI to flush the remaining data in the log data buffer to file.
