background image

Operation Manual

NPRT 2200

6. Remote Commands

As demonstrated by the NprGraph software, the instrument may be controlled from a computer 
using an RS-232 serial or USB connection.  The remote command interface is similar to the 
standard SCPI protocol although that standard is not completely supported.

6.1.

Cable and Handshaking

For RS232 operation, a standard 9 pin serial cable of the “straight thru” type is used.  The 
instrument actually uses only 3 pins: transmit, receive and ground.  The unit uses 9600 baud 
only, no parity, 8 data bits, 1 stop bit.

For USB operation, a standard Type A to Type B cable is used.  The system uses a virtual com 
port driver to assign a com port number to the USB port.  The driver is installed with NprGraph 
software.

6.2.

Commands

These commands are described in the standard SCPI notation.  Commands are terminated with a
carriage return character.  Most commands have a query form that returns the present value.  

The notation uses square brackets to denote optional parts of the commands.  The lower case 
portions may also be omitted to abbreviate the keywords.

RF On/Off

OUTPut[:STATe] <Boolean>

Turns the RF output on or off.

OUTPut[:STATe]?

Returns 0 for off or 1 for on.

Example:

output:state on
output:state?

1

Frequency Range Selection

[SOURce:]FREQuency:RANGe <value>
[SOURce]:FREQuency:RANGe?

Where value may be specified as an index (1 to 3) or the upper frequency in the desired range in 
MHz.  If a range is selected that is not installed, an error 100, “Invalid value” will be posted.

The query form of this command returns the description of the frequency range. 

Examples:

Freq:range 1

(for the first range)

Freq:range 42

(for 5:42 MHz)

Freq:range?

5:42 MHz

Frequency Range Availability

[SOURce:]FREQuency:RANGe:AVAILable?

This query returns the available frequency ranges as a list of comma separated fields.  The first 
field is the number of frequency ranges that follow.

Example:

Page 21

Summary of Contents for NPRT 2200

Page 1: ...Operation Manual NPRT 2200 NPRT 2200 Operation Manual Module Version NPRT 2200 4 05 NprGraph 2 11 SwpEditor 2 00 12 02 2016 ...

Page 2: ...stic Screen 8 4 2 Filter Board Diagnostics 9 4 3 Receiver Diagnostics 9 4 4 Switch Diagnostics 10 5 Computer Controlled Operation 11 5 1 Setup Files 11 5 2 Setup File Parameters 11 5 3 SwpEditor screen 12 5 4 Starting NprGraph program 12 5 5 Power Sweep 13 5 6 Power Sweep Graph 14 5 7 File Menu Options 15 5 8 Adding Lines 15 5 9 Edit Menu Options 16 5 10 NPRT Menu Options 18 5 11 Batch Operation 1...

Page 3: ...tio test compares the power of a carrier signal to the power of the noise generated by signal distortions The technique uses a deep notch filter to remove a portion of the carrier signal in a very narrow frequency band where the noise power is measured Then carrier power is measured at the same frequency with the notch filter removed 1 2 NPRT Block Diagram The NPRT 2200 consists of a calibrated si...

Page 4: ...d to characterize the performance of the DUT across its input power range The graph includes a horizontal line at a specified NPR limit and calculates the points where the curve crosses the line The difference between these two points is the usable dynamic range of the DUT and is compared to required range limit to determine a PASS FAIL grade for the test Page 2 ...

Page 5: ... provided on CD or may be downloaded from our website www appliedin com downloads nprtsetup exe Run or open or double click the file to unzip the files onto your PC s hard drive You will be asked to select your operating system for the installation of drivers and shortcuts If you are NOT asked to select an operating system but only the file Unzip window shows then using Windows Explorer or My Comp...

Page 6: ...l Finally it displays the measured input power In a single point manual NPR test you enter the desired power level and the instrument measures and displays the corresponding Noise Power Ratio 3 1 Main Menu The first screen shown after power up is the main menu There are two main menu screens Press MORE to display the second menu screen The menu options are 1 NPR make NPR measurements at a selected...

Page 7: ...adings When the CAL button is pressed the following screen appears From this screen you can manually enter the offsets or can use a more automated procedure by pressing the TX RX or the TX soft keys Use of the automated procedures is recommended Manual Entry To enter the offsets manually note which band is displayed at the top of the screen and enter the offset for that band When you press ENTER t...

Page 8: ...ne for both attenuator ranges within the receiver and for all combinations of band and notch Just connect the end of the output cable to the end of the input cable with a barrel connector and press NEXT The procedure takes a little while to run through all combinations The display is updated as each combination is tested When complete the initial calibration screen is displayed again To activate t...

Page 9: ...1 to select 21 4 or 2 to select 30 5 In Out Press ENTER to switch between the notch in and notch out conditions Or press 0 to select notch out or 1 to select notch in Power Press ENTER to switch the RF power on or off Or press 0 to turn RF power off or 1 to turn RF power on Source Enter the desired source output power level 3 4 NPR Test The NPR menu option may be used to perform individual NPR mea...

Page 10: ... reliable readings A value as small as 4 will still provide acceptable readings and will run faster Note there are two additional setup parameters which do not appear on this screen and can only be changed via the remote serial port These are the settling time delay in milliseconds and the power units used in remote commands See the Remote Commands section The PRESET button will initialize the fla...

Page 11: ...nuators the screen then displays the calibrated dB levels for those settings plus the base calibration value and calculates the resulting output power You may also specify the desired output level and the screen will calculate the required step and DAC settings Note that the NS 3 module output is connected to the filter and notch switching board before being routed to the Noise Output port The Out...

Page 12: ... screen will calculate the final output power level If you specify the notch and the final output level the system will calculate the other values 4 3 Receiver Diagnostics This screen contains diagnostics pertaining to the receiver board You may specify 1 The source power input to DUT 2 The receiver crystal filter selection a 1 21 4 MHz b 2 30 5 MHz c 3 none 3 The receiver board attenuator setting...

Page 13: ...emperature of the receiver 2 The measured A D counts 3 The calibrated receiver measurement 4 4 Switch Diagnostics The remaining two diagnostic screens Tx Sw and Rx Sw contain controls for toggling individual switches on the RF boards These are intended for troubleshooting use only and are not documented here Page 11 ...

Page 14: ...ting a setup to use and appears on the printed graph as the Test Name 2 Input Power Units select the display units from dBm dBmV dBuV or dBmV Hz 3 Graph Axes a Y Axis Range i Min provides the minimum NPR value for the Y axis ii Max provides the maximum NPR value for the Y axis b X Axis Range i If Auto scale is checked the X axis will be scaled from the min and max step values ii Min if Auto scale ...

Page 15: ...increment until the maximum level is reached An NPR measurement is made at each step A sample setup file is included in the installation that can be edited for your purposes 5 4 Starting NprGraph program To start the NprGraph program double click the icon that should have been installed on your desktop or run the program installed as C Applied NprGraph exe NprGraph lnk The program will start up an...

Page 16: ...e file The header information is optional and is stored in the data file and printed on the reports You may enter this information on this screen before starting the test or may add it later with the Header Information screen described below As the test is running the progress will be shown in terms of segments and steps and the measurements will be displayed as they are obtained At the same time ...

Page 17: ...the input power that produced the maximum are listed If an Acceptable NPR specification limit is entered either in the sweep setup file or in the Graph Setup dialog discussed in section 4 7 a horizontal blue line is drawn at that limit and vertical blue lines are placed on the first and last point that fall above the line The input power values where the NPR curve crosses the limit line are calcul...

Page 18: ...e to save the graph after making changes see below File Save As to save the graph under a new name Add Line to add a previously saved file to the present graph File Print to print the graph 5 8 Adding Lines Data from multiple tests can be overlaid on the same graph for comparison purposes Select Add Line from the File menu and then pick a file to add to the presently displayed graph Added lines wi...

Page 19: ... Sweep Editor program Copy The copy function may be used to copy the graph image to a word processing or spreadsheet application This makes it simple to include graphs into reports The image does not include the title bar The Control C shortcut is also supported Header Information The information contained on this screen may be entered before the test is started or after by using the NPRT Edit Hea...

Page 20: ... values that places a horizontal line on the graph You may enter a passing dynamic range value to obtain a PASS FAIL grade for the test You may select which units to display the power values in You may also view the data as a table or a graph by changing the view selection The changes you make to this dialog do not take effect until you press Apply or OK OK closes the dialog while Apply will make ...

Page 21: ...evice Manager and change the port to a lower number Connect The connect function is for testing the serial port connection to the NPRT 2200 It just tries to read the serial number and version from the unit 5 11 Batch Operation For automated testing the NprGraph program can be run from a Windows DOS Command Prompt window A DOS batch can be used to run several NPR tests in a row without human intera...

Page 22: ...is optional and directs the program to automatically print the output to the default printer 8 The command prompt window should be directed to the C Applied folder or wherever NprGraph is installed before running the command Page 20 ...

Page 23: ... carriage return character Most commands have a query form that returns the present value The notation uses square brackets to denote optional parts of the commands The lower case portions may also be omitted to abbreviate the keywords RF On Off OUTPut STATe Boolean Turns the RF output on or off OUTPut STATe Returns 0 for off or 1 for on Example output state on output state 1 Frequency Range Selec...

Page 24: ...Te Turns the selected notch filter ON inserts notch or OFF bypasses notch Notch Availability SOURce NOTCH AVAILable This query returns the available notch frequencies as a list of comma separated fields The first field is the number of notch frequencies that follow Example Notch avail 2 21 4 MHz 30 5 MHz Power Level SOURce POWer LEVel IMMediate AMPLitude value SOURce POWer LEVel IMMediate AMPLitud...

Page 25: ... FETCh NPR FETCh SOURce POWer LEVel If the associated value is not valid an error 230 is posted This is usually caused by an unrelated measurement being performed after the last instance of the desired parameter was taken For instance if a MEAS NPR is executed all parameters are valid then if a MEAS NOISE is executed the carrier and NPR values are no longer valid because they are not measured by t...

Page 26: ...et upon power up See Section 6 6 for more information on these commands 6 3 Error Reporting The system error query command is supported for a few types of errors SYSTem ERRor Returns one of the following 0 No error 100 Command error 350 Queue overflow 6 4 SCPI Required Commands The following commands are implemented as required by the SCPI standard but have no real function in the NPRT 2200 CLS Cl...

Page 27: ...t In firmware Version 2 32 and above to avoid conflicting use of the two ports the following rules have been added 1 The first command received on either port locks the instrument to that port 2 While locked on one port any commands received on the other port will receive a reply of BUSY and not be acted upon 3 Receiving a SYSTEM RELEASE command on the locked port will release the port 4 If no com...

Page 28: ...e software for Windows is available from www appliedin com downloads flashupdatezip exe The installation procedure is similar to the installation of the NprGraph software Once the FlashUpdate program is installed connect your NPRT 2200 to the PC and start FlashUpdate It will check our web site for the latest release and select the modified components for updating Contact Applied Instruments techni...

Page 29: ...he factory is to be prepaid by the customer Authorization by Applied Instruments is required prior to shipment Applied Instruments assumes no liability for secondary charges or consequential damages and in any event Applied Instruments liability for breach of warranty under any contract shall not exceed the purchase price of the instrument shipped and against which a claim is made Any application ...

Reviews: