Chapter 11: bpt primitives, Runtest(), Connect() – Teledyne LeCroy BPT - References Manual User Manual

Page 41: 11 bpt primitives, Runtest() connect(), Bpt p, Hapter, Rimitives

Advertising
background image

37

CATC S

CRIPTING

L

ANGUAGE

1.1

C

HAPTER

11

Reference Manual

BPT Primitives

C

HAPTER

11: BPT P

RIMITIVES

RunTest()

RunTest( Address )

Return value

•

“Success”

•

Error message

Comments

This is the entry point into a script. When a script is run, the script's

RunTest()

function will be called. Include this command at the beginning of every script.

Example

RunTest( Address )
{

# include body of script here

}

Connect()

Connect( Address )

Return value

•

“Success”

•

“Failure”

•

“Disconnection in progress”

•

“Already connected”

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device to run

test on

Parameter

Meaning

Default Value

Comments

Address

Bluetooth

address of

device to con-

nect with

Advertising