background image

SIGLENT

 

122 SSG5000X Programming Guide 

 

the RF output path 

Parameter 
Type

 

Float

 

Parameter 
Range

 

-10 ~ 10

 

Return

 

Float

 

Default

 

0

 

Menu

 

I/Q Control > I/Q Adjustment > Quad Angle Adjustment

 

Example

 

:DM:IQADjustment:QSKEW 1

 

3.8.6.9 

 I/Q Output 

([:SOURce]:DM:IQADjustment:EXTernal[:STATe]) 

Command 
Format

 

[:SOURce]:DM:IQADjustment:EXTernal[:STATe] ON|OFF|1|0

 

[:SOURce]:DM:IQADjustment:EXTernal[:STATe]?

 

Instruction

  This command enables or disables the I/Q output 

Parameter 
Type

 

Boolean

 

Parameter 
Range

 

ON|OFF|1|0

 

Return

 

Boolean

 

Default

 

0

 

Menu

 

I/Q Control > I/Q Output

 

Example

 

:DM:IQADjustment:EXTernal 1

 

3.8.6.10 

 I/Q Output Atten 

([:SOURce]:DM:IQADjustment:EXTernal:IQATten) 

Command 
Format

 

[:SOURce]:DM:IQADjustment:EXTernal:IQATten <val>

 

[:SOURce]:DM:IQADjustment:EXTernal:IQATten?

 

Instruction

  This command sets the I/Q output attenuation level (dB). 

Parameter 
Type

 

Float

 

Parameter 
Range

 

0 ~ 20

 

Summary of Contents for SSG5000X Series

Page 1: ...SSG5000X Series Signal Generator Programming Guide PG0805X E01A...

Page 2: ...arameter Type 16 2 4 Command Abbreviation 18 3 System Commands 19 3 1 IEEE Common Commands 19 3 1 1 Identification Query IDN 19 3 1 2 Reset RST 19 3 1 3 Clear Status CLS 20 3 1 4 Standard Event Status...

Page 3: ...tem 42 3 5 4 SOURce MODulation Subsystem 53 3 5 5 SOURce AM Subsystem 54 3 5 6 SOURce FM Subsystem 56 3 5 7 SOURce PM Subsystem 59 3 5 8 SOURce PULM Subsystem 61 3 5 9 SOURce LFOutput Subsystem 71 3 5...

Page 4: ...LTer NSRatio 85 3 6 20 Logging SENSe POWer LOGGing STATe 86 3 7 I Q Subsystem 86 3 7 1 SOURce RADio CUSTom Subsystem 86 3 7 2 SOURce RADio MTONe Subsystem 96 3 7 3 SOURce RADio DMODulation Subsystem 9...

Page 5: ...VISA Before programming you will need to install NI VISA which you can download from the National Instruments VISA web site There are full and Run Time Engine versions of NI VISA The full version inc...

Page 6: ...he installation process will automatically launch after unzipping files If your computer needs to install NET Framework 4 6 2 its setup process will auto start c The NI VISA installing dialog is shown...

Page 7: ...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 clic...

Page 8: ...amples 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 signal generator and the USB Host interface o...

Page 9: ...es currently available resources and doesn t require additional software hardware to run Before you can use sockets you must select the signal generator socket port number to use Standard mode Availab...

Page 10: ...Commands via NI MAX Users can control the signal generator remotely by sending SCPI commands via NI MAX software 1 2 2 1 Using USB Run NI MAX software 1 Click Device and interface at the upper left co...

Page 11: ...umber and other identification information 1 2 2 2 Using LAN Add a Network Device and select a VISA TCP IP Resource as shown Run NI MAX software 1 Click Device and interface at the upper left corner o...

Page 12: ...SIGLENT 12 SSG5000X Programming Guide shown Click Finish to establish the connection NOTE Leave the LAN Device Name BLANK or the connection will fail...

Page 13: ...onnection should be shown under Network Devices 5 Right click on the product and select Open NI VISA Test Panel 6 Click Input Output option button and click Query option button If everything is OK you...

Page 14: ...SIGLENT 14 SSG5000X Programming Guide...

Page 15: ...and FREQuency is second The command begins with and separates the keywords at the same time freq separated by space and represents the parameter available for setting represents a query A query sent t...

Page 16: ...s and when sending the command you can choose one of the parameters For example In the SOURce AM STATe OFF ON 0 1 command the parameters available are OFF ON 0 or 1 4 Braces The parameters in the brac...

Page 17: ...be set to any integer between 2 and 65535 4 Float The parameter can be any value within the effective value range according to the accuracy requirement the default accuracy contains up to 9 digits aft...

Page 18: ...breviation All of the commands are not case sensitive so you can use any of them But if an abbreviation is used all the capital letters in the command must be written completely For example CORRection...

Page 19: ...TAT Instruction Set 10M Adjustment State Get 10M Adjustment State Parameter Type Boolean Parameter Range ON OFF 1 0 Return Boolean Default 0 Menu Utility Setting 10M Adjustment Example SYSTem REF DAC...

Page 20: ...em REF DAC SAVE test dac 3 1 3Ref Osc Code Load SYSTem REF DAC LOAD Command Format SYSTem REF DAC LOAD file_name Instruction Load existing ref osc code files Parameter Type String Parameter Range None...

Page 21: ...TATe ON OFF 1 0 OUTPut STATe Instruction Activate Deactivate the RF output Get the state of the RFoutput Parameter Type Boolean Parameter Range ON OFF 1 0 Return Boolean Default 0 Menu RF Example OUTP...

Page 22: ...tatus byte register It does this by emptying the error queue and clearing all bits in all of the event registers The status byte register summarizes the states of the other registers It is also respon...

Page 23: ...ding operations have finished The query stops any new commands from being processed until the current processing is complete Then it returns a 1 and the program continues This query can be used to syn...

Page 24: ...ommand causes the instrument to wait until all pending commands are completed before executing any additional commands There is no query form to the command Menu None Example WAI 3 2 10 Self Test Quer...

Page 25: ...mand Format SYSTem DATE yyyymmdd SYSTem DATE Instruction Set system date Get system date Parameter Type String Parameter Range Years four digits month 1 12 date 1 31 Return String Default None Menu Ut...

Page 26: ...cate LAN GATeway Instruction Set the gateway for the signal generator in the network The gateway will be fetched automatically if the IP assignment is set to DHCP Get the gateway Parameter Type String...

Page 27: ...te LAN TYPE Instruction Toggles the IP assignment setting between static manual and DHCP dynamic assignment mode Get the IP config Parameter Type Enumeration Parameter Range STATIC DHCP Return Enumera...

Page 28: ...1 0 SYSTem REF DAC STAT Instruction Set 10M Adjustment State Get 10M Adjustment State Parameter Type Boolean Parameter Range ON OFF 1 0 Return Boolean Default 0 Menu Utility Setting 10M Adjustment Exa...

Page 29: ...t None Menu Utility Setting 10M Adjustment Example SYSTem REF DAC SAVE test dac 3 3 11Ref Osc Code Load SYSTem REF DAC LOAD Command Format SYSTem REF DAC LOAD file_name Instruction Load existing ref o...

Page 30: ...AC DEFault 3 4 Preset Subsystem 3 4 1 Preset SOURce PRESet Command Format SOURce PRESet Instruction Presets all parameters which are related to the selected signal path Parameter Type None Return None...

Page 31: ...STem PRESet PATH path Instruction Set preset file when preset type is user Parameter Type String Return None Default None Menu Utility Preset Example SYSTem PRESet PATH test xml 3 4 4 Preset Type SYST...

Page 32: ...tory preset parameters Parameter Type None Parameter Range None Return None Default None Menu None Example SYSTem FDEFault 3 5 Output Subsystem 3 5 1 RF Output OUTPut STATe Command Format OUTPut STATe...

Page 33: ...Hz MHz GHz Default Hz Parameter Range Frequency offset Full frequency range Return Float unit Hz Default Maximum frequency Menu Freq Example FREQuency DISPlay 2 MHz 3 6 1 2 Frequency SOURce FREQuency...

Page 34: ...Parameter Range 200 GHz 200 GHz Return Float unit Hz Default 0 Hz Menu FREQ Freq Offset Example FREQuency OFFSet 2 MHz 3 6 1 4 Phase Offset SOURce PHASe Command Format SOURce PHASe phase SOURce PHASe...

Page 35: ...ce POWer POWer Instruction Set the RF level display on parameter bar Get the RF level display from the parameter bar Parameter Type Float unit dBm dBmV dBuV V W Default dBm Parameter Range Level Offse...

Page 36: ...Set the RF offset level of the RF output Get the RF offset level of the RF output Parameter Type Float Parameter Range 100 dB 100 dB Return Float unit dB Default 0 dB Menu LEVEL Level Offset Example P...

Page 37: ...1 0 SOURce CORRection FLATness Instruction Activate deactivate flatness correction list Parameter Type Boolean Parameter Range ON OFF 1 0 Return Boolean Default 0 Menu LEVEL Flatness Example CORRectio...

Page 38: ...nteger Parameter Range Less than the total count of the flatness Return None Default None Menu LEVEL Flatness Example CORRection FLATness DELete 0 3 6 2 8 Flatness List Count SOURce CORRection FLATnes...

Page 39: ...CORRection STORe test uflt 3 6 2 10 Flatness List Load SOURce CORRection LOAD Command Format SOURce CORRection LOAD file_name Instruction Load an existing flatness correction file Parameter Type Strin...

Page 40: ...ion Parameter Range FLATness MANUal SWEEPlist Return Enumeration Default FLATness Menu LEVEL Flatness Set Fill Type Example CORRection FLATness FILL TYPE FLATness 3 6 2 13 Flatness List Start Freq SOU...

Page 41: ...et the stop frequency when you want to fill the flatness list with the sensor and filling type is Manual Step Parameter Type Float unit Hz kHz MHz GHz Default Hz Parameter Range Full frequency range R...

Page 42: ...Manual Step Fill Type Parameter Type Float unit Hz kHz MHz GHz Default Hz Parameter Range None Return Float unit Hz Default None Menu LEVEL Flatness Set Fill Type Manual Step Example CORRection FLATn...

Page 43: ...ger Parameter Range 2 500 Return Integer Default 11 Menu LEVEL Flatness Set Fill Type Manual Step Example CORRection FLATness POINt 5 3 6 2 19 Level Control SOURce POWer SPC STATe Command Format SOURc...

Page 44: ...e POWer LIMit Command Format SOURce POWer LIMit power SOURce POWer LIMit Instruction Set the upper limit for the RF output power Get the upper limit for the RF output power Parameter Type Float unit d...

Page 45: ...STATe Instruction Activate frequency or and level sweep Parameter Type Enumeration Parameter Range OFF FREQuency LEVel LEV_FREQ Return Enumeration Default OFF Menu SWEEP Sweep State Example SWEep STAT...

Page 46: ...y Menu SWEEP Step Sweep Start Freq Example SWEep STEP STARt FREQuency 1 GHz 3 6 3 4 Stop Frequency SOURce SWEep STEP STOP FREQuency Command Format SOURce SWEep STEP STOP FREQuency freq SOURce SWEep ST...

Page 47: ...SOURce SWEep STEP STOP LEVel level SOURce SWEep STEP STOP LEVel Instruction Set the stop level for the sweep mode Get the stop level for the sweep mode Parameter Type Float unit dBm dBmV dBuV V W Def...

Page 48: ...an RF sweep Parameter Type Integer Parameter Range 2 65535 Return Integer Default 11 Menu SWEEP Step Sweep Sweep Points Example SWEep STEP POINts 2 3 6 3 9 Sweep Shape SOURce SWEep STEP SHAPe Command...

Page 49: ...e LOGarithmic 3 6 3 11 Sweep Step in Linear Sweep Space SOURce SWEep FREQuency STEP LINear Command Format SOURce SWEep FREQuency STEP LINear freq SOURce SWEep FREQuency STEP LINear Instruction Set the...

Page 50: ...st Command Format SOURce SWEep LIST ADDList freq level time Instruction Insert a new row to the list Parameter Type Freq Float unit Hz kHz MHz GHz Default Hz Level Float unit dBm Time Float unit ns us...

Page 51: ...z Float unit dBm dBmV dBuV V W Default dBm Float unit ns us ms s Parameter Range Raw 1 count of pair Freq Full frequency range Power Full level range time 10 ms 100 s Return None Default None Menu SWE...

Page 52: ...LIST 1 3 3 6 3 18 Sweep List Clear SOURce SWEep LIST INITialize PRESet Command Format SOURce SWEep LIST INITialize PRESet Instruction Restore the scan list of the factory default settings Parameter T...

Page 53: ...t SOURce CORRection LOAD file_name Instruction Load existing sweep list file Parameter Type String Parameter Range None Return None Default None Menu SWEEP List Sweep Load Example SWEep LOAD test lsw...

Page 54: ...SWEep DIRect REV 3 6 3 23 Sweep Mode SOURce SWEep MODE Command Format SOURce SWEep MODE CONTinue SINGle SOURce SWEep MODE Instruction Set the cycle mode of the sweep Get the cycle mode of the sweep P...

Page 55: ...EXT SOURce SWEep POINt TRIGger TYPE Instruction Select the point trigger Get the point trigger Parameter Type Enumeration Parameter Range AUTO KEY BUS EXT Return Enumeration Default AUTO Menu SWEEP P...

Page 56: ...ODulation Instruction Switch modulation on and off Get the modulation state Parameter Type Boolean Parameter Range ON OFF 1 0 Return Boolean Default 0 Menu MOD Example MODulation ON 3 6 5 SOURce AM Su...

Page 57: ...E SQUAre Return Enumeration Default SINE Menu AM AM Shape Example AM WAVEform SINE 3 6 5 3 AM Source SOURce AM SOURce Command Format SOURce AM SOURce INTernal EXTernal INT EXT SOURce AM SOURce Instruc...

Page 58: ...mat SOURce AM FREQuency value SOURce AM FREQuency Instruction Set the AM modulation frequency Get the AM modulation frequency Parameter Type Float unit Hz kHz MHz GHz Default Hz Parameter Range Sine 0...

Page 59: ...requency modulation FM Get the FM state Parameter Type Boolean Parameter Range ON OFF 1 0 Return Boolean Default 0 Menu FM FM State Example FM STATe ON 3 6 6 2 FM Shape SOURce FM WAVEform Command Form...

Page 60: ...l Menu FM FM Source Example FM SOURce EXTernal 3 6 6 4 FM Deviation SOURce FM DEViation Command Format SOURce FM DEViation value SOURce FM DEViation Instruction Set the FM deviation value Get the FM d...

Page 61: ...ty SOURce FM SENSitivity Command Format SOURce FM SENSitivity Instruction Displays the input sensitivity of the FM EXT input in Hz V Parameter Type None Parameter Range None Return Float unit Hz V Def...

Page 62: ...meration Parameter Range SINE SQUAre Return Enumeration Default SINE Menu PM PM Shape Example PM WAVEform SINE 3 6 7 3 PM Source SOURce PM SOURce Command Format SOURce PM SOURce INTernal EXTernal INT...

Page 63: ...on 2 3 6 7 5 PM Rate SOURce PM FREQuency Command Format SOURce PM FREQuency value SOURce PM FREQuency Instruction Set the phase modulation PM frequency Get the phase modulation PM frequency Parameter...

Page 64: ...ATe Instruction Activate Deactivate the pulse modulation Get the state of pulse modulation Parameter Type Boolean Parameter Range ON OFF 1 0 Return Boolean Default 0 Menu PULSE Pulse State Example PUL...

Page 65: ...Parameter Range INTernal EXTernal Return Enumeration Default INTernal Menu PULSE Pulse Source Example PULM SOUR INTernal 3 6 8 4 Pulse Polarity SOURce PULM POLarity Command Format SOURce PULM POLarity...

Page 66: ...riod PTRain A user defined pulse train is generated The pulse train is defined by value pairs of on and off times that can be entered in a pulse train list Return Enumeration Default SINGle Menu PULSE...

Page 67: ...WIDT 33 us 3 6 8 8 Double Pulse Delay SOURce PULM DOUBle DELay Command Format SOURce PULM DOUBle DELay value SOURce PULM DOUBle DELay Instruction Set the delay from the start of the first pulse to the...

Page 68: ...Menu PULSE 2 Width Example PULM DOUBle WIDTh 2 s 3 6 8 10 Pulse Train Add Row SOURce PULM TRAin PAIR Command Format SOURce PULM TRAin PAIR Instruction Add default train pair value Parameter Type None...

Page 69: ...Off time 10 ns 300 s Count 1 65535 Return None Default None Menu PULSE Pulse Train Example PULM TRAin CHANGe 1 10 ms 20 ms 3 3 6 8 13 List Pulse Train SOURce PULM TRAin LIST Command Format SOURce PUL...

Page 70: ...Clear SOURce PULM TRAin CLEAr Command Format SOURce PULM TRAin CLEAr Instruction Clear train pair list Parameter Type None Parameter Range None Return None Default None Menu PULSE Pulse Train Store Ex...

Page 71: ...Pulse Train Example PULM TRAin STORE test pulstrn 3 6 8 18 Trigger Out SOURce PULM TRIGger STATe Command Format SOURce PULM TRIGger STATe ON OFF 1 0 SOURce PULM TRIGger STATe Instruction Set the trigg...

Page 72: ...and Format SOURce PULM TRIGger EXTernal GATE POLarity NORMal INVerted SOURce PULM TRIGger EXTernal GATE POLarity Instruction Select the polarity of the gate signal Get the polarity of the gate signal...

Page 73: ...plied trigger at the PULSE EXT connector Get the polarity of the active slope of an applied trigger at the PULSE EXT connector Parameter Type Enumeration Parameter Range NEGative POSitive Return Enume...

Page 74: ...ere V is the peak to peak value Parameter Range 1 mVpp 3 Vpp Return Float unit Vpp Default 0 5 Vpp Menu LF LF Voltage Example LFOutput VOLTage 2 V 3 6 9 3 LF Offset SOURce LFOutput OFFSEt Command Form...

Page 75: ...Parameter Range 0 01 Hz 1 MHz Return Float unit Hz Default 1 kHz Menu LF LF Frequency Example LFOutput FREQuency 10 kHz 3 6 9 5 LF Shape SOURce LFOutput SHAPe Command Format SOURce LFOutput SHAPe SINE...

Page 76: ...Output SWEep Command Format SOURce LFOutput SWEep ON OFF 0 1 SOURce LFOutput SWEep Instruction Activate Deactivate the LF frequency sweep signal generation Get the state of LF frequency sweep Paramete...

Page 77: ...uency of sweep mode Parameter Type Float unit Hz kHz MHz GHz Default Hz Parameter Range 0 01 Hz Stop frequency Return Float unit Hz Default 500 Hz Menu LF Sweep Start Freq Example LFOutput SWEep STARt...

Page 78: ...Default Hz Parameter Range 0 01 Hz Maximum frequency of LF Return Float unit Hz Default 1 kHz Menu LF Sweep Center Freq Example LFOutput SWEep CENTer FREQuency 550 3 6 10 6 Freq Span SOURce LFOutput S...

Page 79: ...utput SWEep DWELl 2 s 3 6 10 8 Trigger Mode SOURce LFOutput SWEep TRIGger TYPE Command Format SOURce LFOutput SWEep TRIGger TYPE AUTO KEY BUS EXT SOURce LFOutput SWEep TRIGger TYPE Instruction Select...

Page 80: ...ce LFOutput SWEep SPACing LINear LOGarithmic SOURce LFOutput SWEep SPACing Instruction Select the mode for the calculation of the frequency sweep intervals Get the mode for the calculation of the freq...

Page 81: ...ATus Instruction Set the sensor state Get the sensor state Parameter Type Boolean Parameter Range OFF ON 0 1 Return Boolean Default 0 Menu SENSOR Sensor State Example SENSe STATus ON 3 7 3 Measurement...

Page 82: ...e ON OFF 1 0 Return Boolean Default 0 Menu SENSOR Statistics Example SENSe STATIStics STATe ON 3 7 5 Statistics Value READ POWer Command Format READ POWer Instruction Indicate the measured mean value...

Page 83: ...ommand Format SENSe POWer STATIStics MIN Instruction Indicate the measured minimum value Parameter Type None Parameter Range None Return Float unit dBm Default None Menu SENSOR Statistics Example SENS...

Page 84: ...measurements being used to calculate the statistics Parameter Type None Parameter Range None Return Integer Default None Menu SENSOR Statistics Example SENSe STATIStics COUNt 3 7 10 Statistics Clear...

Page 85: ...Auto Zero Example CALibration ZERO TYPE EXTernal 3 7 12 Zeroing SENSe POWer ZERO Command Format SENSe POWer ZERO Instruction Perform zeroing of the sensor Parameter Type None Parameter Range None Ret...

Page 86: ...ency for frequency type USER Parameter Type Float unit Hz kHz MHz GHz Default Hz Parameter Range 9 kHz 3 2 GHz Return Float unit Hz Default None Menu SENSOR Frequency Example SENSe FREQuency 1 MHz 3 7...

Page 87: ...lly added to the measured level value Parameter Type Float Parameter Range Limit by power sensor Return Float unit dB Default 0 dB Menu SENSOR Level Offset Example SENSe OFFSet 10 3 7 17 Average Type...

Page 88: ...19 Internal Noise SENSe POWer FILTer NSRatio Command Format SENSe POWer FILTer NSRatio noise SENSe POWer FILTer NSRatio Instruction The power sensor will control the internal noise that does not exce...

Page 89: ...d Format SOURce RADio CUSTom STATe ON OFF 1 0 SOURce RADio CUSTom STATe Instruction This command enables or disables the Custom modulation Parameter Type Boolean Parameter Range ON OFF 1 0 Return Bool...

Page 90: ...ol rate is the bit rate divided by the bits per symbol A change in the symbol rate affects the bit rate Parameter Type Float Parameter Range 500 Sps 120 MSps Return Float Default 1 MSps Menu Custom Da...

Page 91: ...omman d Format SOURce RADio CUSTom MODulation TYPE 2ASK 4ASK 8ASK 16ASK BPSK QPSK 8PSK 16PSK DBPSK DQPSK D8PSK D16PSK HDQPSK HD8PSK OQPSK 8QAM 16QAM 32QAM 64QAM 128QAM 256QAM 512 QAM 2FSK 4FSK 8FSK 16...

Page 92: ...RADio CUSTom MODulation GRAY 1 3 8 1 8 User Map Store SOURce RADio CUSTom MODulation STORe Command Format SOURce RADio CUSTom MODulation STORe file name Instruction This command saves the I Q map to a...

Page 93: ...OURce RADio CUSTom MODulation UIQ Instruction This command gets the user map list Parameter Type None Parameter Range None Return String Default 0 500000 0 000000 1 000000 0 000000 Menu Custom Modulat...

Page 94: ...struction This command edits the user map value Parameter Type Integer Float Float Parameter Range 0 size of user map 1 1 1 1 1 Return None Default None Menu Custom Modulation Edit Example RADio CUSTo...

Page 95: ...LEAr 3 8 1 15 FSK Deviation SOURce RADio CUSTom MODulation FSK DEViation Command Format SOURce RADio CUSTom MODulation FSK DEViation val SOURce RADio CUSTom MODulation FSK DEViation Instruction This c...

Page 96: ...Ha Command Format SOURce RADio CUSTom ALPHa val SOURce RADio CUSTom ALPHa Instruction This command changes the Nyquist or root Nyquist filter s alpha value or Caussian s BT value Parameter Type Float...

Page 97: ...r Parameter Type Integer Parameter Range 2 32 Return Integer Default 2 Menu Custom Filter OverSampling Example RADio CUSTom FILTer OVERsampling 4 3 8 1 20 Bit Rate SOURce RADio CUSTom BRATe Command Fo...

Page 98: ...arb 3 8 1 22 Update SOURce RADio CUSTom DOWNload Command Format SOURce RADio CUSTom DOWNload Instruction This command updates the Custom settings Parameter Type String Parameter Range None Return None...

Page 99: ...SETup TABLe NTONes Instruction This command defines the number of tones in the multitone waveform Parameter Type Integer Parameter Range 1 20 Return Integer Default 2 Menu Multitone Tone Number Exampl...

Page 100: ...Type Float unit Hz kHz MHz GHz Default Hz Parameter Range 500 Hz 240 MHz Return Float Default 2 MHz Menu Multitone Sample Rate Example RADio MTONe ARB SCLock RATE 5000000 3 8 2 5 Freq Spacing SOURce R...

Page 101: ...f MTONE files Parameter Type String Parameter Range None Return None Default None Menu Multitone Save State Example RADio MTONe ARB SETup STORe test mulstate 3 8 2 7 Load State SOURce RADio MTONe ARB...

Page 102: ...lation ARB SETup MCARrier Command Format SOURce RADio DMODulation ARB SETup MCARrier waveform num freq_space file_name SOURce RADio DMODulation ARB SETup MCARrier Instruction This command builds a tab...

Page 103: ...eform None freq_offset waveform sampling rate 4 maximum sampling rate 2 maximum sampling rate 2 waveform sampling rate 4 power 40 0 phase 360 360 pos 1 list rows Return String Double Double Double Dou...

Page 104: ...SOURce RADio DMODulation ARB SETup MCARrier NAME Instruction This command sets the output waveform name Parameter Type String Parameter Range None Return String Default MULTICARRIER Menu ARB Multi Ca...

Page 105: ...eter Type String Parameter Range Existing segment or sequence Return String Default NONE Menu ARB Select Waveform Select Example RADio ARB WAVeform WFM SINE_WAVE 3 8 4 3 Sample Clock SOURce RADio ARB...

Page 106: ...a sequence The count limit is determined by the number of segments in the waveform sequence Repeated segments are included in the count limit Paramete r Type String String Integer Enumeration Paramet...

Page 107: ...tor RF path Parameter Type Float Parameter Range 0 20 Return Float Default 6 Menu ARB ARB Setup Modulation Atten Example RADio ARB IQ MODulation ATTen 10 3 8 4 7 Real Time AWGN SOURce RADio ARB NOISe...

Page 108: ...er 3 8 4 9 Power Control SOURce RADio ARB NOISe POWer TYPE Command Format SOURce RADio ARB NOISe POWer TYPE CARRier CHNO TONO TOPO SOURce RADio ARB NOISe POWer TYPE Instruction This command selects th...

Page 109: ...This command sets the carrier power of the Real Time AWGN Parameter Type Float Parameter Range According to the total power limit Return Float Default 123 27 dBm Menu ARB ARB Setup Real Time AWGN Carr...

Page 110: ...ter Range According to the total power limit Return Float Default 122 76 dBm Menu ARB ARB Setup Real Time AWGN Noise Power Example RADio ARB NOISe POWer TONOise 0 dBm 3 8 4 14 Carrier To Noise Ratio F...

Page 111: ...dB Menu ARB ARB Setup Real Time AWGN Carrier To Noise Ratio Example RADio ARB NOISe CN 5 3 8 4 16 Bit To Noise Ratio SOURce RADio ARB NOISe CBNO Command Format SOURce RADio ARB NOISe CBNO val SOURce...

Page 112: ...bandwidth over which the additive white gaussian noise AWGN is applied The noise power will be integrated over the selected bandwidth for the purposes of calculating carrier to noise ratio C N Parame...

Page 113: ...s command sets the state of baseband offset Parameter Type Boolean Parameter Range ON OFF 1 0 Return Boolean Default 0 Menu ARB ARB Setup Baseband Offset Example RADio ARB OFFSet STATe 1 3 8 4 21 Offs...

Page 114: ...oint point of file_name Return None Default None Menu None Example RADio ARB MARKer CLEar SINE_WAVE 1 1 10 3 8 4 23 Clear All Marker SOURce RADio ARB MARKer CLEar ALL Command Format SOURce RADio ARB M...

Page 115: ...nt or a range of marker points on a waveform segment for the selected marker 1 4 Parameter Type String Integer Integer Integer Integer Parameter Range None 1 4 1 point of file_name first_point point o...

Page 116: ...arker output for the selected marker Parameter Type Enumeration Parameter Range None Marker1 Marker2 Marker3 Marker4 Return Enumeration Default Marker1 Menu ARB Marker Utilities Output Example RADio A...

Page 117: ...entage of its highest peak Parameter Type String Enumeration Float Float Parameter Range None IJQ IORQ 0 01 1 0 01 1 Return None Default None Menu ARB Waveform Utilities Clipping Example RADio ARB CLI...

Page 118: ...Parameter Type Boolean Parameter Range ON OFF 1 0 Return Boolean Default 0 Menu AWGN AWGN State Example RADio AWGN RT 1 3 8 5 2 Bandwidth SOURce RADio AWGN RT BWIDth Command Format SOURce RADio AWGN...

Page 119: ...State Example DM STATe ON 3 8 6 2 I Q Source SOURce DM SOURce Command Format SOURce DM SOURce EXTernal INTernal SOURce DM SOURce Instruction This command selects the I Q modulator source Parameter Typ...

Page 120: ...This command enables or disables the I Q adjustments Parameter Type Boolean Parameter Range ON OFF 1 0 Return Boolean Default 1 Menu I Q Control I Q Adjustment Example DM IQADjustment 1 3 8 6 5 Gain...

Page 121: ...DM IQADjustment QOFFset Command Format SOURce DM IQADjustment QOFFset val SOURce DM IQADjustment QOFFset Instruction This command adjusts the Q channel offset value Parameter Type Float Parameter Rang...

Page 122: ...ON OFF 1 0 SOURce DM IQADjustment EXTernal STATe Instruction This command enables or disables the I Q output Parameter Type Boolean Parameter Range ON OFF 1 0 Return Boolean Default 0 Menu I Q Control...

Page 123: ...nectors The variable val is expressed in units of decibels dB Parameter Type Float Parameter Range 4 4 Return Float Default 0 Menu I Q Control I Q Output I Q Output Gain Balance Example DM IQADjustmen...

Page 124: ...connectors Parameter Type Float Parameter Range 3 V 3 V Return Float Default 0 mV Menu I Q Control I Q Output Q Output Offset Example DM IQADjustment EXTernal DQOFfset 1 3 8 6 14 I Q Common Offset SOU...

Page 125: ...e None Parameter Range None Return String Default RAMP_WAVE 200 SINE_WAVE 200 Menu ARB Waveform Segment Example IQ DUALarb SEGMent NAMES 3 8 7 2 Load Segment SOURce IQ DUALarb SEGMent LOAD Command For...

Page 126: ...arameter Range None Return None Default None Menu ARB Waveform Segment Delete Example IQ DUALarb SEGMent DEL SINE_WAVE 3 8 7 4 Rename Segment SOURce IQ DUALarb SEGMent RENAme Command Format SOURce IQ...

Page 127: ...ormat SOURce IQ DUALarb HEADer INFO Instruction This command gets waveform header information Parameter Type None Parameter Range None Return String Default discript rms Unspecified sampling rate Unsp...

Page 128: ...ate Unspecified baseband offset freq Unspecified Menu ARB Waveform Header Example IQ DUALarb HEADer INFO 3 8 7 7 Clear Header SOURce IQ DUALarb HEADer CLEAr Command Format SOURce IQ DUALarb HEADer CLE...

Page 129: ...is command sets or gets description Parameter Type None Parameter Range None Return None Default None Menu ARB Waveform Segment Describe Example IQ DUALarb HEADer DISCribt INFO 3 8 8 MEMory Subsystem...

Page 130: ...r Data MEM DATA BIT Command Format MEM DATA BIT file_name bit_count data_block Instruction This command loads bit data into signal generator memory using the bit_count and data_block parameters and sa...

Page 131: ...SIGLENT SSG5000X Programming Guide 131...

Page 132: ...cess and perform write and read operations Follow the steps to finish the example 1 Open Visual Studio create a new VC win32 console project 2 Set the project environment to use the NI VISA lib there...

Page 133: ...VISA WinNT lib msc Set this path to project properties Linker General Additional Library Directories as seen in the pictures below Set lib file project properties Linker Command Line Additional Optio...

Page 134: ...ist findList ViStatus status char instrResourceString VI_FIND_BUFLEN unsigned char buffer 100 int i First we must call viOpenDefaultRM to get the manager handle We will store this handle in defaultRM...

Page 135: ...RM instrResourceString VI_NULL VI_NULL instr if status VI_SUCCESS printf Cannot open a session to the device d n i 1 continue At this point we now have a session open to the USB TMC instrument We will...

Page 136: ...rn 0 int _tmain int argc _TCHAR argv Usbtmc_test return 0 The run result 2 TCP IP access code Write a function TCP_IP_Test int TCP_IP_Test char pIP char outputBuffer VI_FIND_BUFLEN ViSession defaultRM...

Page 137: ...RM status viPrintf instr idn n status viScanf instr t outputBuffer if status VI_SUCCESS printf viRead failed with error code x n status viClose defaultRM else printf nMesseage read from device s n 0 o...

Page 138: ...ations Follow the steps to complete the example 1 Open Visual Basic build a standard application program project Standard EXE 2 Set the project environment to use the NI VISA lib Click the Existing ta...

Page 139: ...aultRM As Long Dim instrsesn As Long Dim numlnstrs As Long Dim findList As Long Dim retCount As Long Dim status As Long Dim instrResourceString As String VI_FIND_BUFLEN Dim Buffer As String MAX_CNT Di...

Page 140: ...defaultRM instrResourceString VI_NULL VI_NULL instrsesn If status VI_SUCCESS Then resultTxt Text Cannot open a session to the device CStr i 1 GoTo NextFind End If At this point we now have a session...

Page 141: ...open the default resource manager status viOpenDefaultRM defaultRM If status VI_SUCCESS Then resultTxt Text Could not open a session to the VISA Resource Manager TCP_IP_Test status Exit Function End I...

Page 142: ...status viClose defaultRM TCP_IP_Test 0 End Function 3 Button control code Private Sub exitBtn_Click End End Sub Private Sub tcpipBtn_Click Dim stat As Long stat TCP_IP_Test ipTxt Text If stat VI_SUCC...

Page 143: ...rations Follow the steps to complete the example 1 Open MATLAB modify the current directory In this demo the current directory is modified to D USBTMC_TCPIP_Demo 2 Click File New Script in the Matlab...

Page 144: ...equest the data outputbuffer fscanf vu disp outputbuffer Close the VISA object fclose vu delete vu clear vu end The run result 2 TCP IP access code Write a function TCP_IP_Test function TCP_IP_test Th...

Page 145: ...gramming Guide 145 Send the string IDN asking for the device s identification fprintf vt IDN Request the data outputbuffer fscanf vt disp outputbuffer Close the VISA object fclose vt delete vt clear v...

Page 146: ...create a VI file 2 Add controls Right click in the Front Panel interface select and add VISA resource name error in error out and some indicators from the Controls column 3 Open the Block Diagram int...

Page 147: ...device command set After all communication is complete the VI closes the VISA session 6 Communicating with the device via TCP IP is similar to USBTMC But you need to change VISA Write and VISA Read Fu...

Page 148: ...nterface Python scripts can be written for sockets to do a variety of test and measurements tasks Environment Win7 32bit system Python v2 7 5 The functions of this example Opens a socket sends a query...

Page 149: ...INET socket SOCK_STREAM except socket error print Failed to create socket sys exit try Connect to remote server s connect remote_ip port except socket error print failed to connect to ip remote_ip ret...

Page 150: ...lose s input Press Enter to exit if __name__ __main__ proc main The run result 4 2 2 Telnet Example Telnet SCPI Provides the ability to send single SCPI commands from a remote PC to the signal generat...

Page 151: ...PI prompt Type single SCPI commands Press Enter to send the command To exit the telnet window click X in the upper right corner To get a normal telnet prompt press Ctrl closing bracket To get SCPI pro...

Page 152: ...SIGLENT 152 SSG5000X Programming Guide To close the normal telnet window type Quit and press Enter...

Reviews: