BNC Model 835-3 Programmer’s Manual Berkeley Nucleonics www.berkeleynucleonics.com BNC Model 835-3 Programmer’s Manual v1.
Version 1.21, January 2010 Copyright This manual is copyright by Berkeley Nucleonics and all rights are reserved. No portion of this document may be reproduced, copied, transmitted, transcribed stored is a retrieval system, or translated in any form or by any means. Electronic, mechanical, magnetic, optical, chemical, manual or otherwise, without written permission of Berkeley Nucleonics. Berkeley Nucleonics and the Berkeley Nucleonics logo are internationally registered trademarks of Berkeley Nucleonics.
Contents 1. Introduction ..............................................................................................4 Ethernet Interface Connection and Setup.................................................................... 4 2. Programming the BNC MODEL 835-3 ................................................................6 Using Sockets LAN ................................................................................................... 6 Using and Configuring VXI-11 (VISA) .......................
1. Introduction This manual provides information for remote operation of the 835-3 Signal Generators using commands sent from an external controller via Ethernet.
that is not connected to other LANs requires a default gateway setting of 0.0.0.0. If you have a gateway, then the default gateway would be set to the appropriate value of your gateway. • MAC Address: A MAC address is a unique 48-bit value that identifies a network interface card to the rest of the network. Every network card has a unique MAC address permanently stored into its memory.
2. Programming the BNC MODEL 835-3 The BNC Model 835-3 signal generator can be remotely programmed via a 10/100/1000Base-T LAN interface and LAN-connected computer using one of several LAN interface protocols. The LAN allows instruments to be connected together and controlled by a LAN- based computer. LAN and its associated interface operations are defined in the IEEE 802.2 standard.
be controlled using predefined SCPI functions once the socket connection is established in your program. Socket connection is available on port 18. Using and Configuring VXI-11 (VISA) The signal generator supports the LAN interface protocol described in the VXI- 11 standard. VXI- 11 is an instrument control protocol based on Open Network Computing/Remote Procedure Call (ONC/RPC) interfaces running over TCP/IP.
generator and then send or receive information using predefined commands. Communication is interactive: one command at a time. The telnet service is available on port 18. Once a telnet session to the device is established, the echo can be enabled by typing SYST:COMM:SOCK:ECHO ON Following this command a prompt “>>” should become visible. Internet Browser The BNC MODEL 835-3 hosts a web-server (firmware 2.
3. IEEE-488 Interface Commands IEEE Mandated Commands The required common commands are IEEE-488.2 mandated commands that are defined in the IEEE-488.2 standard and must be implemented by all SCPI compatible instruments. These commands are identified by the asterisk (*) at the beginning of the command keyword. These commands are used to control instrument status registers, status reporting, synchronization, and other common functions. Commands declared mandatory by IEEE 488.2.
*IDN? The Identification (IDN) query outputs an identifying string. The response will show the following information: , , , *OPC The Operation Complete (OPC) command sets bit 0 in the Standard Event Status Register when all pending operations have finished. The Operation Complete command causes the device to set the operation complete bit (bit 0) in the Standard Event Status Register when all pending operations have been finished.
Range 0–255 The setting enabled by this command is not affected by signal generator preset or *RST. However, cycling the signal generator power will reset it to zero. *SRE? The Service Request Enable (SRE) query returns the value of the Service Request Enable Register. Range 0–63 & 128-191 *STB? The Read Status Byte (STB) query returns the value of the status byte including the master summary status (MSS) bit.
of SCPI, considerable efficiency gains can be achieved during control program development, independent of the control program language selected. A key to consistent programming is the reduction of multiple ways to control similar instrument functions. The philosophy of SCPI is for the same instrument functions to be controlled by the same SCPI commands. To simplify learning, SCPI uses industrystandard names and terms that are manufacturer and customer supported.
Structure of a Command Line A command line may consist of one or several commands. It is terminated by an EOI together with the last data byte. Several commands in a command line must be separated by a semicolon ";". If the next command belongs to a different command system, the semicolon is followed by a colon. A colon ":" at the beginning of a command marks the root node of the command tree.
Hierarchical Command Structure All SCPI commands, except the common commands, are organized in a hierarchical structure similar to the inverted tree file structure used in most computers. The SCPI standard refers to this structure as “the Command Tree.” The command keywords that correspond to the major instrument control functions are located at the top of the command tree. The command keywords for the BNC MODEL 835-3 SCPI command set are shown below.
The BNC MODEL 835-3 status system consists of the following SCPI-defined status reporting structures: • The Instrument Summary Status Byte • The Standard Event Status Group • The Operation Status Group • The Questionable Status Group The following paragraphs describe the registers that make up a status group and explain the status information that each status group provides.
enable register does not affect it. The command :STATus:PRESet sets the Operation Status Enable register and the Questionable Status Enable register to all 0’s. Status Group Reporting The state of certain BNC MODEL 835-3 hardware and operational events and conditions can be determined by programming the status system. Three lower status groups provide status information to the Summary Status Byte group.
Operation Status Group The Operation Status group, consisting of the Operation Condition register, the Operation Positive Transition register, the Operation Negative Transition register, the Operation Event register, and the Operation Event Enable register, is used to determine the specific condition that set bit 7 in the Summary Status Byte.
SCPI Command Description :ABORt Subsystem The :ABORt command is a single command subsystem. There are no subcommands or associated data parameters, as shown below. The :ABORt command, along with the :TRIGger and :INITiate commands, comprise the Trigger group of commands. Command Parameters Unit (default) Remark :ABORt :ABORt :ABORt This command causes the List or Step sweep in progress to abort. Even if INIT:CONT[:ALL] is set to ON, the sweep will not immediately re-initiate.
Continuously rearms the BNC MODEL 835-3 trigger system after completion of a triggered sweep. :OUTPut Subsystem Command OUTPut[:STATe] OUTPut:BLANking Parameters ON | OFF | 1 | 0 ON | OFF | 1 | 0 Remark Unit (default) OFF OFF FW2.4 [:STATe] ON|OFF|1|0 :OUTPut[:STATe] ON|OFF|1|0 Turns BNC MODEL 835-3 RF output power on/off. :BLANking[:STATe] ON|OFF|1|0 :OUTPut:BLANking[:STATe] ON|OFF|1|0 :OUTPut:BLANking[:STATe]? ON causes the RF output to be turned off (blanked) during frequency changes.
mode, frequency is determined by programmed values for :LIST:FREQuency. :FREQuency:STARt [SOURce]:FREQuency:STARt [SOURce]:FREQuency:STARt? This command sets the first frequency point in a step sweep. *RST The preset value is 1 GHz. Please refer to the Data Sheet. Range Please refer to the Data Sheet. :FREQuency:STOP [SOURce]:FREQuency:STOP [SOURce]:FREQuency:STOP? This command sets the last frequency point in a step sweep. *RST The preset value is 2 GHz.
[SOURce]:POWer:STARt [SOURce]:POWer:STOP [SOURce]:POWer:ALC [SOURce]:POWer:ALC:HOLD [SOURce]:POWer:ATTenuation [SOURce]:POWer:ATTenuation:AUTO [SOURce]:POWer:ATTenuation:LIST? ep ON | OFF | 1 | 0 ON | OFF | 1 | 0 ON | OFF | 1 | 0 dBm dBm ON OFF dB ON FW2.219 FW2.219 FW2.219 [:LEVel][:IMMediate][:AMPLitude] [SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude] [SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude]? This command sets the RF output power.
This command sets the power range extension attenuator. This command will also turn off automatic attenuation setting. Refer to [SOURce]:POWer:ATTenuation:AUTO OFF for details. Attenuator input RF power shall be -30…+10 dBm, e.g. using a [SOURce]:POWer:ATTenuation value of 50 dB, the output RF power range is -80…-40 dBm. :ATTenuation:AUTO [SOURce]:POWer:ATTenuation:AUTO ON|OFF|1|0 [SOURce]:POWer:ATTenuation:AUTO? (Devices with option PE only) This command turns the power range extension on or off.
[SOURce]:LIST:MANual [SOURce]:LIST:MODE [SOURce]:LIST:POWer [SOURce]:LIST:POWer:POINts? [SOURce]:LIST:COUNt FW2.4 FW2.4 |UP|DOWN AUTO | MANual {,} dBm |INFinity 1 :LIST:DIRection [SOURce]:LIST:DIRection UP|DOWN|RANDom [SOURce]:LIST:DIRection? This command sets the direction of a list or step sweep.
The variable is expressed in units of Hertz. The setting enabled by this command is not affected by signal generator power- on, preset, or *RST. Range Please refer to the Data Sheet. :LIST:MANual [SOURce]:LIST:MANual |UP|DOWN [SOURce]:LIST:MANual? This command sets a list or step sweep point as the current sweep point controlling the frequency and power output. If list or step mode is controlling frequency or power, or both, then the indexed point in the respective list(s) will be used.
:LFOutput:AMPLitude [SOURce]:LFOutput:AMPLitude [SOURce]:LFOutput:AMPLitude? This command sets the low frequency generator amplitude. This setting does only take effect if :LFOutput:SOURce is set to LFGenerator and LFOutput:SHAPe is either set to SINE or TRIangle. Using any other setting, the output amplitude is fixed 2.5 V. The variable is expressed in units of Volt. Range 0-2.
[SOURce]:SWEep:DIRection [SOURce]:SWEep:POINts [SOURce]:SWEep:DWELl [SOURce]:SWEep:DELay [SOURce]:SWEep:DELay:AUTO [SOURce]:SWEep:SPACing [SOURce]:FREQuency:MODE [SOURce]:FREQuency:STARt [SOURce]:FREQuency:STOP [SOURce]:POWer:MODE [SOURce]:POWer:STARt [SOURce]:POWer:STOP UP | DOWN | RANDom 2 to 3855 ON|OFF|1|0 LINear | LOGarithmic CW | SWEep | LIST fmin to fmax fmin to fmax CW | LIST | SWEep
:STARt [SOURce]:POWer:STARt [SOURce]:POWer:STARt? This command sets the first amplitude point in a step sweep. *RST ? Range Refer to [:LEVel][:IMMediate][:AMPLitude] command for the output power ranges. :STOP [SOURce]:POWer:STOP [SOURce]:POWer:STOP? This command sets the last amplitude point in a step sweep. *RST ? Range Refer to [:LEVel][:IMMediate][:AMPLitude] command for the output power ranges.
:FM:DEViation [SOURce]:FM:SENSitivity [SOURce]:FM: SENSitivity? This command sets the frequency modulation deviation. This setting will be used if :FM:SOURce is set to LFGenerator. The variable is expressed in units of Hertz. *RST 10000 :FM:SENSitivity [SOURce]:FM:SENSitivity [SOURce]:FM: SENSitivity? This command sets the frequency modulation deviation per one volt peak amplitude signal input. This setting will be used if :FM:SOURce is set to EXTernal.
:PM:SOURce [SOURce]:PM:SOURce EXTernal|LFGenerator [SOURce]:PM:SOURce? This command selects the PM modulation signal source. If LFGenerator is selected, the device’s function output has to be connected to the FM/PM input (at the rear panel). *RST EXT :PM:STATe [SOURce]:PM:STATe ON|OFF|1|0 [SOURce]:PM:STATe? This command turns the phase modulation on or off.
If the entered value for the pulse period is equal to or less than the value for the pulse width, the pulse width changes to a value that is less than the pulse period. *RST 2.5 ms Range 200 ns – 10 s :PULM:INTernal:PWIDth|WIDTh [SOURce]:PULM:INTernal:PWIDth|WIDTh [SOURce]:PULM:INTernal:PWIDth|WIDTh? This command sets the pulse width for the internally generated pulse signal. This command sets the pulse width for the internally- generated pulse modulation using the variable .
• GATE : trigger level starts/stops sweep 2. Setting the waveform’s response to triggers: — CONTinuous : reapeatedly accepts trigger events — SINGle : uses only one trigger event 3. Selecting the trigger source which determines how the BNC MODEL 835-3 receives its trigger signal, internally or externally. The GATE choice requires an external trigger. 3.
HIGH The waveform playback starts when the trigger signal goes high (active state) and stops when the trigger signal goes low (inactive state). *RST HIGH :TRIGger[SEQuence]SOURce [SOURce]:TRIGger[SEQuence]:SOURce IMMediate|KEY|EXTernal|BUS [SOURce]:TRIGger[SEQuence]:SOURce? This command sets the trigger source. IMMediate No waiting for a trigger event occurrs KEY This choice enables manual triggering by pressing the front-panel RFon/off.
This command sets a modulo on consecutive trigger events. Setting the value to N means that only every Nth trigger event will be considered. Setting it to one means will use every trigger event that does not occur during a running sweep. *RST 1 Range 1 to 255 :STATus Subsystem This subsystem controls the status-reporting structures.
:QUEStionable? :STATus:QUEStionable [:EVENt]? This query returns the contents of the questionable status event register and clears it. :QUEStionable:CONDition? :STATus:QUEStionable:CONDition? This query returns the contents of the questionable status condition register. :QUEStionable:ENABle :STATus:QUEStionable:ENABle This command sets the enable mask of the questionable status event register.
:SYSTem:LOCK:RELease Unlocks (enables) front panel control.
This command enables the user to change the maximum length of time that the instrument will spend trying to acquire an IP address using DHCP. If the LAN Config Type is set to Auto, then the Auto- IP protocol will be used as a fall- back when time- out does occur. The DHCP timeout value is stored in the same non- volatile ram as the other LAN configurations. The query returns the current setting, not the saved setting.
OFF(0) This command disables device identification by clearing the message on the signal generator's front panel and returning the LAN Status indicator to display the current network state. For more information, refer to the Programming Guide. :LAN:IP :SYSTem:COMMunicate:LAN:IP :SYSTem:COMMunicate:LAN:IP? This command sets the signal generator’s local area network (LAN) internet protocol (IP) address for your IP network connection.