1 iuwbtrace2::gototime, Iuwbtrace2::gototime – Teledyne LeCroy UWBTracer Automation Manual User Manual
Page 45

LeCroy
UWBTracer Automation API Reference Manual
Manual Version 3.02
41
4.2.1 IUwbTrace2::GotoTime
HRESULT GotoTime ( [in] double time );
Instructs the trace view to jump to the specified timestamp.
Parameters
time
Time (in nanoseconds) to jump
Example
WSH:
Set Analyzer = WScript.CreateObject("CATC.UwbAnalyzer")
CurrentDir = Left(WScript.ScriptFullName, InstrRev(WScript.ScriptFullName, "\"))
Analyzer.StartRecording (CurrentDir & "test_ro.rec")
'... do something
Set Trace = Analyzer.StopRecordingAndWaitForTrace
Trace.GotoTime( 1000000 ) ' goto 1 millisecond timestap
C++:
IUwbTrace2*
Uwb_trace;
. . .
try
{
double t = 1000000.0;
Uwb_trace ->GotoTime( t );
}
catch ( _com_error& er)
{
if (er.Description().length() > 0)
::MessageBox( NULL, er.Description(), _T("UwbAnalyzer client"), MB_OK );
else
::MessageBox( NULL, er.ErrorMessage(), _T("UwbAnalyzer client"), MB_OK );
return 1;
}