background image

 

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 [email protected] Toll Free:  800-234-7858, Fax: 415-453-9955

Содержание 845-M

Страница 1: ...mer 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 ...

Страница 2: ...roduction 12 SCPI Command Types 13 SCPI Command Syntax 13 Hierarchical Command Structure 14 Status System Programming 15 SCPI Command Description 19 ABORt Subsystem 19 DISPlay Subsystem 20 INITiate Subsystem 21 SOURce FREQuency Subsystem 23 SOURce PHASe Subsystem 25 SOURce POWer Subsystem 26 SOURce ROSCillator Subsystem 28 SOURce LISTSubsystem 29 SOURce LFOutput Subsystem 32 SOURce SWEep Subsystem...

Страница 3: ...the LAN and the bus data transfer and controlfunctions x A general description of how to establish connection to the Model 845 M via LAN USB or GPIB x A listingof the IEEE 488 Interface Function Messages recognized by the signal generator with a description of itsresponse x A complete listingand description of all the StandardCommands for Programmable Instruments SCPI commands that can be used to ...

Страница 4: ... system administratorcan tell you which method to use Most currentLAN networks use DHCP DHCP Configuration If the DHCPserver usesdynamic DNS to link the hostnamewith the assigned IP address the hostname may be used in place of the IP address Otherwise the hostname is not usable Ethernet Interface Connection and Setup TheModel 845 M fully supports the IEEE 802 3standard Most front panel functions e...

Страница 5: ...estof the network Every network card has a unique MAC address permanently storedinto its memory Interface between the signal generator and other devices on the network is via a categoryfive CAT 5 interfacecable connected to a network This cable uses four twisted pairs of copper insulators terminated into an RJ45connector CAT 5 cabling is capable of supportingfrequencies up to 100 MHz and data tran...

Страница 6: ...een two pieces of software Thesocket can be accessedusing code libraries packaged with the computer operating system Two common versions of socket libraries are the Berkeley Sockets Library for UNIX systems and Winsock for Microsoft operating systems Your signal generator implements a socketApplications Programming Interface API that is compatiblewith Berkeley socket for UNIX systems and Winsock f...

Страница 7: ... time Thetelnet service is available on port 18 Once a telnet session to the device isestablished the echo can be enabled by typing SYST COMM SOCK ECHO ON Following thiscommand a prompt should become visible USB fully supported from Firmware 0 4 0 upwards TheModel 845 M supports the following USB interface protocols 1 USBTMC classdevice via VISA 2 USBTMC the applicationprogramminginterface API pro...

Страница 8: ...on channel though USB LAN or GPIB from any programmingenvironment Please contact Berkeley Nucleonics for more detailed documentation programmingsamples and updates on the DLL library GPIB Interface Connection and Setup This documentationis available in an updated version of thisprogrammer s manual Using SCPI for Mode1 845 M TheStandard Commandsfor Programmable Instrumentation SCPI provides a unifo...

Страница 9: ...est Enable Query STB Read Status ByteQuery TST Self Test Query WAI Wait to Continue Command CLS TheClear Status CLS command clears the status byte by emptying the error queue and clearing all the event registers including the Data Questionable EventRegister the Standard Event Status Register the StandardOperation Status Register and any other registers that are summarized in the status byte ESE da...

Страница 10: ...ting should be longer than the longest sweep OPT Theoptions OPT query returnsa comma separated listof all of the instrumentoptions currently installedon the signal generator PSC ON OFF 1 0 ThePower On Status Clear PSC command controls the automatic power on clearing of the Service Request Enable Register the Standard EventStatus Enable Register and device specific event enable registers ON 1 This ...

Страница 11: ...ble SRE query returnsthe value of the Service Request Enable Register Range 0 63 128 191 STB TheRead Status Byte STB query returnsthe value of the status byte including the master summary status MSS bit Range 0 255 TRG TheTrigger TRG command triggers the device if LAN is the selected trigger source otherwise TRGis ignored TST TheSelf Test TST query initiates the internal self test and returnsone o...

Страница 12: ...learn self explanatoryand account for both novice and expert programmer s usage Once familiar with the organization and structure of SCPI considerable efficiency gains can be achieved during control program development independent of the control programlanguage selected A key to consistent programmingis the reduction of multiple ways to controlsimilar instrument functions Thephilosophy of SCPI is ...

Страница 13: ... Unrecognized versions of long form or shortform commands or improper syntax will generate an error Structure of a Command Line A command line may consist of one or several commands It is terminated by an EOI together with the lastdata byte Several commands in a command line mustbe separated by a semicolon If the next command belongs to a different command system the semicolon is followed by a col...

Страница 14: ...llowed UnitsIn the case of physical quantities the unit can be entered Permissible unit prefixes are G giga MA mega MHZ are also permissible K kilo M milli U micro and N nano If the unit is missing the basic unit is used Boolean Parameters Boolean parameters represent two states TheON state logically true is represented by ON or a numerical value unequal to 0 TheOFF state logically false is repres...

Страница 15: ...dard EventStatus Enable Register TheModel 845 M status system consistsof the following SCPI defined status reporting structures x TheInstrumentSummary Status Byte x TheStandard EventStatus Group x TheOperation Status Group x TheQuestionable Status Group Thefollowing paragraphs describe the registers that make up a status group and explain the status information that each status group provides Stat...

Страница 16: ...nly Enable Register Theenable register specifiesthe bitsin the event register that can produce a summary bit The Model 845 M logically ANDs corresponding bitsin the event and enable registers and ORs all the resulting bitsto obtain a summary bit Summary bitsare recorded in the Summary Status Byte Enable registers are read write Querying an enable register does not affect it Thecommand STATus PRESe...

Страница 17: ... control 2 Setto indicatethat a query error has occurred Query errors have SCPI error codes from 499 to 400 3 Setto indicatethat a device dependent error has occurred Device dependent errorshave SCPI error codes from 399to 300and 1 to 32767 4 Setto indicatethat an execution error has occurred Execution errors have SCPI error codes from 299to 200 5 Setto indicatethat a command error has occurred Co...

Страница 18: ...p consisting of the Questionable Conditionregister the Questionable PositiveTransition register the Questionable Negative Transition register the Questionable Event register and the Questionable EventEnable register isused to determine the specificcondition that set bit 3in the Summary Status Byte ...

Страница 19: ...ands or associated data parameters asshown below The ABORt command along with the TRIGger and INITiate commands comprise the Triggergroup of commands Command Parameters Unit default Remark ABORt V0 3 10 ABORt ABORt This command causesthe List or Stepsweep in progress to abort Even if INIT CONT ALL is set to ON the sweep will not immediately re initiate ...

Страница 20: ... WINDow TEXT STATe ON OFF 1 0 V0 4 1 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 ...

Страница 21: ... The INITiate commands along with the ABORt and TRIGger commands comprise the TriggerGroupof commands Command Parameters Unit default Remark INITiate IMMediate ON V0 3 10 INITiate CONTinuous ON OFF 1 0 OFF V0 3 10 INITiate IMMediate Sets Model 845 M trigger to the armed state INITiate CONTinuous ON OFF 1 0 Continuously rearms the Model 845 M trigger system after completion of a triggered sweep ...

Страница 22: ...1 0 OFF OUTPut BLANking ON OFF 1 0 OFF V0 4 1 STATe ON OFF 1 0 OUTPut STATe ON OFF 1 0 Turns Model 845 M RFoutput 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 OFFleaves RF output turned on unblanked ...

Страница 23: ...T This choice selects the swept frequency mode If sweep triggering is setto immediate along with continuous sweep mode executing the command starts the LIST or SWEep frequency sweep In SWEep mode frequencywill be determined by programmed values for the STARt and STOP FREQuencysubsystem commands In LIST mode frequencyis determined by programmedvalues for LIST FREQuency FREQuency STARt SOURce FREQue...

Страница 24: ...24 Model 845 M Programmer s Manual V1 1 2011 This command sets the step size for a logarithmic stepsweep ...

Страница 25: ... 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 PHASe ADJust SOURce PHASe ADJust value unit SOURce PHASe ADJust This command adjusts the phase of the signal Thequery will only return values in radians RST Thepresetvalue is 0 ...

Страница 26: ...T SWEep SOURce POWer MODE This command sets the signal generator power mode to fixed or swept FIX This choice stops a power sweep allowing the signal generator to operate at a fixed power level Referto LEVel IMMediate AMPLitude command for setting the output power level LIST or SWEep This choice selects the swept power mode If sweep triggering is setto immediate along with continuous sweep mode ex...

Страница 27: ... dBm e g using a SOURce POWer ATTenuation value of 50 dB the output RF power range is 80 40 dBm RST Thepresetvalue is 0 ATTenuation AUTO SOURce POWer ATTenuation AUTO ON OFF 1 0 SOURce POWer ATTenuation AUTO Devices with option PE only This command turnsthe power range extensionon or off Turning it off allows fast power sweeps for devices featuring an extended output power range RST Thepresetvalue...

Страница 28: ...conveys the expected reference frequencyvalue of an externally applied reference the signal generator Thevariable val is expressed in unitsof MHz RST 10 MHz Range 1 to 250MHz LOCKed SOURce ROSCillator LOCKed Thiscommand queries if the synthesizer islocked to the externally applied reference OUTPut STATe SOURce ROSCillator OUTPut STATe ON OFF 1 0 SOURce ROSCillator OUTPut STATe Thiscommand enables ...

Страница 29: ...everses the directionof the sweep RST UP LIST DWELl SOURce LIST DWELl value value SOURce LIST DWELl POINts This command sets the dwell time for the currentlistsweep points Dwell time is used when IMMediate is the trigger source Thedwell time is the amount of time the sweep is guaranteed to pause after setting the frequency and or power for the currentpoint Thesetting enabled by thiscommand is not ...

Страница 30: ...or stepmode is controllingfrequency or power or both then the indexed point in the respective list s will be used Entering a value with thiscommand will have no effect unless MANual is the selected mode Refer to LIST MODEcommand for setting the proper mode If the point selected is beyond the length of the longestenabled list then the point will be set to the maximum possible point and an error wil...

Страница 31: ...UNt value SOURce LIST COUNt This command sets the number of consecutive timesthe listis 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 activelistsweep 0 0 1 0 ...

Страница 32: ...e LFOutput FREQuency value SOURce LFOutput FREQuency This command sets the low frequency generator frequency This setting does only take effect if LFOutput SOURce is setto LFGenerator Thevariable value is expressed in unitsof Hertz Range 10 5000000 RST 400 LFOutput STATe SOURce LFOutput STATe ON OFF 1 0 SOURce LFOutput STATe This command sets the functionoutput low frequencygenerator state RST OFF...

Страница 33: ...s setting does only take effect if LFOutput SOURce is setto 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 TRIGger This selects the trigger as the function output signal RST LFG ...

Страница 34: ...101 Range 2 65535 SWEep DWELl SOURce SWEep DWELl value SOURce SWEep DWELl This command sets the dwell time for the currentstepsweep points Dwell time is used when IMMediate is the trigger source Thedwell time is the amount of time the sweep is guaranteed to pause after setting the frequency and or power for the currentpoint Thesetting enabled by thiscommand is not affected by signal generator powe...

Страница 35: ... STOP SOURce POWer STOP value unit SOURce POWer STOP This command sets the lastamplitude point in a stepsweep RST Range Referto LEVel IMMediate AMPLitude command for the output power ranges SOURce AM Subsystem Amplitude Modulation Command Parameters Unit default SOURce AM DEPTh value 0 8 80 PCT SOURce AM STATe ON OFF 1 0 SOURce AM INTernal FREQuency value 400 Hz SOURce AM SOURce INTernal EXTernal ...

Страница 36: ...36 Model 845 M Programmer s Manual V1 1 2011 ...

Страница 37: ...d sets the frequencymodulation deviation per one volt peak amplitude signal input This setting will be used if FM SOURce is setto EXTernal The variable value is expressed in unitsof Hertz per Volt RST 10000 FM INT FREQuency SOURce FM INT FREQuency value SOURce FM INT FREQuency This command sets the frequency modulation rate in Hz This setting will be used if FM SOURce is setto INTernal Thevariable...

Страница 38: ...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 ...

Страница 39: ...of radians RST 1 PM SENSitivity SOURce FM SENSitivity value SOURce FM SENSitivity This command sets the phase modulation deviation per one volt peak amplitude signal input This setting will be used if PM SOURce is setto EXTernal Thevariable value is expressed in unitsof radians per Volt RST 1 PM SOURce SOURce PM SOURce EXTernal INTernal SOURce PM SOURce This command selects the PM modulation signa...

Страница 40: ...al FREQuency SOURce PULM INTernal FREQuency frequency SOURce PULM INTernal FREQuency This command sets the pulse rate for the internally generated square wave using the variable frequency RST 400 Hz Range INT 0 1 Hz 100 kHz EXT 0 1 Hz 10 MHz PULM INTernal PERiod SOURce PULM INTernal PERiod period SOURce PULM INTernal PERiod This command sets the pulse period for the internally generated pulse modu...

Страница 41: ...ATe Thiscommand 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 With LIST an arbitrary bit pattern can be loaded that will be used to modulate the carrier LISTmode is available with pulse train option RST FIXed ...

Страница 42: ...s only one trigger event 3 Selecting the trigger source which determines how the Model 845 M receives itstrigger signal internally or externally TheGATE choice requires an external trigger 3 Setting the trigger polarity when using an external source Command Parameters Unit default Remark TRIGger SEQuence TYPE NORMal GATE POINt N A V0 3 10 TRIGger SEQuence TYPE GATE LOW HIGH HIGH V0 3 10 TRIGger SE...

Страница 43: ...IGger 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 EXTernal This choice enables the triggering of a sweep event by an externally applied signal at the MOD IN connector BUS This choice enables triggering over the LAN using the TRGor GET commands RST IMM TRIGger SEQ...

Страница 44: ...dulo 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 TRIGger SEQuence OUTPut POLarity TRIGGer SEQuence OUTPut POLarity NORMal INVerted TRIGGer SEQuence OUTPut POLarity This command sets the trigger output signal polarit...

Страница 45: ...ster and clears it OPERation CONDition STATus OPERation CONDition This query returns the contents of the operation status condition register OPERation ENABle STATus OPERation ENABle This command sets the enable mask of the operation status event register OPERation PTR STATus OPERation PTR This command sets the positivetransition filter of the operation status event register OPERation NTR STATus OP...

Страница 46: ...tionable 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 positivetransition filter of the questionable status event register QUEStionable NTR STATus QUEStionable NTR This command sets the negative transition filter of the questionable status event register ...

Страница 47: ...ve text ERRor ALL SYSTem ERRor ALL ReturnParameters Listof integer error number Query command is a requestfor the all entriesin the instrument s error queue Error messages in the queue contain an integer in the range 32768 32768 denoting an error code and associated descriptive text This query clears the instrument s error queue PRESet SYSTem PRESet Resets mostsignal generator functions to factory...

Страница 48: ...k to Auto IP if DHCP fails If both DHCP and Auto IP fail manual configuration will be used LAN DEFaults SYSTem COMMunicate LAN DEFaults This command restores the instrument s LAN settings to their factory default values LAN DESCription not implemented SYSTem COMMunicate LAN DESCription string SYSTem COMMunicate LAN DESCription This command definesthe instrument s web description Thequery returnsth...

Страница 49: ...g LAN GATeway SYSTem COMMunicate LAN GATeway ipstring SYSTem COMMunicate LAN GATeway This command sets the gateway for local area network LAN accessto the signal generator from outside the current sub network Thequery returnsthe currentsetting not the saved setting LAN HOSTname SYSTem COMMunicate LAN HOSTname string SYSTem COMMunicate LAN HOSTname This command sets the signal generator s local are...

Страница 50: ...and restarts the network to enable changes that have been made to the LAN setup LAN SUBNet SYSTem COMMunicate LAN SUBNet ipstring SYSTem COMMunicate LAN SUBNet This command sets the signal generator s local area network LAN subnet mask addressfor your internet protocol IP network connection SOCKet ECHO SYSTem COMMunicate SOCKet ECHO This command turnsthe echo from the Model 845 M controller on or ...

Страница 51: ...845 M Programmer s Manual V1 1 2011 UNIT Subsystem Command Parameters Unit default Remark UNIT POWer W V DBM DB DBM V0 4 1 UNIT POWer UNIT POWer W V DBM DB RST DBM UNIT FREQuency UNIT FREQuency HZ MHZ GHZ RST HZ ...

Страница 52: ... 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 ...

Отзывы: