C.7 tcs commands, Tcsregisterprofile(), Tcs commands – Teledyne LeCroy Merlins Wand - Users Manual User Manual
Page 249
Advertising
233
CATC M
ERLIN
’
S
W
AND
2.00
C
HAPTER
C
User’s Manual
Merlin’s Wand Scripting Commands
Return value
•
“Success”
•
“Failure”
•
“Not Connected”
Comments
Advances a specified number of credits to a particular RFCOMM connec-
tion.
Example
result = RFOpenClientChannel(Device, 1);
DLCI = result[1];
if(result[0] == "Success")
{
status = RFAdvanceCredit(Device, DLCI, 2);
Trace("RFAdvanceCredit returned: ", status, "\n\n");
}
C.7 TCS Commands
TCSRegisterProfile()
TCSRegisterProfile()
Return value
•
“Success”
•
“Failure”
Comments
Register Intercom profile with the application.
Example
result = TCSRegisterProfile();
Trace("TCSRegisterProfile returned: ", result, "\n");
credit
Number of
credits to
advance
Parameter
Meaning
Default Value
Comments
N/A
Parameter
Meaning
Default Value
Comments
Advertising