Chapter 3. Configuration

Table of Contents
CSP Configuration
MIP-5850 Configuration
Agilent E5515C Configuration
Mobile Device Configuration

This chapter will suggest items that need to be configured to ensure proper script operation:

CSP Configuration

This section outlines the setup of the script configuration database. The Conformance Scripts are provided with a configuration file "config.py". This file contains the necessary information for the scripts to control Agilent E5515C and MIP-5850. The file is an ASCII file. The "#" is used to indicate a comment or to comment out a given selection.

The script system should be fully exited and restarted in order for changes to config.py to take effect.

PPP Saved in Log Enable

Enables or disables the saving of the PPP log information in the script log. Set the variable to True or False

include_ppp_packets_in_log = False

GPIB Driver Selection

Select the appropriate GPIB driver and comment out the others. The example selects the National Instruments GPIB driver.


testsets=[]
# GPIB device names:
# "ni:BOARDNUM:ADDRESS": National Instruments GPIB board number BOARDNUM
# "iot488:PORT:ADDRESS": IOTech Micro-488 on com PORT.
testsets.append(TestSet(GPIB("ni:0:14")))
#testsets.append(TestSet(GPIB("iot488:6:14")))

To use an IO Tech adapter attached to COM6 with the Agilent E5515C configured at GPIB address 14:


#testsets.append(TestSet(GPIB("ni:0:14")))
testsets.append(TestSet(GPIB("iot488:6:14")))

Cellular System Parameters

The Conformance Scripts needs to know some system parameters in order to progarm the Agilent E5515C. Band is normally either 'uscellular' or 'uspcs'. Refer to the E5515C manual for other possible parameter values for the ":CALL:BAND" gpib command. There are two sets of values given, one for the normal call and one for the handoff target.

You should adjust the values for band, channel, sid, and nid to match those expected by the mobile device being tested.

In the following example, the primary channel used is ch. 350 of the PCS band. It will be configured to have a SID of 4274 and NID of 1:


    # {sid,nid,band,channel}1 are used for the control channel the mobile
    # is expected to acquire in most scripts.
    sid1=4274
    nid1=1
    band1='uspcs'
    channel1=350
    

# The mobile should also be able to acquire {sid,nid,band,channel}2 for handoff purposes.


    sid1=sid2=22
    nid2=2
    band2='uspcs' # 'uscellular'
    channel2=666
    

This completes the Conformance Scripts configuration.