Clock, Connect – Teledyne LeCroy BTTracer_Trainer - BTTrainer Users Manual User Manual
Page 156

138
CATC BTT
RAINER
2.11
C
HAPTER
User’s Manual
#include body of script here
}
Clock
Clock()
Return value
The number of milliseconds that have elapsed since the system was started.
Comments
This function returns the amount of time that the system has been running.
It can be used to find out how long it takes to run a script or a series of com-
mands within a script.
Example
time1 = Clock();
# Put script commands here
time2 = Clock();
Trace("Elapsed time is ", time2-time1, "\n");
Connect
Connect(Address)
Return value
•
“Success”
•
“Already connected”
•
“Timed out”
•
“Failed: Disconnection in progress”
•
“Failure”
Comments
Establishes an ACL connection with the specified device
Parameter
Meaning
Default Value
Comments
N/A
Parameter
Meaning
Default Value
Comments
Address
Bluetooth
address of
device to con-
nect with