Chapter 4: configuring tests, 1 bpt.ini, 1 keywords – Teledyne LeCroy BPT - Users Manual User Manual

Page 17: 4 configuring tests, Bpt.ini, Keywords, Hapter, Onfiguring, Ests

Advertising
background image

11

CATC BPT 1.00

C

HAPTER

4

User’s Manual

Configuring Tests

C

HAPTER

4: C

ONFIGURING

T

ESTS

The configuration of the tests run by the BPT is accomplished by editing the initialization
file BPT.ini and by editing the test script files that contain the Bluetooth commands.

4.1 BPT.ini

The initialization file BPT.ini is used to configure the test mode, specify the test scripts, and
name the devices that the BPT will use when running tests. It is a text file and can easily be
edited using a program such as Notepad.

Note: Changes that are made in the initialization file won’t take effect in the application until the file is saved

and the application is restarted.

The BPT is shipped with a sample BPT.ini. You can edit the sample file to suit your needs,
or create a new file. If you create a new file, it must be called BPT.ini, and you will have to
delete the original BPT.ini, save it with a new name, or save it in a different directory. If the
initialization file isn’t found, the BPT uses default values for the

Run Mode

and

Max

Devices

options.

The BPT software looks for the initialization file in the current directory first, and then, if it
isn’t found there, in the application directory. This allows you to keep multiple copies of
BPT.ini, each in its own directory. This permits easy access to specialized test configurations
without having to edit the initialization file over and over again. To use a specific
configuration, put a shortcut to the BPT executable in that file’s directory and start the
application from there.

BPT.ini must contain the following sections in order to correctly configure the BPT:

[Options]

— page 12

[Tests]

— page 13

[Devices]

— page 13

4.1.1 Keywords

These keywords are used when editing the initialization file:

Run Mode

,

Normal

,

Inquiry

,

Max Devices

,

Test

,

Device

, and

Exclude

.

The keywords are used to define options in the initialization file. There must only be one
definition per line in the file. The definitions follow this format:

keyword=value

It is permissible to have whitespace on either side of the equal sign, so that the following are
also acceptable:

keyword =value

keyword= value

keyword = value

Advertising