beautypg.com

6 examples (needs rework), 1 remote phase noise measurement (fw 1.0), Examples (needs rework) – BNC 7000 Series Programmer Manual User Manual

Page 36

background image

36

6

Examples (NEEDS REWORK)

6.1 Remote Phase Noise Measurement (FW 1.0)

Following the SCPI command sequence for a typical remote phase noise measurement.

Binary format of list

Example: 0x

23

32

3132

0050C347

7

9689A48

00247449

0x

23

: ASCII code for # -> start

0x

32

: ASCII code for 2 -> n=2

0x

3132

: ASCII code for 1 (0x31) and 2 (0x32) -> N=12 (3x 32bit float values)

0x

0050C347

: 32bit float -> 100000.0

0x

79689A48

: 32bit float -> 316227.78125

0x

00247449

: 32bit float -> 1000000.

// configuration
> CONF:RESE ON // reconfigure device before every measurement
> CONF:MEAT:IT // number of iterations
> CONF:MEAS:PPD 150 // number of points per decade
> CONF:FREQ:STAR 100 // start offset frequency 100Hz
> CONF:FREQ:STOP 1E6 // stop offset frequency 1MHz
> CONF:PN:METH CC // cross correlation mode
> CONF:PN:LOOP:AUTO ON // choose best loop bandwidth for locking
> CONF:ATT:AUTO ON // find best attenuation setting
> CONF:MODE PN // measure phase noise
> CONF:FREQ 100E6 // DUT frequency 100MHz
> *OPC? // wait for configuration to complete
< read opc status // returns 1 once the configuration is complete

// measurement
> SENS:PN:INIT // start measurement
> *OPC? // wait for measurement to complete
< read opc status // returns 1 once the measurement is complete
> SENS:PN:INIT? // was the measurement successful?
< read init status // 0: success, <0: failed
> CALC:PN:FREQ? // get offset frequency points
< read list // binary format of list explained below
> CALC:PN:SPEC? // get measurement
< read list // binary format of list explained below

Berkeley Nucleonics Corporation 2955 Kerner Blvd., San Rafael, CA 94901

Phone: 415-453-9955, Fax: 415-453-9956, Email: [email protected], Web: www.berkeleynucleonics.com