SetPreTrigger
Syntax
setPreTrigger(long preTriggerTime);
Function
Sets the pretrigger of the logging. The pretrigger set with this function is valid until the end of the measurement or until the next call of this function. Note: The functionstartLogging()does not consider the setting with functionsetPreTrigger, use the CAPL functiontrigger()instead.
Parameters
New pretrigger value in milliseconds.
Return Values
on start{SetPreTrigger(5000);SetPostTrigger(5000);}on key 'x'{//start and stop of all CAPL trigger/Logging blocks with pre and post trigger settingstrigger();}