Hide thumbs Also See for 845-M:

Advertisement

Quick Links

 
Model 845-M
Programmer's Manual
Version 1.1, June 2011
Berkeley Nucleonics Corporation
2955 Kerner Blvd, San Rafael CA 94901 USA- www.berkeleynucleonics.com
Chat online or email info@berkeleynucleonics.com- Toll Free: 800-234-7858, Fax: 415-453-9955
 

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 845-M and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for BNC 845-M

  • Page 1   Model 845-M Programmer’s Manual Version 1.1, June 2011 Berkeley Nucleonics Corporation 2955 Kerner Blvd, San Rafael CA 94901 USA- www.berkeleynucleonics.com Chat online or email info@berkeleynucleonics.com- Toll Free: 800-234-7858, Fax: 415-453-9955 1   ...
  • Page 2: Table Of Contents

    Using Telnet LAN ............................7 USB (fully supported from Firmware 0.4.0 upwards)................7 USB-TMC Interface Connection and Setup using VISA................7 USB-TMC Interface Connection and Setup using BNC API ..............8 GPIB Interface Connection and Setup .....................8 Using SCPI………… ..........................8 3. IEEE-488 Interface Commands .......................... 9 IEEE Mandated Commands ........................
  • Page 3: Introduction

    A general description of the LAN and the bus data transfer and control functions A general description of how to establish connection to the Model 845-M via LAN, USB, or GPIB A listing of the IEEE-488 Interface Function Messages recognized by the signal generator with a...
  • Page 4: Programming The Model 845-M

    Model 845-M Programmer’s Manual V1.1 2011 2. Programming the Model 845-M The Model 845-M can be accessed though LAN, USB, or GIPB interface. All interfaces use standard SCPI command set to pass commands to the device. The Model 845-M 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.
  • Page 5 VISA refer to the VISA library supplier’s documentation. The SCPI command set listed in the Model 845-M programmer’s manual applies to LAN programming as well. Only the IP address or the device name is required for link setup. The IP address/device name is part of the "visa resource string"...
  • Page 6: Using Sockets Lan

      Model 845-M Programmer’s Manual V1.1 2011 For instance, if the instrument has the IP address 192.168.1.50, TCPIP::192.168.1.50::inst0::INSTR is the valid resource name. Specification of inst0 in the resource name is optional. In this example, also TCPIP::192.168.1.50::INSTR is therefore a valid resource name.
  • Page 7: Using Telnet Lan

    Following this command a prompt “>>” should become visible. USB (fully supported from Firmware 0.4.0 upwards) The Model 845-M supports the following USB interface protocols: 1) USBTMC class device via VISA 2) USBTMC: the application programming interface (API) provided with the instrument supports general programming using the USB interface under Windows operating system.
  • Page 8: Usb-Tmc Interface Connection And Setup Using Bnc Api

    Model 845-M Programmer’s Manual V1.1 2011 NI-VISA 3.0 or later allows you to communicate as a controller to Model 845-M. NI-VISA is configured to detect USBTMC compliant instruments such as the Model 845-M. To use such a device, plug it in and Windows should detect the new hardware and launch the New Hardware Wizard.
  • Page 9: Ieee-488 Interface Commands

      Model 845-M Programmer’s Manual V1.1 2011 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.
  • Page 10   Model 845-M Programmer’s Manual V1.1 2011 Remarks The Register is not affected by signal generator preset or *RST. However, cycling the signal generator power will reset this register to zero. *IDN? The Identification (IDN) query outputs an identifying string. The response will show the following information: <company name>, <model number>, <serial number>, <firmware...
  • Page 11   Model 845-M Programmer’s Manual V1.1 2011 The Service Request Enable (SRE) command sets the value of the Service Request Enable Register. The variable <data> is the decimal sum of the bits that will be enabled. Bit 6 (value 64) is ignored and cannot be set by this command.
  • Page 12: Scpi Commands

      Model 845-M Programmer’s Manual V1.1 2011 4. SCPI Commands This chapter provides an introduction to SCPI programming that includes descriptions of the command types, hierarchical command structure, data parameters, and notational conventions. Information on status system and trigger system programming is also provided.
  • Page 13: Scpi Command Types

    SCPI required commands SCPI optional commands (per SCPI 1999.0) SCPI compliant commands that are unique to the Model 845-M. Not all of the commands supported by the instrument are taken from the SCPI standard; however, their syntax follows SCPI rules.
  • Page 14: Hierarchical Command Structure

    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 Model 845-M SCPI command set are shown below.
  • Page 15: Status System Programming

    Each component is briefly described in the following paragraphs. Condition Register The condition register is continuously updated to reflect the current status of the Model 845-M. There is no latching or buffering for this register, it is updated in real time. Reading the contents of a condition register does not change its contents.
  • Page 16 The Summary Status Byte group, consisting of the Summary Status Byte Enable register and the Summary Status Byte, is used to determine the general nature of an Model 845-M event or condition. The bits in the Summary Status Byte provide the following: Operation Status Group 16 ...
  • Page 17 Summary Status Byte. The bits in the Standard Event Status register provide the following: Description Set to indicate that all pending Model 845-M operations were completed following execution of “*OPC” command. Request control Set to indicate that a query error has occurred. Query errors have SCPI error codes from –499 to –400.
  • Page 18   Model 845-M Programmer’s Manual V1.1 2011 Questionable Status Group The Questionable Status group, consisting of the Questionable Condition register, the Questionable Positive Transition register, the Questionable Negative Transition register, the Questionable Event register, and the Questionable Event Enable register, is used to determine the specific condition that set bit 3 in the Summary Status Byte.
  • Page 19: Scpi Command Description

      Model 845-M Programmer’s Manual V1.1 2011 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.
  • Page 20: Display Subsystem

    :DISPlay:REMote ON|OFF|1|0 V0.4.1 :DISPlay:WINDow:TEST ON|OFF|1|0 :DISPlay[:WINDow]:TEXT:[STATe] ON|OFF|1|0 :DISPlay[:WINDow]:TEXT:STATe? Turns on/off the parameter display of the Model 845-M front panel data display. :DISPlay:REMote ON|OFF|1|0 :DISPlay:REMote ON|OFF|1|0 :DISPlay:REMote? Turns on/off the display update of the Model 845-M front panel data display. 20 ...
  • Page 21: Initiate Subsystem

    Model 845-M Programmer’s Manual V1.1 2011 :INITiate Subsystem The :INITiate subsystem controls the state of the Model 845-M trigger system. The subsystem commands and parameters are described below. The :INITiate commands, along with the :ABORt and :TRIGger commands, comprise the Trigger Group of commands.
  • Page 22 ON | OFF | 1 | 0 V0.4.1 [:STATe] ON|OFF|1|0 :OUTPut[:STATe] ON|OFF|1|0 Turns Model 845-M 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. OFF leaves RF output turned on (unblanked).
  • Page 23: [Source]:Frequency Subsystem

      Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:FREQuency Subsystem Command Parameters Unit Remark (default) [SOURce]:FREQuency:FIXed | CW fmin to fmax [SOURce]:FREQuency:MODE FIX | CW | SWEep | LIST FIXed [SOURce]:FREQuency:STARt fmin to fmax [SOURce]:FREQuency:STOP fmin to fmax [SOURce]:FREQuency:STEP[:LINear] 0 to fmax-fmin V0.3.9...
  • Page 24   Model 845-M Programmer’s Manual V1.1 2011 This command sets the step size for a logarithmic step sweep. 24   ...
  • Page 25: [Source]:Phase Subsystem

      Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:PHASe Subsystem Command Parameters Unit Remark (default) [SOURce]:PHASe:REFerence V0.4.1 [SOURce]:PHASe[:ADJust] <value> 0 radians V0.4.1 :PHASe:REFerence [SOURce]:PHASe:REFerence This command sets the current output phase as a zero reference. Subsequent phase adjustments are set relative to the new reference.
  • Page 26: [Source]:Power Subsystem

      Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:POWer Subsystem Command Parameters Unit Remark (default) [SOURce]:POWer[:LEVel][:IMMediate][:AMPLitude] <value> [SOURce]:POWer:MODE FIXed|LIST|SWEep FIXed [SOURce]:POWer:STARt <value> [SOURce]:POWer:STOP <value> [SOURce]:POWer:ALC ON | OFF | 1 | 0 [SOURce]:POWer:ALC:HOLD ON | OFF | 1 | 0 [SOURce]:POWer:ATTenuation <value>...
  • Page 27   Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:POWer:ALC:HOLD ON|OFF|1|0 [SOURce]:POWer:ALC? (Devices with option PE only) This command sets the automatic level control into hold mode. The amplitude level control loop is open. *RST The preset value is 0 :ATTenuation [SOURce]:POWer:ATTenuation <value>...
  • Page 28: [Source]:Roscillator Subsystem

      Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:ROSCillator Subsystem Command Parameters Unit (default) [SOURce]:ROSCillator:EXTernal:FREQuency <val> 10 MHz [SOURce]:ROSCillator:LOCKed? [SOURce]:ROSCillator:OUTPut:STATe ON|OFF|1|0 [SOURce]:ROSCillator:SOURce INTernal | EXTernal : EXTernal:FREQuency [SOURce]:ROSCillator:EXTernal:FREQuency <val> [SOURce]:ROSCillator:EXTernal:FREQuency? This command conveys the expected reference frequency value of an externally applied reference the signal generator.
  • Page 29: [Source]:List Subsystem

      Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:LIST Subsystem Command Parameters Unit Remark (default) [SOURce]:LIST:DIRection UP|DOWN|RANDom V0.3.9 [SOURce]:LIST:DWELl <value> V0.3.9 [SOURce]:LIST:DELay <value> V0.3.9 [SOURce]:LIST:DELay:AUTO ON|OFF|1|0 V0.3.9 [SOURce]:LIST:FREQuency:POINts? V0.3.9 [SOURce]:LIST:FREQuency <value>{,<value>} V0.3.9 [SOURce]:LIST:MANual <value>|UP|DOWN V0.3.9 [SOURce]:LIST:MODE AUTO | MANual V0.3.9 [SOURce]:LIST:POWer <value>{,<value>}...
  • Page 30   Model 845-M Programmer’s Manual V1.1 2011 :LIST:DELay:AUTO [SOURce]:LIST:DELay:AUTO ON|OFF|1|0 This command enabled the automatic blanking of the output during transients between two frequency steps. *RST ON :LIST:FREQency:POINts [SOURce]:LIST:POINts? This command queries the signal generator for the number of frequency points in the current list sweep file.
  • Page 31   Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:LIST:COUNt <value> [SOURce]:LIST:COUNt? This command sets the number of consecutive times the list is executed on each sweep start. The variable <value> is 1 to 65535 or INFinity. :LIST:PROGgress [SOURce]:LIST:PROGgress? This query returns the progress of an active list sweep, 0.0…1.0.
  • Page 32: [Source]:Lfoutput Subsystem

      Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:LFOutput Subsystem Command Parameters Unit (default) [SOURce]:LFOutput:AMPLitude <value> [SOURce]:LFOutput:FREQuency <value> 400 Hz [SOURce]:LFOutput:STATe ON|OFF|1|0 [SOURce]:LFOutput:SHAPe SINE|TRIangle|SQUare SINE [SOURce]:LFOutput:SOURce LFGenerator|PULM|TRIGger :LFOutput:AMPLitude [SOURce]:LFOutput:AMPLitude <value> [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.
  • Page 33   Model 845-M Programmer’s Manual V1.1 2011 This command sets the low frequency generator waveform. This setting does only take effect if :LFOutput:SOURce is set to LFGenerator. LFGenerator This selects the low frequency generator as the function output signal. PULM This selects the pulse modulation video out as the function output signal.
  • Page 34: [Source]:Sweep Subsystem

      Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:SWEep Subsystem Command Parameters Unit Remark (default) [SOURce]:SWEep:DIRection UP | DOWN | RANDom [SOURce]:SWEep:POINts 2 to 65535 [SOURce]:SWEep:DWELl <value> [SOURce]:SWEep:DELay <value> [SOURce]:SWEep:DELay:AUTO ON|OFF|1|0 V0.3.9 [SOURce]:SWEep:PROGress? V0.3.9 [SOURce]:SWEep:SPACing LINear | LOGarithmic V0.3.9 [SOURce]:FREQuency:MODE FIXed | CW | SWEep | LIST...
  • Page 35: [Source]:Am Subsystem (Amplitude Modulation)

      Model 845-M Programmer’s Manual V1.1 2011 :SWEep:PROGgress [SOURce]:SWEep:PROGgress? This query returns the progress of an active sweep, 0.0…1.0. :SWEep:SPACing [SOURce]:SWEep:SPACing LINear | LOGarithmic [SOURce]:SWEep:SPACing? This command enables the signal generator linear or logrithmic sweep modes. These commands require the signal generator to be in step mode.
  • Page 36   Model 845-M Programmer’s Manual V1.1 2011 36   ...
  • Page 37: [Source]:Fm Subsystem (Frequency Modulation)

      Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:FM Subsystem (Frequency Modulation) Command Parameters Unit (default) [SOURce:]FM:DEViation <value> [SOURce:]FM:SENSitivity <value> 10000 Hz/V [SOURce:]FM:INT:FREQuency <value> [SOURce:]FM:SOURce INTernal| EXTernal [SOURce:]FM:STATe ON|OFF|1|0 [SOURce:]FM:COUPling DC | AC FM:DEViation [SOURce]:FM:SENSitivity <value> [SOURce]:FM: SENSitivity? This command sets the frequency modulation deviation. This setting will be used if :FM:SOURce is set to LFGenerator.
  • Page 38   Model 845-M Programmer’s Manual V1.1 2011 [SOURce:]FM:COUPling DC | AC [SOURce:]FM:COUPling? This command selects to signal coupling for the external FM modulation. *RST AC 38   ...
  • Page 39: [Source]:Pm Subsystem (Phase Modulation)

      Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:PM Subsystem (Phase Modulation) Command Parameters Unit (default) [SOURce:]PM:DEViation <value> 1 rad [SOURce:]PM:SENSitivity <value> 1 rad/V [SOURce:]PM:SOURce EXTernal | INTernal [SOURce:]PM:STATe ON|OFF|1|0 PM:DEViation [SOURce]:PM:SENSitivity <value> [SOURce]:PM: SENSitivity? This command sets the phase modulation deviation. This setting will be used if :PM:SOURce is set to LFGenerator.
  • Page 40: [Source]:Pulm Subsystem (Pulse Modulation)

      Model 845-M Programmer’s Manual V1.1 2011 [SOURce]:PULM Subsystem (Pulse Modulation) This additional functionality provides pulse modulation of the RF output signal delivered to the load by an internal or external modulation signal. The INTernal selection accesses the internally generated modulation input while EXTernal selects the external pulse (rear panel connector) input.
  • Page 41   Model 845-M Programmer’s Manual V1.1 2011 :PULM:SOURce [SOURce]:PULM:SOURce INTernal|EXTernal [SOURce]: PULM:SOURce? *RST INT :PULM:STATe [SOURce]:PULM:STATe ON|OFF|1|0 [SOURce]:PULM:STATe? This command enables or disables pulse modulation for the selected path. *RST 0 :PULM:MODE [SOURce]:PULM:MODE FIXed | LIST [SOURce]:PULM:MODE? This command sets the modulation mode. With “FIXed”, the normal ON/OFF modulation can be performed.
  • Page 42: Trigger Subsystem

    (states), which are also called high and low periods. You can configure the 845-M to trigger on either state of the trigger signal. It is common to have multiple triggers, also referred to as trigger occurrences or events, occur when the signal generator requires only a single trigger.
  • Page 43 This command sets the amount of time to delay the Model 845-M response to an external trigger. The delay is a path (time) delay between when the Model 845-M receives the trigger and when it responds to the trigger. The delay does not occur until you turn it on. You can set the delay value either before or after turning it on.
  • Page 44   Model 845-M Programmer’s Manual V1.1 2011 TRIGGer[:SEQuence]:RETRigger ON|OFF|IMMediate TRIGGer[:SEQuence]:RETRigger? This command enables or disables the ARB retriggering mode; the retrigger mode controls how the retriggering function performs while a waveform is playing. ON (1) This choice specifies that if a trigger occurs while a waveform is playing, the waveform will retrigger at the end of the current waveform sequence and play once more.
  • Page 45: Status Subsystem

      Model 845-M Programmer’s Manual V1.1 2011 :STATus Subsystem This subsystem controls the status-reporting structures. Command Parameters Unit Remark (default) :STATus:OPERation[:EVENt]? :STATus:OPERation:CONDition? :STATus:OPERation:ENABle <value> :STATus:OPERation:PTR <value> :STATus:OPERation:NTR <value> :STATus:PREset :STATus:QUEStionable[:EVENt]? :STATus:QUEStionable:CONDition? :STATus:QUEStionable:ENABle <value> :STATus:QUEStionable:PTR <value> :STATus:QUEStionable:NTR <value> :OPERation? :STATus:OPERation[:EVENt]? This query returns the contents of the operation status event register and clears it.
  • Page 46   Model 845-M Programmer’s Manual V1.1 2011 :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. :QUEStionable:PTR :STATus:QUEStionable:PTR This command sets the positive transition filter of the questionable status event register.
  • Page 47: System Subsystem

      Model 845-M Programmer’s Manual V1.1 2011 :SYSTem Subsystem Command Parameters Unit Remark (default) :SYSTem:ERRor[:NEXT]? :SYSTem:ERRor:ALL? :SYSTem:PRESet V0.4.1 :SYSTem:VERSion? V0.4.1 :SYSTem:LOCK V0.4.1 :SYSTem:LOCK:RELease V0.4.1 :ERRor? :SYSTem:ERRor[:NEXT]? Return Parameters: Integer error number Query command is a request for the next entry in the instrument’s error queue. Error messages in the queue contain an integer in the range [–32768, 32768] denoting an error code and associated...
  • Page 48: [:System:communicate] Subsystem

      Model 845-M Programmer’s Manual V1.1 2011 [:SYSTem:COMMunicate] Subsystem Command Parameters Unit (default) :SYSTem:COMMunicate:LAN:CONFig DHCP|MANual|AUTO DHCP :SYSTem:COMMunicate:LAN:DEFaults V0.4.1 :SYSTem:COMMunicate:LAN:DHCP:TIMeout N/A 30 sec :SYSTem:COMMunicate:LAN:GATeway <ipstring> “0.0.0.0” :SYSTem:COMMunicate:LAN:IP <ipstring> :SYSTem:COMMunicate:LAN:RESTart :SYSTem:COMMunicate:LAN:SUBNet <ipstring> “255.255.255 .0” :SYSTem:COMMunicate:SOCKet:ECHO ON|OFF|1|0 :LAN:CONFig :SYSTem:COMMunicate:LAN:CONFig DHCP|MANual|AUTO :SYSTem:COMMunicate:LAN:CONFig? This command sets the signal generator’s internet protocol (IP) address.
  • Page 49   Model 845-M Programmer’s Manual V1.1 2011 This command defines the domain name of the signal generator’s DNS server. This entry defines the DNS server for the signal generator LAN connection. The query returns the current setting, not the saved setting.
  • Page 50 (IP) network connection. :SOCKet:ECHO :SYSTem:COMMunicate:SOCKet:ECHO This command turns the echo from the Model 845-M controller on or off. Echo is typically turned on only for a telnet session. The Model 845-M returns a “>>” prompt when ready. 50 ...
  • Page 51: Unit Subsystem

      Model 845-M Programmer’s Manual V1.1 2011 UNIT Subsystem Command Parameters Unit (default) Remark UNIT:POWer W|V|DBM|DB V0.4.1 UNIT:POWer UNIT:POWer W|V|DBM|DB *RST DBM UNIT:FREQuency UNIT:FREQuency HZ|MHZ|GHZ *RST HZ 51   ...
  • Page 52: Company Details

    About the Company Berkeley Nucleonics Corporation is a leading manufacturer of precision electronic instrumentation for test, measurement and nuclear research. BNC has its corporate headquarters in San Rafael, California with several additional manufacturing facilities and sales offices located throughout the United States.

Table of Contents