StartLogging
Syntax
void startLogging();
void startLogging(char strLoggingBlockName[]);
void startLogging(char strLoggingBlockName[], long preTriggerTime);
Function
Starts all Logging Blocks immediately bypassing all logging trigger settings.
Starts a Logging Block with namestrLoggingBlockNameimmediately bypassing all logging trigger settings.
Starts a Logging Block with namestrLoggingBlockNamebypassing all logging trigger settings. Function also sets a pre-trigger time to a value of thepreTriggerTime.
Parameters
strLoggingBlockName Name of the Logging Block.
preTriggerTime
Pre-trigger time interval in ms.
Return Values
—
startLogging();// starts all Logging BlocksstopLogging();// stops all Logging BlocksstartLogging( "Logging 1");// starts the Logging Block "Logging 1"stopLogging( "Logging 1");// stops the Logging Block "Logging 1"startLogging( "Logging 1", 2000);// starts the Logging Block "Logging 1" with pre-trigger time 2000 milliseconds.stopLogging( "Logging 1", 1000);// stops the Logging Block "Logging 1" with post-trigger time 1000 milliseconds.
StopLogging