beautypg.com

BNC 835 Programmer Manual User Manual

Page 33

background image


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

This command presets the user- flatness correction to a factory- defined setting that consists of one

point.

CAUTION

The current correction data will be overwritten once this command is executed. Save the

current data if needed. Refer to

:FLATness:STORe

command for storing user- flatness files.

:FLATness[:STATe]

[:SOURce]:CORRection:FLATness[:STATe] ON|OFF|1|0

[:SOURce]:CORRection:FLATness[:STATe]?

This command enables or disables the user- flatness corrections.

*RST 0

:MEMory:FILE:CORRection:FLATness:DATA

:MEMory:FILE:CORRection:FLATness:DATA {<”filename”>},

:MEMory:FILE:CORRection:FLATness:DATA? {<”filename”>}

The command writes data to a flatness correction file.

The query returns flatness correction file data.

Data sent or received has IEEE488.2 definite block data format:

#{

specifies how many digits are contained in .

specifies how many data bytes follow in .

Example of definite block data:

#2141000000000;1.0

#214: byte count is two digits wide

#214…: 14 data bytes will follow

1000000000;1.0: 14 bytes of data

The flatness correction data itself consists of values separated by semicolon “;” and rows separated by

carriage return “\r” and/or newline “\n”. Two values (frequency in Hz, power correction in dBm) make a

row. Each row defines one flatness correction point.

Example of two points flatness correction (first point 100 MHz, +1 dB; second point 200 MHz, -1 dB):

100000000;1.0\r\n

200000000;-1.0;\r\n

: MEMory:FILE:CORRection:FLATness:LOAD

:MEMory:FILE:CORRection:FLATness:LOAD ""

This command loads a user- flatness correction file. The "" variable is the name of the file

located in the directory USERFLAT. The directory path is implied in the command and need not be

specified in the variable name.

: MEMory:FILE:CORRection:FLATness:STORe

This manual is related to the following products: