

:SYSTem:COMMunicate:LAN:GATeway. Example: :SYSTem:COMMunicate:LAN:GATeway "192.168.1.1".:SYSTem:COMMunicate:LAN:SMASk.:SYSTem:COMMunicate:LAN:TYPE. Example: :SYSTem:COMMunicate:LAN:TYPE DHCP.:SYSTem:LANGuage. Example: :SYSTem:LANGuage SCHINESE.:SYSTem:PON:TYPE. Example: SYSTem:PON:TYPE DFT.:SYSTem:PRESet.:SYSTem:RESTart.:SYSTem:FDEFault.:SYSTem:LKEY.:SYSTem:OPTions?.:SYSTem:POWer:OFF.:SYSTem:CONFigure:SYSTem?.:INSTrument[:SELect].:INSTrument:MEASure.:INITiate[:IMMediate].:INITiate:CONTinuous.[:SENSe]:FREQuency:CENTer, [:SENSe]:FREQuency:STARt, [:SENSe]:FREQuency:STOP, and [:SENSe]:FREQuency:SPAN.[:SENSe]:FREQuency:TUNE:IMMediate.:DISPlay:WINDow:TRACe:Y[:SCALe]:RLEVel and [:SENSe]:POWer[:RF]:ATTenuation.:DISPlay:WINDow:TRACe:GRATicule:GRID:BRIGhtness <value> sets the grid brightness, with a range from 0 to 100 and a default of 30%. The current brightness can be queried using :DISPlay:WINDow:TRACe:GRATicule:GRID:BRIGhtness?.:DISPlay:WINDow:TRACe:Y:DLINe:STATe OFF|ON|0|1 toggles the display line state, with a default of OFF. The state can be queried with :DISPlay:WINDow:TRACe:Y:DLINe:STATe?.:DISPlay:WINDow:TRACe:Y:DLINe <value> sets the amplitude value for the display line, with a range from the reference level to 100 dBm below it, defaulting to 0 dBm.:CALCulate:MARKer[1]|2|3|4:STATe OFF|ON|0|1 toggles the marker status, with a default of OFF. The state can be queried with :CALCulate:MARKer[1]|2|3|4:STATe?.:CALCulate:MARKer[1]|2|3|4:MODE POSition|DELTa|BAND|OFF selects the marker type, with a default of OFF. The mode can be queried with :CALCulate:MARKer[1]|2|3|4:MODE?.:CALCulate:MARKer[1]|2|3|4:TRACe 1|2|3|4 assigns a marker to a specific trace, defaulting to trace 1.:CALCulate:MARKer[1]|2|3|4:X <para> positions the marker on its trace at a specified X value, with a range of 0 Hz to 3.2 GHz or 10 ms to 1000 s.:CALCulate:MARKer[1]|2|3|4:X:REFerence <para> positions the reference marker on its trace at a specified X value, used in DELTa|BAND modes.:CALCulate:MARKer[1]|2|3|4:X:DELTa <para> positions the delta marker on its trace at a specified X value, used in DELTa|BAND modes.:CALCulate:MARKer[1]|2|3|4:X:CENTer <para> sets the center frequency of the center pair marker, used in DELTa|BAND modes.:CALCulate:MARKer[1]|2|3|4:X:SPAN <para> sets the X value for the span of the Span Pair marker, used in DELTa|BAND modes.:CALCulate:MARKer[1]|2|3|4:Y? reads the current Y value for the designated marker.:CALCulate:MARKer[1]|2|3|4:Y:REFerence? gets the current Y value for the designated reference marker, used in DELTa|BAND modes.:CALCulate:MARKer[1]|2|3|4:Y:DELTa? gets the current Y value for the designated delta marker, used in DELTa|BAND modes.:CALCulate:MARKer:TABLe ON|OFF|0|1 toggles the marker table status, defaulting to OFF.:CALCulate:MARKer[1]|2|3|4[:SET]:START, :STOP, and :CENTer set the start, stop, or center frequency to the marker frequency, not available in zero span.:CALCulate:MARKer[1]|2|3|4:DELTa[:SET]:SPAN and :CENTer set the span or center frequency to the delta marker frequency, used in DELTa|BAND modes.:CALCulate:MARKer:PEAK:SEARch:MODE MAXimum|MINimum configures the peak search type, defaulting to MAXimum.:CALCulate:MARKer:PEAK:THReshold -50.:CALCulate:MARKer:PEAK:EXCursion 10.:CALCulate:MARKer:PEAK:TABLe ON.:CALCulate:MARKer1:CPEak ON.:CALCulate:MARKer4:MAXimum.:CALCulate:LLINe:TEST:STARt.:CALCulate:LLINe1:STATe OFF.:ACPRatio:BWIDth:INTegration 20 MHz.:MEASure:ACPRatio:LOWer? returns the lower adjacent channel power to main channel power ratio in dBm.:MEASure:ACPRatio:UPPer:POWer? and :MEASure:ACPRatio:UPPer? return the upper adjacent channel power and its ratio to the main channel power, respectively.[:SENSe]:CHPower:BWIDth:INTegration sets or queries the integration bandwidth for power calculation, ranging from 100 Hz to 3.2 GHz.[:SENSe]:CHPower:FREQuency:SPAN:POWer sets the analyzer span for channel power measurement.:MEASure:CHPower?, :MEASure:CHPower:CHPower?, and :MEASure:CHPower:DENSity? return channel power and power spectral density in dBm and dBm/Hz, respectively.[:SENSe]:OBWidth:METHod toggles between percent and dBc methods for OBW measurement.[:SENSe]:OBWidth:PERCent and [:SENSe]:OBWidth:XDB set the percentage of signal power and dBc value for emission bandwidth determination.:MEASure:OBWidth?, :MEASure:OBWidth:OBWidth?, and :MEASure:OBWidth:CENTroid? query the occupied bandwidth and centroid.[:SENSe]:TPOWer:FREQuency:CENTer, [:SENSe]:TPOWer:LLIMit, and [:SENSe]:TPOWer:RLIMit set or query the T-power center frequency, start, and stop lines.:MEASure:TPOWer? returns the T-power measurement result in dBm.[:SENSe]:SPECtrogram:STATe sets or queries the spectrogram state (RUN or PAUSE).[:SENSe]:SPECtrogram:RESTart restarts the spectrogram.:MEASure:TOI? and :MEASure:TOI:IP3? return the TOI result and the minimum intercept of the lower and upper TOI.:TRIGger[:SEQuence]:SOURce specifies the trigger source (IMMediate, VIDeo, EXTernal).:TRIGger[:SEQuence]:VIDeo:LEVel sets or queries the video trigger level.:TRIGger[:SEQuence]:RFBurst:SLOPe sets the trigger edge (POSitive or NEGative).:OUTPut[:STATe] and :SOURce:POWer[:LEVel][:IMMediate][:AMPLitude] control the TG state and level.:CALCulate:NTData[:STATe] and :DISPlay:WINDow:TRACe:Y[:SCALe]:NRLevel manage TG normalization settings.[:SENSe]:DEMod and [:SENSe]:DEMod:TIME set or query the demodulation mode and time.[:SENSe]:DEMod:EPHone and [:SENSe]:DEMod:VOLume control earphone state and volume.[:SENSe]:CALibration:STATe sets or queries the calibration state.:MMEMory:STORe <type>,<file>. Example: :MMEMory:STORe STA,ABC.sta.:MMEMory:LOAD <type>,<file>. Example: :MMEMory:LOAD STA,ABC.sta.:MMEMory:DELete <file>. Example: :MMEMory:DELete ABC.sta.Programming Guide SSA3000X Series Spectrum Analyzer
Open the catalog to page 11.Programming Overview SSA3000X Series Spectrum Analyzer support both USB and LAN interfaces. By using these interfaces, in combination with NI-VISA and programming languages, users can remotely control the spectrum analyzer. Through LAN interface, VXI-11, Sockets and Telnet protocols can be used to communicate with the spectrum analyzer. This chapter introduces how to build communication between the spectrum analyzer and the PC. It also introduces the remote control capabilities. Build Communication Using VISA 1、Install NI-VISA Before programming, you need to install NI-VISA, which you can download...
Open the catalog to page 3c.The NI-VISA installing dialog is shown above. Click Next to start the installation process. Set the install path, default path is “C:\Program Files\National Instruments\” , you can change it. Click Next, dialog shown as above. d. Click Next twice, in the License Agreement dialog, select the “ I accept the above 2 License Agreement(s).” ,and click Next, dialog shown as below:
Open the catalog to page 4e. Click Next to run installation. Now the installation is complete, reboot your PC. 2、Connect the Instrument Depending on your specific model your spectrum analyzer may be able to communicate with a PC through the USB or LAN interface. This manual takes the USB as an example. (For instructions to communicate with a PC through the LAN interface see the User Manual.) a. Connect the USB Device interface at the rear panel of the spectrum analyzer and the USB Host interface of the PC using a USB cable. Assuming your PC is already turned on, turn on your spectrum analyzer and your PC will display...
Open the catalog to page 5SCPI commands present a hierarchical tree structure containing multiple subsystems, each of the subsystems is made up of a root keyword and several subkeywords. The command string usually starts with “:”, the keywords are separated by “:” and the followed parameter settings are separated by space. Query commands add “?” at the end of the string. For example: :SENSe:FREQuency:CENTer <freq> :SENSe:FREQuency:CENTer? SENSe is the root key of the command, FREQuency and CENTer are second and third keywords. The command begins with “:”, and separates the keywords at the same time, <freq> separated by...
Open the catalog to page 7All of the commands are not case sensitive, so you can use any of them. But if abbreviation is used, all the capital letters in the command must be written completely. For example: :DISPlay:WINDow:TRACe:Y:DLINe:STATe? Can be abbreviated to: :DISP:WIND:TRAC:Y:DLIN:STAT?
Open the catalog to page 8This chapter introduces the Siglent Technologies SSA3000X SCPI commands, include: IEEE Common Commands 3.1
Open the catalog to page 93.1.8 Status Byte Query (*STB)
Open the catalog to page 113.2.12 Factory ReSet (:SYSTem:FDEFault) Command Format
Open the catalog to page 14SIGLENT 3.2.16 System Info (:SYSTem:CONFigure:SYSTem?)
Open the catalog to page 163.5.1.5 Center Frequency Step Mode ([:SENSe]:FREQuency:CENTer:STEP:AUTO)
Open the catalog to page 193.5.3.2 Input Attenuator ([:SENSe]:POWer[:RF]:ATTenuation) Command :DISPlay:WINDow:TRACe:Y:SCALe:RLEVel:OFFSet <value> Format |:DISPlay:WINDow:TRACe:Y:SCAI_e:RLEVel:OFFSet?
Open the catalog to page 22SIGLENT 3.5.3.15 Input Impedance ([:SENSe]:CORRection:IMPedance[:INPut][:MAGNitude])
Open the catalog to page 263.5.4.3 Video Bandwidth ([:SENSe]:BWIDth:VIDeo)
Open the catalog to page 273.5.7.1 Average Type ([:SENSe]:AVERage:TYPE)
Open the catalog to page 323.5.8.1 Sweep Mode ([:SENSe]:SWEep:MODE) 3.5.8.4 Sweep Speed ([:SENSe]:SWEep:SPEed) Command [:SENSe]:SWEep:SPEed NORMal|ACCUracy Format |[:SENSe]:SWEep:SPEed?
Open the catalog to page 333.6.1.14 Marker Table (:CALCulate:MARKer:TABLe) Command |:CALCulate:MARKer:TABLe ON|OFF|0|1 40 SSA3000X Programming Guide
Open the catalog to page 403.6.2.9 Add Limit Point Data (:CALCulate:LLINe[1]|2:DATA) Command Format
Open the catalog to page 503.7.1.1 Main Channel ([:SENSe]:ACPRatio:BWIDth:INTegration)
Open the catalog to page 533.7.1.7 Query Upper Adjacent Channel Power (:MEASure:ACPRatio:UPPer:POWer?)
Open the catalog to page 553.7.2.5 Query Power Spectral Density (:MEASure:CHPower:DENSity?) Command Format
Open the catalog to page 56Example |:TPOWer:LLIMit 0.01 3.7.4.3 T-power Stop Line ([:SENSe]:TPOWer:RLIMit)
Open the catalog to page 603.7.5.2 Spectrogram Restart ([:SENSe]:SPECtrogram:RESTart)
Open the catalog to page 613.8.1 Trigger Type (:TRIGger[:SEQuence]:SOURce)
Open the catalog to page 623.9.4 TG Normalize on-off (:CALCulate:NTData[:STATe]) 3.9.7 TG Normalize Reference Trace on-off (:DISPlay:WINDow:NTTRace[:STATe]) Command | |:DISPlay:WINDow:NTTRace[:STATel OFF|ON|0|1
Open the catalog to page 644.Programming Examples This chapter gives some examples for the programmer. In these examples you can see how to use the VISA or sockets, in combination with the commands have been described above to control the spectrum analyzer. By following these examples, you can develop many more applications. 4.1 Examples of Using VISA 4.1.1 Environment: Win7 32bit system, Visual Studio The functions of this example: use the NI-VISA, to control the device with USBTMC or TCP/IP access to do a write and read. Follow the steps to finish the example: 1、 Open Visual Studio, create a new VC++ win32 console project....
Open the catalog to page 68#include <visa.h> 3n Add codes: (1)USBTMC access code. Write a function Usbtmc_test: int Usbtmc_test() { /* This code demonstrates sending synchronous read & write commands */ /* to an USB Test & Measurement Class (USBTMC) instrument using */ /* NI-VISA */ /* The example writes the "*IDN?\n" string to all the USBTMC */ /* devices connected to the system and attempts to read back */ /* results using the write and read functions. */ /* The general flow of the code is */ /* Open Resource Manager */ /* Open VISA Session to an Instrument */ /* Write the Identification Query Using viPrintf */ /*...
Open the catalog to page 69/* Find all the USB TMC VISA resources in our system and store the number of resources in the system in numlnstrs.*/ status = viFindRsrc (defaultRM, "USB?*INSTR", &findList, &numInstrs, instrResourceString); if (status<VI_SUCCESS) { printf ("An error occurred while finding resources. \nPress ’Enter’ to continue."); fflush(stdin); getchar(); viClose (defaultRM); returnstatus; } /** Now we will open VISA sessions to all USB TMC instruments. * We must use the handle from viOpenDefaultRM and we must * also use a string that indicates which instrument to open. This * is called the instrument descriptor....
Open the catalog to page 7021 Pages
21 Pages
10 Pages
15 Pages
6 Pages
48 Pages
10 Pages
3 Pages
7 Pages
197 Pages
59 Pages
7 Pages
13 Pages
12 Pages
9 Pages
10 Pages
8 Pages
10 Pages