E364xA DC Power Supply

Connection

Input a postive integer as the GPIB Address to connect to Power Supply.

  • If connection succeeds, Connection Status displays “Connected”.
  • If connection fails, Connection Status displays “Failed”.

Disconnection

Click Disconnect button to disconnect UI from Power Supply

Refresh

There are two choices for refresh:

  1. Continous Refresh
    • it will automatically refresh all the displayed values.
  2. Single Refresh
    • click Refresh button , then it will refresh all the displayed values.

Display Mearsured Voltage and Current

Mearsured Voltage will be automatically displayed with unit of V

Mearsured Current will be automatically displayed with unit of A

Set limit of Voltage and Current

  • limit of Voltage and Current will be automaticalled displayed

  • When setting limit of Voltage and Current, hit Enter key on keyboard ater inputing the value.

Variable Name Unit Range for high Voltage Range Range for low Voltage Range
Voltage V 0V ~ 61.8V 0V ~ 36.05V
Current A 0A ~ 0.824A 0A ~ 1.442A

Voltage Range

  1. set Voltage Range to be LOW and HIGH

  2. Click Voltage Range button to update Voltage Range

Output

  1. set Output state to be ON and OFF

  2. Click Output button to update Output

OVP

  1. set OVP State to be ON and OFF

  2. Click OVP State button to update OVP State
    • If OVP State is setted to OFF, then OVP Value input is disabled.
    • If OVP State is setted to ON, OVP Value input is enabled. Then hit Enter key on keyboard ater inputing OVP Value.

SCPI C++ Functions

They are used to coomunicate with Power supply.The names of the funtions are descriptive, so they indicate what they are used for.

Function Name Description
string get_MEASure_CURRent(); get the measured current
string get_MEASure_VOLTage(); get the measured voltage
string get_CURRent(); get the current
string get_CURRent( string MAxMin); get the max.or min. current
void set_CURRent(double offset); set current
string get_VOLTage(); get the voltage
string get_VOLTage( string MAxMin); get the max.or min. voltage
void set_VOLTage(); set voltage
string get_VOLTage_PROTection(); get the voltage protection
string get_VOLTage_PROTection( string MAxMin); get the max.or min. voltage protection
void set_VOLTage_PROTection(); set voltage protection
string get_PROTection_STATe(); get the voltage protection state
void set_PROTection_STATe(); set voltage protection state
void set_VOLTage_PROTection_CLEar(); clear voltage protection
void set_VOLTage_RANGe(string str); set voltage range
string get_VOLTage_RANGe(); get voltage range
void set_OUTPut(string str); set Output
std::string get_OUTPut(); get Output

N1911A/N1912A Power Meter

Connection

Input a postive integer as the GPIB Address to connect to Power Meter.

  • If connection succeeds, Connection Status displays “Connected”.
  • If connection fails, Connection Status displays “Failed”.

Disconnection

Click Disconnect button to disconnect UI from Power Meter

Preset

Click Preset button to preset Power Meter, which makes Power Meter restore to the default setting

Refresh

There are two choices for refresh:

  1. Continous Refresh
    • it will automatically refresh all the displayed values.
  2. Single Refresh
    • click Refresh button , then it will refresh all the displayed values.

Calibration

  1. choose type of Calibration Zero and Cal

You can choose either of them or both.

  1. Click Calibration button to Calibrate

Display Average Power and Peak Power

Average Power and Peak Power will be automatically displayed with unit of dBm

Display and Set Frequency and Offset

  • Frequency and Offset will be automaticalled displayed

  • When setting Frequency and Offset, hit Enter key on keyboard ater inputing the value.

  • When setting Offset, you have to check the checkbox Enable Offset to set Offset state as ON; othewise, Offset will be 0 dB with Offset state OFF

Variable Name Unit Range
Frequency MHZ 0.001MHz ~ 1000000MHz
Offset dB -100 dB ~ 100dB

SCPI C++ Functions

They are used to coomunicate with Power Meter.The names of the funtions are descriptive, so they indicate what they are used for.

Function Name Description
string get_FREQ(); get the current frequency
string get_FREQ( string MAxMin); get the max.or min. frequency
void set_FREQ(double frequency); set frequency
string get_OFFSet(); get the current offset
string get_OFFSet()( string MAxMin); get the max.or min. offset
void set_OFFSet(double offset); set offset
string get_OFFset_STATe() get offset state
void set_OFFset_STATe(string state); set offset state
string get_RF_power(); get the current amplitude
string get_RF_power( string MAxMin); get the max.or min. amplitude
void set_PRESet(); set Power Meter to the deault setting
void set_POWer(string win_num, string feed_num, set displayed power type to specified window
string type); Power types: “AVER” OR “PEAK”
std::string get_POWer(string win_num); get displayed power from specified window
void CALibrate(string win_num, bool zero, bool cal) set Calibration

E4438C Signal Generator

Connection

Input a postive integer as the GPIB Address to connect to ESG.

  • If connection succeeds, Connection Status displays “Connected”.
  • If connection fails, Connection Status displays “Failed”.

Disconnection

Click Disconnect button to disconnect UI from ESG

Preset

Click Preset button to preset ESG, which makes ESG restore to the default setting

Display Errors

Click Display Errors button , then it will display the current errors in PXA.

Trigger

  • Trigger Source has three choices,Free Run,In, and Out.

You can choose one of them.

For Out, you have two subchoice Event1 and Event2. If you choose Out, then You have choose to either Event1 or Event2 or both

  1. Free Run
  2. In
  3. Out
    • Event1
    • Event2
  • SCPI Reference
#[:SOURce]:LIST:TRIGger:SOURce BUS|IMMediate|EXTernal|KEY 
#[:SOURce]:RADio:ARB:MARKer:CLEar:ALL "<file_name>",<marker>
#[:SOURce]:RADio:ARB:MARKer:[SET] "<file_name>",<marker>,<first_point>, <last_point>,<skip_count>

#IN:             [:SOURce]:LIST:TRIGger:SOURce  EXTernal
#Free Run:       [:SOURce]:LIST:TRIGger:SOURce  IMMediate
#Out:     
#    Event1 :    [:SOURce]:RADio:ARB:MARKer:CLEar:ALL "<file_name>",1
#                [:SOURce]:RADio:ARB:MARKer:[SET] "<file_name>", 1,1,10,0     
#    Event2 :    [:SOURce]:RADio:ARB:MARKer:CLEar:ALL "<file_name>",2
#                [:SOURce]:RADio:ARB:MARKer:[SET] "<file_name>", 2,1,10,0                                                             

Reference

  • Reference Source has two choices,In, and Out. You have choose to either In or Out.

RF,MOD and IQ State

You can set states of RF,MOD and IQ.

The default setting of RF and IQ sate is OFF

The default setting of MOD sate is ON

If you want to change the state to be ON, check the checkbox

If you want to change the state to be OFF, uncheck the checkbox

Display and Set Frequency and Amplitude

  • You can choose the units for the displayed and setted Frequency and Amplitude
Variable Name Unit choice Range
Frequency Hz KHz MHz GHz 100KHz ~ 6Gz
Amplitude dBm dBuV mv uV -136dBm ~ 20dBm
  • Clicking Refresh button will refresh the displayed Frequency and Amplitude
  • When setting Frequency and Amplitude, hit Enter key on keyboard ater inputing the value.

Upload Signals

Step 1. specify the names and addresses of the uploaded I and Q files by Browse

Step 2. fill in the parameter values( Wavefrom Name,Sampiling Rate and Frame) for the uploaded I and Q files

Step 3. click Upload Signals button, then signals will be uploaded.

Manage Signals

Step 1. click Manage Signals button, then the names of uploaded signals in ESG will be displayed in the popped window.

Step 2. In the popped window, choose the names of the files you want to delete, and then click Delete button, which will delete those chosen signals from ESG

SCPI C++ Functions

They are used to coomunicate with ESG.The names of the funtions are descriptive, so they indicate what they are used for.

Function Name Description
void preset(); prset ESG to the default setting
string get_error(); display errors
string get_RF_state() get RF state
void set_RF_state(string state); set RF state
string get_mod_state() get mod state
void set_mod_state(string state); set mod state
string get_IQ_state() get IQ state
void set_IQ_state(string state); set IQ state
string get_carrier_frequency(); get the current frequency
string get_carrier_frequency( string MAxMin); get the max.or min. frequency
void set_carrier_frequency(double frequency); set frequency
string get_RF_power(); get the current amplitude
string get_RF_power( string MAxMin); get the max.or min. amplitude
void set_RF_power(double power); set amplitude
void set_sample_clk(double val, double times); set sampling rate
string get_sample_clk(); get sampling rate
vector get_WFM_files(); get names of uploaded signals
void delete_files(vector files); delete Signal files in ESG
void upload_file(string ArbFileName, upload signals
vector* wave); to ESG
string get_TRIGger_state(); get trigger state
void set_TRIGger_state(string str); set trigger state
string get_ARB_ref(); get reference source
void set_ARB_refe(string str); set reference source

PXA Signal Analyzer N9030A

Connection

Input a postive integer as the GPIB Address to connect to PXA.

  • If connection succeeds, Connection Status displays “Connected”.
  • If connection fails, Connection Status displays “Failed”.

Disconnection

Click Disconnect button to disconnect UI from PXA

Preset

Click Preset button to preset PXA, which makes PXA restore to the default setting

Display Errors

Click Display Errors button , then it will display the current errors in PXA.

Trigger

  • Trigger Source has three choices:
  1. External1
  2. External2
  3. Free Run
  • SCPI Reference
#:TRIGger:<meas>[:SEQuence]:SOURce
#EXTernal1|EXTernal2|IMMediate|LINE|FRAMe|RFBurst|VIDeo|IF|ALARm|LAN|IQMag|
#IDEMod|QDEMod|IINPut|QINPut|AIQMag|TV

#In PXA, the trigger source setting is local for each measurement. Include the <meas> keyword #in the command to specify
#the measurement for which you wish to set the trigger source. If the <meas> keyword is omitted (as for the PSA
#command), the setting applies only to the Swept SA measurement.
#PXA supports the command :TRIGger[:SEQuence]:SOURCe EXTernal for backwards compatibility. In this case, the
#parameter EXTernal is mapped to EXTernal1.
#The PSA command [:SENSe]:<meas>:TRIGger:SOURce is supported by PXA for backwards compatibility, but not for
#the Swept SA, Monitor Spectrum, Log Plot or Spot Frequency measurements. If you specify the IF option with this command, PXA selects VIDeo triggering.
#PXA also supports the backwards compatibility command [:SENSe]:ACPR:TRIGger:SOURce, which is mapped to [:SENSe]:ACPr:TRIGger:SOURce for PSA's W-CDMA, cdma2000 and 1xEVDO modes.

Amplitude/Y SCale

You can set Reference level and Attenuation.

Variable Name Unit Range
Reference Level dBm -170dBm ~ 30 dBm
Attenuation db 0dB~ 70dB

Display Average

You can set Average Type and Average Count Number.

  • Average Type has there three chioces:
  1. RMS
  2. LOG
  3. SCALar
  • Average Count Number should be an integer with the range from 0 to 10000

Signal Frequency Setting

  • Specify values of Centrer Frequency,Span, RBW and VBW
Variable Name Unit Range
Centrer Frequency GHz -0.08GHz ~ 27GHz
Span MHz 0MHz ~ 27000MHz
RBW KHz 0.001KHz ~ 8000KHz
VBW KHz 0.001KHz ~ 8000KHz

Note: the input value will be sent to PXA only if you hit Enter key

  on keyboard ater inputing the value.
  • Choose whether to take average trace type
    • if Average checkbox is checked, PXA will take average trace type
    • if Average checkbox is unchecked, PXA will take WRITEe trace type
  • Click refresh button to refresh values of Signal Frequency Setting

Data Saving

Step 1. specify the saving type from the set State,Trace, Wave From and Screen

Step 2. fill in the parameter values for the choosen saving type

Save Type Parameters
State File Name
Trace File Name
Wave From File Name, Sampiling Rate and Frame
Screen File Name

Step 3. click Save button, then data will be saved.

SCPI C++ Functions

They are used to coomunicate with PXA.The names of the funtions are descriptive, so they indicate what they are used for.

Function Name Description
void PresetMode(); prset PXA to the default setting
string get_error(); display errors
void set_reference_level(double level); set reference level
string get_reference_level(); get the current reference level
string get_reference_level(string MaxMin); get max. or min. reference_level
void set_attenuation(int att); set attenuation
string get_attenuation(); get the current attenuation
string get_attenuation( string MAxMin); get the max.or min. attenuation
void set_RF_center_freq(double freq); set center frequency
string get_RF_center_freq(); get the current center frequency
string get_RF_center_freq( string str); get the max.or min. center frequency
void set_span(double span); set span
string get_span(); get the current span
string get_span(string str); get the max. or min. span
void set_bandwidth_resolution(double res); set RBW
string get_bandwidth_resolution(); get current RBW
string get_bandwidth_resolution( string str); get the max. and min. RBW
void set_Video_bandwidth_resolution(double vbw); set VBW
string get_Video_bandwidth_resolution(); get current VBW
string get_Video_bandwidth_resolution(string str); get the max. and min. VBW
void set_averge_count_number(int number); set average count number
string get_averge_count_number(); get the current average count number
string get_averge_count_number(string str); get max. or min. average count number
void set_Average_Type(string type); set average type
string get_Average_Type(); get average type
void set_Trigger_Source(string source); set Trigger Source
string get_Trigger_Source(); get Trigger Source
void save_state(string MyStateFile); save state file
void save_screen(string MyScreenFile); save screen type
void download_spectre( string traceFileName); download trace data
void download_IQ(double time, double clkrate, download IQ data with the parameters:
string fileName); File Name, Sampiling Rate and Frame