2 OVERVIEW ........................... 12 2.1 T ....................12 DJUST THE ANDLE 2.2 F ..................15 ACTORY EFAULT ETTINGS 2.3 G5100A O ..................17 PERATION ANELS 2.3.1 Front Panel....................... 17 2.3.2 Rear Panel ....................18 3 COMMON OPERATIONS....................19 3.1 G ........................ 19 RAPH 3.2 N...
Page 3
4.2 S ......................34 QUARE 4.3 R ........................35 4.4 N ....................... 36 OISE AVEFORM 4.5 P ......................37 ULSE AVEFORM 4.6 A ....................39 RBITRARY AVEFORM 4.7 A .................... 41 MPLITUDE ODULATION 4.8 F ................... 44 REQUENCY ODULATION 4.9 P ....................
Page 4
7.8 A ................111 RBITRARY AVEFORM RRORS APPENDIX..........................113 ....................114 PECIFICATION ................. 120 EMOTE NTERFACE EFERENCE B.1.1 Command Format Used in This Manual..........120 B.1.2 Command Separators ................121 B.1.3 Using the MIN and MAX Parameters ............ 122 B.1.4 Querying Parameter Settings..............122 B.1.5 SCPI Command Terminators ..............
Page 5
D. A ................... 173 PPLICATION ROGRAMS...
Upkeep of G5100A Safety Information Symbols and Terms Inspection Options and Accessories You can contact Picotest Corp. via the following telephone number for warranty, service, or technical support information. Telephone: (886) 7-815-7183 Website http://www.picotest.com.tw Or contact Picotest for more help by email.
Store up to 4 waveforms in nonvolatile memory. Easy-to-use shortcut keys and knobs. Free and easy-to-use PC applications. ※ Note: Full G5100A specifications are included in Appendix A. 1.2 Warranty Information If the equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be impaired.
3. Our warranties do not apply on any direct, incidental, special, or consequential damages. 4. The above warranties are exclusive, and no other warranty is expressed or implied. Picotest disclaims any implied warranties of MERCHANTABILITY, SATISFACTORY QUALITY, and FITNESS for any particular reasons.
1.4 Upkeep of G5100A Although G5100A waveform generator is very durable and weather resistant, care should be taken not to expose it to severe impact or pressure. Keep G5100A far from water and damp environment. Calibration will be taken every year. Please contact your local service representative for more information.
Do not try to operate the waveform generator if it is damaged. Disconnect the power from the equipment and consult the local service representative. Return the product to Picotest service department if necessary. 1.6 Symbols and Terms This symbol indicates hazards that may cause damages to the instrument or even result in personal injury.
1.7 Inspection Your product package is supplied with the following items: One G5100A waveform generator unit. [ 107(H) x 224(W) x 380(D) mm, approx. 3.6Kg] One power cord. One USB cable. One pattern generator cable One CD (including this electronic User's Manual and software applications).
Overview This chapter prepares you for using the G5100A waveform generator. You may want to check if you have all the parts with your waveform generator first. All our products are handled and inspected professionally before shipping out to our customers. If you find any damaged/missing...
Page 13
【Step 2】(Pull out the handle) When the handle is turned up to 90°, pull out the handle from the waveform generator as shown in Figure 2-2. Figure 1-2 Figure 2-2 Ⅱ. Adjusting the position for your convenience Here are some example positions for different needs. 【Position 1】...
Page 14
【Position 2】 The adjusted position is for operation as shown in Figure 2-4. Figure 2-4 【Position 3】 The adjusted position is for carrying as shown in Figure 2-5. Figure 2-5...
2.2 Factory Default Settings Table 2-1 shows the factory default settings of G5100A when it is powered-on first time. Table 2-1 Factory default settings Parameters marked with a star ( * ) are stored in non-volatile memory. Output Configuration Default Setting...
Page 16
Sweep 100 Hz/1 kHz Start/Stop Frequency 1 sec. Sweep Time Linear Sweep Mode Sweep State Burst Burst Count 1 Cycle Burst Period 10 ms Burst Start Phase 0 degree Burst State System-Related Operations Power-Down Recall Disabled Display Mode Error Queue 0 errors Stored States, Stored Arbs Output State...
2.3 G5100A Operation Panels Brief descriptions are provided in this chapter for all the connectors and buttons on both front and rear panels of G5100A waveform generator. 2.3.1 Front Panel Figure 2-6 Power Graph/Local Menu Operation Softkeys (in color grey)
Common Operations This chapter describes the basic operations and configurations that are commonly used to set up a waveform output. Operations for outputting specific waveforms are covered in chapter 4. 3.1 Graph Mode Pressing the Graph button enables the graph mode. You can view the waveform visually in the graph mode and change the waveform parameters by using the knob and the cursor keys.
Use the cursor keys to move the cursor for entering next letter or modify the letter previously entered. You may also use the +/- key on keypad to delete the letter previously entered. 3.3 To Select Output Function G5100A provides various output functionality: • Standard waveforms:...
Remote Interface Operation FUNCtion {SINusoid|SQUare|RAMP|PULSe|NOISe|DC|USER|PATTern} You may also use the APPLy command to select the function, frequency, amplitude, and offset in one shot. Notes • Frequency limitation: When the newly-selected function has a smaller maximum frequency, the waveform generator will automatically adjust the frequency from the old value to the new, smaller maximum value.
Page 22
Front-panel Operation 1. Select your desired function by pressing one of the function keys. 2. Press the softkey under Freq/Perd and make sure Freq is highlighted (indicating the frequency mode is selected). 3. Use the numeric keypad or the knob with cursor keys to change the value.
To Set Output Amplitude The default amplitude for all functions is 100 mVpp (into 50 ohms). The procedure to set a new amplitude value is described as follows. Figure 3-5 Front-panel Operation 1. Select your desired function by pressing one of the function keys. 2.
Page 24
• The default output unit is Vpp, but one may also choose from Vrms and dBm. But the output unit cannot be set to dBm if the output termination is set to “high impedance”. In such a case, the unit is automatically reset to Vpp.
switching of the output attenuators. The amplitude is controlled, however, so the output voltage will never exceed the current setting while switching ranges. You may disable the voltage autoranging to prevent this output disruption. To Set DC Offset Voltage The default DC offset voltage is 0 volt for all functions. To specify a non-zero DC offset value, follow the steps below.
Figure 3-8 • Limits with amplitude and output termination: DC offset value is constrained by the equation below: Voffset ≤ Vmax − where Vmax is the maximum peak voltage allowed for the selected output termination (5 volts for a 50 Ω load or 10 volts for a high-impedance load).
When the waveform is inverted, the Sync signal associated with the waveform is not inverted. 3.9 To Set Output Termination A fixed series output impedance of 50 ohms to the front-panel Output connector is set in G5100A by default. If the actual load impedance does...
Vpp if dBm is previously selected. 3.10 To Enable/Disable Voltage Autoranging The waveform generator by default turns on autoranging at power-on and finds optimal settings for the output amplifier and attenuators. If autoranging is turned off, G5100A uses the current amplifier and...
And you may not be able to achieve the minimum amplitude that is available when autoranging is on. 3.11 To Control Output Connector G5100A output is controlled by the output button. The output is disabled at power on by default to protect the equipment connected to G5100A.
Front-panel Operation • To enable/disable ouput, press the Output button to toggle. The Output button becomes lit when output is enabled. Remote Interface Operation OUTPut {OFF|ON} Notes • The Output is automatically disabled when an excessive external voltage is applied to the Output connector on the front panel and an error will be generated and the error message will be shown.
Page 31
Notes • If the Sync connector is disabled, the output signal is at a logic “low” level. • The Sync setting is stored in non-volatile memory, so it does not change after power-off or a remote reset command is issued. •...
Figure 3-14 Figure 3-15 For the default settings, please refer to Table 2.1 for G5100A factory default settings. To set the power-on state, please refer to Section 5.2 Storing the instrument state.
4.1 Sine Wave How to generate a sine wave 1. The default waveform output of G5100A is sine wave. To select sine wave while the current output function is not it, press the Sine button to make the selection.
4.2 Square Wave A square wave consists of instantaneous transitions between two voltage levels. The duty cycle of a square wave represents the amount of time in each cycle during which the wave is at the high level (assuming that the waveform is not inverted): DutyCycle = (Time Interval at High Level) / Period x 100% How to generate a square wave...
20% to 80%. • If you change frequency to a new value with which G5100A cannot produce the current duty cycle, it will automatically adjust the duty cycle to the closest possible value for the new frequency.
Remote interface operation APPLy:RAMP [<frequency>[,<amplitude>[,<offset>]]] (The command generates ramp wave with 100% symmetry) FUNCtion {RAMP} FREQuency {<frequency> ︱ MINimum ︱ MAXimum} VOLTage {<amplitude> ︱ MINimum ︱ MAXimum } VOLTage:OFFSet {<offset> ︱ MINimum ︱ MAXimum } FUNCtion:RAMP:SYMMetry {<percent>|MINimum|MAXimum} Notes • Symmetry value is stored in volatile memory so the default setting (100%) will be restored after power-off or a remote interface reset.
VOLTage:OFFSet {<offset> ︱ MINimum ︱ MAXimum } Notes • In the APPL:NOIS command, the frequency parameter has no effect, but you still need to specify a value or “DEFault” for it. 4.5 Pulse Waveform A pulse waveform consists of a period, a pulse width, an ascending edge and a descending edge.
Page 38
5 ns to 100 ns, with the following constraint on the maximum allowable value: EdgeTime ≤ 0.625 x PulseWidth G5100A will alter the edge time when needed to accommodate the specified pulse width. Pulse Duty Cycle Specifying pulse duty cycle is another way to define a pulse wave than specifying pulse width.
PULSe:PERiod {<seconds>|MINimum|MAXimum} FUNCtion:PULSe:WIDTh {<seconds>|MINimum|MAXimum } FUNCtion:PULSe:DCYCle {<percent>|MINimum|MAXimum } FUNCtion:PULSe:TRANsition {<percent>|MINimum|MAXimum } 4.6 Arbitrary Waveform G5100A waveform generator provides five built-in arbitrary waveforms and up to four user-defined arbitrary waveforms that are stored in non-volatile memory. The built-in waveforms are exponential-rise,...
Page 40
4k points and the extra points will be removed by decimation. User-defined waveforms G5100A supports user-definded waveforms. You may use the Wavepatt waveform and pattern editor to create the waveforms you want or import the waveforms from the oscilloscope that you captured previously. For more information on the user-defined waveforms, please refer to the on-line help of Wavepatt .
Refer to the table in Section 3.4 “To Set Output Frequency/Period” for details. Modulating Waveform G5100A accepts either internal or external modulating source but not both at the same time. The default source is internal, and the default...
Page 42
±5v signal levels of the external waveform. When the external waveform is at +5v, the amplitude of the output will reach MaxAmplitude. When the external waveform is at -5v, the amplitude of the output will reach MinAmplitude. Note that the modulation output of G5100A will not exceed ±5V peak...
Page 43
(into a 50-ohm load) even if the modulation depth is greater than 100%. How to set up amplitude modulation 1. Press one of the following function buttons to choose your carrier waveform: Sine, Square, Ramp, Arb. Specify all the necessary waveform parameters for the carrier waveform as described in Section 4.1, 4.2, 4.3 and 4.6.
Section 3.4 “To Set Output Frequency/Period” for details. Modulating Waveform G5100A accepts either internal or external modulating source but not both at the same time. The default source is internal, and the default internal modulating waveform is sine wave. For internal source, one may...
Page 45
25.1MHz for square, 300 kHz for ramp, and 10.1 MHz for arbitrary waveforms. If a value is set greater than one of the above constraints, G5100A will automatically adjust it to the maximum value allowed. When external source is selected as the source of modulating waveform, the modulation is controlled by the specified frequency deviation and the ±5v signal levels of the external waveform.
Page 46
e.g., 100 kHz increase from carrier frequency if the specified frequency deviation is 100 kHz. When the external waveform is at -5v, the output will reach negative maximum frequency deviation; e.g., 100 kHz decrease from carrier frequency if the specified frequency deviation is 100 kHz.
enter your value. 7. Press the Graph button to view all the waveform parameters. Remote interface operation Use these commands to output a frequency modulation waveform: FUNCtion {SINusoid|SQUare|RAMP|USER} FREQuency {<frequency> ︱ MINimum|MAXimum} VOLTage {<amplitude> ︱ MINimum|MAXimum} VOLTage:OFFSet {<offset> ︱ MINimum|MAXimum} FM:INTernal:FUNCtion {SINusoid|SQUare|RAMP|NRAMp|TRIangle|NOISe|USER} FM:INTernal:FREQuency {<frequency>MINimum|MAXimum}...
Page 48
Modulating Waveform G5100A accepts either internal or external modulating source but not both at the same time. The default source is internal, and the default internal modulating waveform is sine wave. For internal source, one may also choose from square with 50% duty cycle, URamp (Up or Positive...
Page 49
Figure 4-11 2. Press the Mod button to toggle on the modulation output. 3. Press the softkey under Type and press the softkey under PM to select phase modulation. A phase modulation output will be generated with the current parameters. 4.
Section 3.4 “To Set Output Frequency/Period” for details. Modulating Waveform G5100A accepts either internal or external modulating source but not both at the same time. The default source is internal, and the only choice is square wave with a 50% duty cycle. When external source is selected, the carrier waveform is modulated with an external waveform present at the Trig In connector on the rear panel.
Page 51
the modulation is controlled by the signal level of the external waveform. When the external waveform is at the logic low level, the carrier frequency is outputted. When a logic high is present, the hop frequency is outputted. FSK Rate This is the rate at which the output frequency shifts between the carrier frequency and the hop frequency when internal source is selected.
FSKey:SOURce {INTernal|EXTernal} FSKey:STATe ON 4.11 PWM Waveform G5100A waveform generator provides the capability to output a pulse width modulation (PWM) for pulse carrier waveforms. In PWM, the pulse width of the pulse carrier waveform varies with the modulating waveform. The pulse width can be expressed either in time units or duty cycle (i.e., percentage of the period).
Page 53
with an external waveform coming from the Modulation In connector on the rear panel. Width Deviation The width deviation represents the peak variation in the pulse width of the modulation output based on that of the original pulse carrier waveform. The default deviation is 10μs, and the range is from 0s to 1000s.
source is depending on the previous waveform selection in arbitrary function. One may toggle the Mod key to see the arbitrary modulating waveform message that temporarily displayed on the screen. b. Press the softkey under PWM Freq and use numeric keypad or the knob with the cursor keys to set the desired modulating frequency.
Page 55
work with frequency sweep. Sweep Mode The default sweep mode is linear where the waveform generator sweeps the frequency with spacing calculated in a linear function. In logarithmic sweep mode, the waveform generator sweeps with spacing calculated in a logarithmic function. Start Frequency and Stop Frequency The waveform generator begins sweeping from the start frequency to the stop frequency.
Page 56
Marker Frequency Marker frequency provides a way to control the Sync signal outputted on the front panel Sync connector. For sweeps with Marker On , the Sync signal is a TTL “high” at the beginning of the sweep and turns to “low” at the marker frequency.
Page 57
cycle is outputted at the Trig Out connector with the sweep output. • With external trigger source, there is no signal outputted at the Ext Trig / FSK / Burst connector because it shares the same connector with Ext Trig for receiving the external trigger signal. •...
Page 58
between Freq and OFF. If Freq is selected, Use the numeric keypad or the knob with cursor keys to set the marker frequency. 8. To configure the trigger setting, press the softkey under Trig Setup to enter the trigger setup menu: a.
Triggered Burst Mode This is the default burst mode. G5100A outputs a waveform with a specified number of cycles, called burst count , each time it receives a trigger. When the specified number of cycles is outputted, the waveform generator pauses and waits for next trigger.
Page 60
Table 4.13-1 The available parameters in each burst mode. Ext Trig Burst Burst Burst Signal Count Period Phase Polarity Internal √ √ √ Triggered mode External, √ √ Manual Gated mode √ √ Burst Count The Burst Count represents the number of cycles appeared in each burst. It is only used in the triggered burst mode.
Page 61
mode, the waveform frequency is outputted when the external gate signal is true. The default waveform frequency is 1 kHz. The range is from 1 μHz to 200 kHz for ramps, 1 μHz to 25 MHz for square, 1 μHz to 10 MHz for pulse and arbitrary waveforms, 1 μHz to 50 MHz for Sine.
Page 62
point, the output will remain at the same voltage level as the starting burst phase. Trigger Source The default trigger source is internal, and the available options are internal, external and manual. When the waveform generator is set to be in the triggered burst mode, it generates a burst with specific number of cycles each time a trigger is received.
Page 63
2. Refer to Section 3.4 for specifying the waveform frequency for the selected function. 3. Press the Burst button to toggle the burst mode. 4. Press the N Cyc/Gated softkey to toggle between the triggered burst mode and the external gated mode. Make sure that your selection is highlighted.
BURSt:NCYCles {<#cycles>|INFinity|MINimum|MAXimum} BURSt:INTernal:PERiod {<seconds>|MINimum|MAXimum} BURSt:PHASe {<angle>|MINimum|MAXimum} UNIT:ANGLe {DEGree|RADian} TRIGger:SOURce {IMMediate|EXTernal|BUS} TRIGger:SLOPe {POSitive|NEGative} OUTPut:TRIGger:SLOPe{POSitive|NEGative} OUTPut:TRIGger {OFF|ON} BURSt:STATe ON 4.14 Pattern Output In addition to defining arbitrary waveforms as described in Section 4.6, G5100A waveform generator provides the capability of outputting a...
Page 65
The default pattern output is an exponential-rise wave. User-defined patterns G5100A supports user-defined patterns. You may use the Wavepatt waveform and pattern editor to create the patterns you want or import the waveforms from the oscilloscope that you captured previously. For more information on the user-defined patterns, please refer to the on-line help of Wavepatt .
Page 66
Setup to enter the trigger setup menu: a. To specify the trigger source, press the softkey under Src and then select among Ext (external) and Man (manual). b. If manual trigger is selected, you may configure the trigger out signal by pressing the softkey under Trig Out and then select among OFF, rising-edge trigger and falling-edge trigger.
Page 67
Set the start address (min. 1) of the pattern. Set the end address of the pattern. Set the trigger source of the pattern, such as from EXT or BUS. (Please note that there is no IMM internal trigger. Set the Trigger slope of the pattern out to be a positive (rising) edge or a negative (falling) edge.
Page 68
DIGital:PATTern:FREQuency {<frequency>, MINimum, MAXimum} Set the frequency of the pattern, 1uHz ~ 50MHz. DIGital:PATTern:FREQuency? {MINimum, MAXimum} Inquire and gain the minimum or maximum frequency of the pattern. DIGital:PATTern:STARt {<address>, MINimum, MAXimum} Set the start address (min. 1) of the pattern. DIGital:PATTern:STARt? {MINimum, MAXimum} Inquire and gain the start address of the pattern.
Page 69
Inquire and gain the trigger source of the pattern. DIGital:PATTern:TRIGger:SLOPe {POS, NEG} Set the Trigger slope of the pattern to be a positive (rising) edge or a negative (falling) edge. DIGital:PATTern:TRIGger:SLOPe? Inquire and gain the trigger slope status of the pattern. DIGital:PATTern:OUTPut:TRIGger {OFF, ON} Set the trigger of the pattern out to be ON or OFF.
Page 70
Pattern Generator Cable Pattern Generator Receiver Connector pin out structure of Pattern Generator Cable...
System Operations 5.1 Triggering This feature is only available for bursts and sweeps. There are three options to choose from: internal triggering, external triggering and manual triggering. The default is the internal triggering in which the waveform generator continuously outputs the selected waveform. The Ext Trig connector on the rear panel is used to receive the external trigger signal.
Page 73
Slope to toggle between rising edge trigger and falling edge trigger. 2. Press DONE to finish the setting. Remote interface operation TRIGger:SLOPe {POSitive|NEGative} Software Triggering In software triggering, a bus command is sent through the remote interface to trigger the waveform generator. The waveform generator outputs a burst or a sweep when it receives one such command.
Trigger Out Signal G5100A may be configured to send out a TTL-compatible square wave at the Ext Trig connector on the rear panel with either a rising or a falling edge at the beginning of a sweep or burst.
Page 75
instrument state at power-down, but you can use any of these locations for storing a user-defined instrument state. The location “0” can only be accessed from the remote interface. Although you may store an instrument state in it, it is always preserved for power-down state. Anything previously stored in it will be overwritten with the power-down state when the waveform generator is turned off.
Page 76
3. To recall a saved state, press the Recall State softkey to enter the recall-state submenu: a. Press the softkey under your desired location number to recall the state from that memory location. b. Press the Recall State softkey to restore from the selected state in the memory or the Cancel softkey to cancel.
Memory:STATe:NAME {1|2|3|4} [,<name>] 5.3 Display Control G5100A provides an option to turn off the front display screen. One may choose to do it for security reason or for speeding up the command execution from the remote interface. This option is available from the remote operation only.
5.4 Beeper G5100A normally lets out a beeper when an error is detected. One may turn off the beep when needed. The beeper setting is stored in non-volatile memory, so the setting remains even after the waveform generator is turned off or the reset command is issued from the remote operation.
5.6 Error Display The waveform generator can store up to 20 syntax or hardware errors in its error queue. Each error string may contain up to 255 characters. The waveform generator beeps every time it detects an error (unless the beeper is turned off).
For first time SCPI users, refer to Appendix B for the introductory materials on SCPI commands. 6.1 Remote Interface Configuration G5100A have built in a web server, one may use the Internet Explorer of ® Microsoft or Firefox of Mozilla Foundation to remotely control the waveform generator through the LAN interface.
If DHCP is used, the device will automatically obtain an IP address from the DHCP server in the network. If G5100A fails to get an IP address from DHCP, the current IP address setting will be used.
Page 82
The smallest domain is a host itself. For example, domain “www.picotest.com.tw” consists of a host name “www” and three domains “picotest”, “com” and the country domain “tw”. The host name and names of its domains are concatenated with the period “.” in the full domain name of the host.
Page 83
is not affected by power cycle or the remoter interface reset command. How to set up LAN interface 1. Press the Utility button and then the softkey under I/O. 2. Press the softkey under LAN to enter the LAN submenu. You have the options to set up IP address and related parameters (under the IP Setup softkey), DNS configuration (under the DNS Setup softkey) or to view the current LAN configuration (under the...
14. Press the softkey under Current Conf to display the current LAN configuration. 6.2 Remote Interface Commands You may instruct your G5100A waveform generator to output waveforms using the SCPI (Standard Commands for Programmable Instrument) commands after the selected remote interface is appropriately set up.
Page 85
separates several choices for a parameter. The APPLy Commands APPLy:SINusoid [<frequency>[,<amplitude>[,<offset> ] ]] APPLy:SQUare [<frequency>[,<amplitude>[,<offset> ] ]] APPLy:RAMP [<frequency>[,<amplitude>[,<offset> ] ]] APPLy:PULSe [<frequency>[,<amplitude>[,<offset> ] ]] APPLy:NOISe [<frequency|DEF>[,<amplitude>[,<offset> ] ]] APPLy:DC [<frequency|DEF>[,<amplitude>[,<offset> ] ]] APPLy:USER [<frequency>[,<amplitude>[,<offset> ] ]] APPLy? Output Configuration Commands FUNCtion {SINusoid|SQUare|RAMP|PULSe|NOISe|DC|USER} FUNCtion? FREQuency {<frequency>|MINimum|MAXimum}...
If you cannot find a particular error message in this chapter, contact your service representative. Error messages are stored in an error queue in G5100A and may be retrieved in the first-in-first-out (FIFO) order. The first error returned is the first error that was stored.
Remote interface operation Use this command to read one error from the error queue: SYSTem:ERRor? Use this command to clear all the errors in the error queue: *CLS 7.1 Command Errors -101 Invalid character An invalid character was detected in the command string. -102 Syntax error Invalid syntax was detected in the command string.
Page 96
-124 Too many digits A numeric parameter with too many digits (> 255) was detected. -128 Numeric data not allowed A numeric parameter was received when the waveform generator was expecting a string parameter. -131 Invalid suffix A suffix was incorrectly specified for a numeric parameter. -138 Suffix not allowed A suffix is not supported for this command.
7.2 Execution Errors -211 Trigger ignored AGET or *TRG was received but the trigger was ignored. -221 Settings conflict; turned off infinite burst to allow immediate trigger source An infinite burst count is only allowed when an external or bus (software) trigger source is used.
Page 98
automatically disabled. -221 Settings conflict; trigger output connector used by burst gate If you have enabled burst , and selected gated burst mode, the Trig Out signal is automatically disabled. -221 Settings conflict; trigger output connector used by FSK If you have enabled FSK and is using the external trigger source, the Trig Out signal is automatically disabled.
Page 99
mode or modulation Only one modulation can be enabled at one time. -221 Settings conflict; FSK turned off by selection of other mode or modulation Only one modulation can be enabled at one time. -221 Settings conflict; FM turned off by selection of other mode or modulation Only one modulation can be enabled at one time.
Page 100
-221 Settings conflict; not able to burst this function The waveform generator cannot generate a burst using the dc voltage function. -221 Settings conflict; not able to modulate noise, modulation turned off The waveform generator cannot generate a modulated waveform using the noise function.
Page 101
pulse the duty cycle to accommodate the specified period. -221 Settings conflict; edge time decreased due to period The edge time has been decreased to accommodate the period. -221 Settings conflict; pulse width increased due to large period The waveform generator has adjusted the pulse width to a greater minimum determined by the current period.
Page 102
-221 Settings conflict; FM deviation cannot exceed carrier The frequency deviation cannot exceed the carrier frequency, or the waveform generator will adjust the deviation to a maximum allowed value. -221 Settings conflict; FM deviation exceeds max frequency The sum of the carrier frequency and the deviation cannot exceed the maximum frequency for the chosen function plus 100 kHz (20.1 MHz for sine and square, 300 kHz for ramp, and 5.1 MHz for arbitrary waveforms).
Page 103
limitation: |Voffset| + Vpp / 2 ≤ Vmax, it is adjusted automatically to the maximum dc voltage allowed with the specified amplitude. -221 Settings conflict; amplitude changed due to offset When the existing amplitude does not conform to the following limitation: |Voffset| + Vpp / 2 ≤...
Page 104
-222 Data out of range; pulse duty cycle limited by period; value clipped to… The specified duty cycle does not conform to the following condition and is adjusted to accommodate the period: DutyCycle ≤ (1 – 1.6 x Edge time / Period) x 100% -222 Data out of range;...
Page 105
The frequency is out of range and is adjusted to the maximum value allowed due to selection of ramp waveform. -222 Data out of range; pulse frequency; value clipped to upper limit The frequency is out of range and is adjusted to the maximum value allowed due to selection of pulse waveform.
Page 106
lower boundary determined by the FM:DEV command. The carrier frequency must be greater than or equal to the frequency deviation. -222 Data out of range; marker confined to sweep span; value clipped to… The specified marker frequency is out of range and is adjusted to the start or stop frequency, whichever is closer.
-222 Data out of range; PWM deviation limited by pulse parameters The PWM deviation (width or duty cycle) is adjusted to accommodate the current pulse parameters such as pulse width/duty cycle, period and edge time. -222 Data out of range; duty cycle; value clipped to… The square wave duty cycle is adjusted to within 20% to 80%.
-350 Queue overflow More than 20 errors were found and the error queue was full. 7.4 Query Errors -410 Query INTERRUPTED A command was received, but the output buffer contained data from a previous command (the previous data is lost). -420 Query UNTERMINATED A query command was sent to read the output buffer over the interface, but no such command that generates data to the output...
7.7 Calibration Errors 701 Calibration error; security defeated by hardware jumper The calibration security feature has been disabled by shorting the two “CAL ENABLE” pads on the internal circuit board. 702 Calibration error; calibration memory is secured The calibration memory is secured to disallow a calibration from performing.
7.8 Arbitrary Waveform Errors 770 Nonvolatile arb waveform memory corruption detected A checksum error was found in the non-volatile memory used to store arbitrary waveform. As a result, the arbitrary waveform cannot be retrieved. 781 Not enough memory to store new arb waveform; use DATA:DELETE All non-volatile memory locations are occupied.
Page 112
788 Cannot copy to VOLATILE arb waveform You can only use DATA:COPY command to copy from VOLATILE, not to VOLATILE. 800 Block length must be even The binary data are represented as 16-bit integers. They are sent in groups of two bytes (DATA:DAC VOLATILE command). 810 State has not been stored The storage location specified in the *RCL command was never used in previous *SAV commands.
Appendix This appendix contains the performance specifications of the G5100A. It covers the AC, DC, Resistance, Temperature, and Frequency/Period characteristics under a variety of conditions. It also contains the general characteristics and accuracy calculations for your convenience. A lot of efforts are made to make sure these specifications serve your needs for production, engineering and/or research purposes.
Specification List Display Graph mode for visual verification of signal settings Standard Sine, Square, Ramp, Triangle, Pulse, waveforms Noise, DC Capability Built-in arbitrary Exponential Rise and Fall, Negative waveforms ramp, Sin(x)/x, Cardiac WAVEFORM CHARACTERISTIC Sine Frequency 1 uHz to 50 MHz 0.1dB(<100KHz) Amplitude 0.15dB(<5MHz)
Page 115
distortion DC to 1 MHz 2, 4 Spurious -70 dBc (non-harmonic) 1 MHz to 50 MHz -70 dBc + 6 dB/octave Phase Noise -115/dBC/Hz, typical (10K Offset) when f ≥ 1MHz, V ≥ 0.1Vpp Frequency 1 uHz to 25 MHz Rise/Fall time <...
Page 116
Sample Rate 125 MSa/s 30ns typical Rise/Fall Time Linearity < 0.1%of peak output Settling Time < 250ns to 0.5% of final value Jitter(RMS) 6ns + 30ppm Non-volatile 4 waveforms * 256K Points Memory COMMON CHARACTERISTIC Frequency Resolution 1uHz 10mVpp to 10Vpp in 50Ω Range 20mVpp to 20Vpp in Hi-Z Accuracy...
Page 117
Frequency Level 100mVpp ~5Vpp Input Impedance 1KΩ typical, AC coupled Lock Time < 2 Sec External Lock Range 10 MHz Frequency Level 632mVpp (0dBm), typical Output Impedance 50Ω typical, AC coupled -360 º to +360 º Phase Offset Range 0.001 º Resolution Accuracy Modulation...
Page 118
Carrier Pulse Source Internal / external Internal Sine, Square, Ramp, Triangle, Noise, Arb Modulation Frequency 2mHz to 20KHz (Internal) Deviation 0% ~ 100% of pulse width Carrier Sine, Square, Ramp, Arb Source Internal / external Internal 50% duty cycle Square Modulation Frequency 2mHz to 100KHz...
Remote Interface Reference B.1 An Introduction to the SCPI Language SCPI (Standard Commands for Programmable Instruments) is an ASCII-based instrument command language designed for testing and measurement instruments. It is based on a hierarchical structure, also known as a tree system . In this system, associated commands are grouped together under a common node or root, thus forming subsystems .
Most commands (and some parameters) are expressed as a mixture of upper- and lower-case letters. The upper-case letters indicate the abbreviated part that must be specified for the command. For shorter program lines, send the abbreviated form. For better program readability, use the long form.
A semicolon ( ; ) is used to separate commands within the same subsystem, and can reduce typing efforts. For example, sending the following command string: "BURSt:MODE TRIG ; NCYCles 10" is the same as sending the following two commands: "BURS:MODE TRIG"...
You can also query the minimum or maximum start frequency allowed for the current waveform function as follows: "STAR? MIN" "STAR? MAX" Caution • If you send two query commands without reading the response from the first, then when you attempt to read the response, you may receive some data from the first response followed by the complete second response.
Page 124
Numeric Parameters Commands that require numeric parameters will accept all commonly used decimal representations of numbers including optional signs, decimal points, and scientific notation. Special values for numeric parameters like MINimum, MAXimum, and DEFault are also accepted. You can also send engineering unit suffixes with numeric parameters (e.g., Mhz or Khz).
B.2 Output Data Formats Output data will be in one of formats shown in the table below. Type of Output Data Output Data Format Non-reading queries < 80 ASCII character string Single reading (IEEE-488) SD.DDDDDDDDESDD<nl> Multiple readings (IEEE-488) SD.DDDDDDDDESDD,...,...,<nl> Single reading (RS-232) SD.DDDDDDDDESDD<cr><nl>...
Page 126
+5v, and the output will be at the minimum amplitude when the modulating signal is at -5v. • The modulation output of G5100A will not exceed ±5V peak (into a 50Ω load) even if the modulation depth is greater than 100%. AM:DEPTh? [MINimum|MAXimum] Query the modulation depth in amplitude modulation.
Page 127
the modulating signal is at +5v, and the output will be at the minimum amplitude when the modulating signal is at-5v. AM:SOURce? Query the modulating source in amplitude modulation. “INT” or “EXT” string indicating the modulating source will be returned. AM:STATe {OFF|ON} Disable or Enable the amplitude modulation.
Page 128
setting, depending on which has been selected to “hold” (FUNC:PULS:HOLD command). However the waveform generator will adjust the pulse width or the edge time to comply with the frequency restrictions for pulse waveforms. APPLY: NOISe [<frequency︱DEF> [,<amplitude > [,<offset>] ]] Output Gaussian pulse wave with the specific frequency, amplitude and (dc) offset.
Page 129
Specify the burst mode. The default is Triggered mode. In the triggered mode, the waveform generator outputs a waveform with specified number of cycles (burst count) each time a trigger is received from the specified trigger source. In the gated mode, the output waveform is either “on” or “off” based on the external signal level on the Ext Trig connector on the rear panel.
Page 130
The burst count will be returned. The range is from 1 to 50,000, and 9.9E+37 is returned if Infinite is specified. BURSt:INTernal:PERiod {<seconds>|MINimum|MAXimum} Specify the burst period for bursts with internal (immediate) trigger source. The burst period is ignored when external or manual trigger source is enabled (or when the gated burst mode is chosen).
Page 131
BURSt:STATe? “0” (OFF) or ”1” (ON) will be returned. BURSt:GATE:POLarity {NORMal|INVerted} Specify whether the waveform generator uses true-high or true-low logic levels on the rear-panel Ext Trig connector for an externally-gated burst. The default is NORM (true-high logic). BUTSt:GATE:POLarity? “NORM” or “INV” will be returned. -- C -- CALibration? Perform a calibration using the specified calibration value (CALibration:VALue...
Page 132
(ON). CALibration:SETup <0︱1︱2︱3︱…︱94> Configure the waveform generator’s internal state for each of the calibration step to be performed. CALibration:SETup? Query the calibration setup number. Return a value from “0” to “94”. CALibration:STRing<quoted string> Record information about calibration. For instance, the name of the person who did the calibration, the date of the last calibration, or the date of next scheduled calibration.
Page 133
The values -1 and +1 correspond to the peak values of the waveform • when the offset is zero volts. The maximum amplitude will be limited if the data points do not span • the full range of the output DAC (Digital-to-Analog Converter). The DATA command overwrites the previous waveforms in volatile •...
Page 134
values between ±1 and therefore its maximum amplitude is 6.087 Vpp (into 50 ohms). The DATA:DAC command overwrites the previous waveform in volatile memory (and no error will be generated). Use the DATA:COPY command to copy the waveform to non-volatile memory. The on-volatile memory can store up to four user-defined waveforms.
Page 135
the offset is 0 volts). The maximum amplitude will be limited if the data points do not span the full range of the output DAC (Digital-to-Analog converter). For example, the built-in sinc wave does not use the full range of binary values between ±8191 and thus its maximum amplitude is limited to 6.087 Vpp (into 50 Ω).
Page 136
cannot delete an arbitrary waveform that is currently output, or an error will be generated. DATA:ATTRibute:AVERage? [<arb name>] Query the arithmetic average of all data points for the specified waveform (-1≤≤). The default waveform is the currently active one (FUNC:USER command).
Page 137
the front-panel display overrides the display state. The display is automatically enabled when the waveform generator has been turned off or after *RST command, or when you return to local (front-panel) operation. The display state is saved when you store the instrument state using *SAV command.
Page 138
FM:INTernal:FUNCtion? Query the modulating function used in frequency modulation. “SIN”, “SQU”, “RAMP”, “NRAM”, “TRI”, “NOIS” or ”USER” string indicating the modulating function will be returned. -- Square waveform has 50% duty cycle. --Ramp waveform has 100% symmetry --Triangle waveform has 50% symmetry. --Negative Ramp waveform has 0% symmetry.
Page 139
If the deviation causes the carrier waveform to exceed a frequency boundary for the current duty cycle (square waveform only), G5100A will automatically adjust the duty cycle to the maximum value allowed with the present carrier frequency.
Page 140
Disable or Enable the frequency modulation. To avoid multiple waveform changes, you can enable it after setting up the modulation parameters. The waveform generator allows only one of burst, sweep and modulations enabled at one time. As long as one is enabled, the other will be turned off. FM:STATe? “0”...
Page 141
ramps, from 1µHz to 10 MHz for arbitrary waveforms, from 1µHz to 25 MHz for square, and from 1µHz to 50 MHz for sine. The default is 1 KHz. The minimum value is 1µHz and the maximum value is 50 MHz. FREQuency:STOP? [MINimum|MAXimum] The stop frequency in sweeps will be returned.
Page 142
FSKey: FREQuency {<frequency>|MINimum|MAXimum} Specify the FSK alternate (or ”hop”) frequency. The range is from 1 μHz to 200 kHz for ramps, 1 μHz to 10 MHz for arbitrary waveforms, from 1µHz to 25 MHz for square, and from 1µHz to 50 MHz for sine, and the default is 100Hz. FSKey: FREQuency? [MINimum|MAXimum] Query the “hop”...
Page 143
width and edge time restrictions apply.) If a command specifying the duty cycle is received, the duty cycle is converted into equivalent pulse width in seconds. If Pulse Width Modulation is turned on, the pulse width is held, and the width deviation is held too, as the period is varied. Duty cycle deviation commands are converted to width deviation values.
Page 144
necessary to accommodate the period. From the remote interface, a “Setting conflict” error is generated and the pulse width is adjusted. The specified pulse width must be less than the difference between the period and the edge time. Pulse Width ≤Period – (1.6x Edge time) The waveform generator adjusts the edge time first, and then the width if necessary to accommodate the period.
Page 145
where Wmin=20 ns when period is not greater than 10s. Wmin=200 ns when period is greater than 10 s, but not greater than 100s. Wmin=2μs when period is greater than 100d, not greater than 1000s. Wmin=20μs when period is greater than 1000s. The waveform generator adjusts the pulse duty cycle when needed to accommodate the specified pulse period.
Page 146
Edge time ≤ 0.625 x Period x Duty cycle/100 FUNCtion:PULSe:TRANsition? [MINimum|MAXimum] Query the edge time. The edge time in seconds is returned. FUNCtion:RAMP:SYMMetry {<percent>︱ MINimum|MAXimum } Specify the symmetry percentage for ramp waves. Symmetry represents the amount of time per cycle that the ramp wave is rising (supposing the waveform polarity is not inverted).
Page 147
FUNCtion:SQUare:DCYCle? [MINimum|MAXimum] Query the current duty cycle in percent. FUNCtion USER {<arb name>︱VOLATILE} Choose one of the five built-in arbitrary waveform functions, one of four user-defined waveforms, or the waveform currently downloaded to volatile memory. The names of the five built-in arbitrary waveforms are “EXP_RISE”, “EXP_FALL”, “NEG_RAMP”, “SINC”, and “CARDIAC”.
FUNCtion? Query the selection made by FUNCtion USER command. One of the strings “SIN”, “SQU”, “RAMP”, “PULS”, “NOIS”, “DC”, and “USER” will be returned. -- I to O -- -- I -- *IDN? Query the waveform generator’s identification string which contains four fields separated by commas.
Page 149
so when the marker frequency is turned on ( and the sweep mode is also turned on), the OUTP:SYNC command is ignored. MARKer? “0” or “1” indicating the enable state of the frequency marker will be returned. MARKer:FREQuency {<frequency>︱MINimum︱MAXimum} Specify the marker frequency. The signal on the front-panel Sync connector goes to a logic low at the marker frequency during the sweep.
Page 150
Erase the instrument state from the specified storage location, including the custom name specified to that location, if any, and restore the default name. You cannot recall the instrument state from a storage location that is empty or an error will be generated. MEMory:STATe:RECall:AUTO {OFF︱ON} This instrument doesn't support automatic recall of the power-down state.
Page 151
triggered burst modes to provide a way to poll or interrupt the computer when the *TRG command is complete. *OPC? Returns “1” to the output buffer after the previous commands have been completed. Other commands can not be executed until this command completes.
Page 152
to the front-panel Output connector. If the actual load impedance is different than the specified value, the displayed amplitude, offset and high/low levels will be incorrect. When the output termination is set to “high impedance”, you cannot • specify the output amplitude in dBm. The unit will be automatically converted to Vpp.
enabled by OUTP:TRIG command, a TTL-compatible square waveform with the specified edge is output from the Ext Trig connector on the rear panel at the beginning of the sweep or burst. For a pulse with a rising edge, use Positive and for a pulse with a falling edge, use Negative.
Page 154
waveform in order to change the phase relationship to the external signal to which it is currently locked. The phase adjustment for phase-lock applications is independent of the burst phase as set by the BURS:PHAS command. PHASe [MINimum MAXimum] ︱ Query the phase offset in degree or radians.
Page 155
PM:INTernal:FUNCtion? Query the modulating function used in phase modulation. “SIN”, “SQU”, “RAMP”, “NRAM”, “TRI”, “NOIS” or ”USER” string indicating the modulating function will be returned. PM:INTernal:FREQuency {<frequency>|MINimum|MAXimum} Specify the modulating waveform frequency. This applies only the modulation source is internal (PM:SOUR INT). The range is from 2 mHz to 20 kHz and the default is 10 Hz.
Page 156
PM:STATe {OFF|ON} Disable or enable Phase Modulation. The default is Off. To avoid multiple waveform changes, you can enable it after setting up the modulation parameters. Only one type of modulation can be activated at one time. Also when Phase modulation is activated, sweep or burst mode will be disabled.
Page 157
another function, the period will be used on the new function. If you change to a function whose minimum period is greater than that for a pulse waveform, the period is adjusted to the minimum value allowed for the new function. For example, if you output a pulse waveform with a period of 200 ns and then change to the ramp function, the waveform generator will automatically adjust the period to 5 µs (the lower limit for ramps).
Page 158
Width Deviation ≤ Period - Pulse Width – Wmin Where: Wmin = 20 ns for period ≤ 10 s. Wmin = 20 ns for period > 10 s, but ≤ 100 s. Wmin = 2 μs for period > 100 s, but ≤ 1000 s. Wmin = 20 μs for period >...
Page 159
greater than the pulse duty cycle and is under the following constraints: Duty Cycle Deviation ≤ Duty Cycle – 100 Χ Minimum Width/Period Duty Cycle Deviation≤ 100 – Duty Cycle – 100 Χ Minimum Width/Period Where Wmin = 20 ns for period ≤ 10 s. Wmin = 20 ns for period >...
Page 160
external source, the pulse waveform is modulated with an external waveform. The width/duty cycle deviation is controlled by the ±5V signal level shown on the Modulation In connector on the rear panel. It means that when the modulating signal is at +5V, the output will be at its maximum duty cycle, and when the modulating signal is at -5V, the output will be at its minimum duty cycle.
Page 161
enables the front-panel display if it has been turned off. This command will abort a sweep or burst in progress. -- S -- *SAV {1︱2︱3︱4} Store the current instrument state to the specified non-volatile storage location. If there is any instrument state stored in the specified location, it will be •...
Page 162
The number of discrete frequency points in the sweep will be calculated according to the specified sweep time. SWEepe:TIME? Query the sweep time. The sweep time in seconds will be returned. SWEep:STATe{OFF︱ON} Disable or enable the sweep mode. The default is Off. To avoid multiple waveform changes, you can enable it after setting up the modulation parameters.
Page 163
SYSTem:COMMunicate:RLSTate {LOCal︱REMote︱RWLock} Set the remote/local state of the waveform generator over the LAN interface from a Telnet or socket session. Provides control analogous to the IEEE-488.2 commands such as GTL (Go To Local) over the GPIB and USB interfaces. The default is Local which sets the instrument state to local and removes any annunciator and locks the front-panel keyboard.
Page 164
TRIGger Issue an immediate trigger from the remote interface. This command can trigger a sweep or burst with any available trigger source (TRIG:SOUR command). TRIGger:SOURce {IMMediate︱EXTernal︱BUS} Specify a trigger source for the triggered burst mode only. The waveform generator accepts a software (BUS) trigger, an immediate (internal) trigger, or a hardware trigger from the rear-panel EXT TRIG connector.
Page 165
source will be returned. TRIGger:SLOPe {POSitive︱NEGative} Specify whether the rising (positive) or falling (negative) edge of the trigger signal is to be used for an externally-triggered sweep. The default is POS. TRIGger:SLOPe? Query the trigger slope. “POS” or “NEG” string indicating the trigger slope will be returned.
Page 166
changed, the Output Amplitude is automatically adjusted. For instance, when you change the output termination from 50 ohms to “high impedance”, your offset voltage doubles, thus it affects your output amplitude, and when Output Termination has been changed from “high impedance”...
Page 167
(5 volts for a 50Ω load or 10 volts for a high-impedance load). The function generator will take the new specified output amplitude, but the offset voltage may be reduced accordingly, and a “Settings conflict” error is generated. When the Output Termination Setting is changed, the offset limits are automatically adjusted.
Page 168
will have an amplitude of 5 Vpp (with an associated offset voltage of -500 mV) when you set your high level to +2 Vpp and low level to -3 Vpp. When the Output Termination Setting is changed, the voltage levels are automatically adjusted.
Page 169
VOLTage:LOW? [MINimum︱MAXimum] Query the low voltage level. VOLTage: RANGe:AUTO{OFF︱ON︱ONCE} Disable or enable the voltage auto-ranging. The default is “On” where the waveform generator selects an optimal setting for the output amplifier and attenuators. When the auto-ranging is “Off”, the current setting is used. The “ONCE”...
Most of these non-documented commands duplicate the functionality of a command already described in this chapter. B.5 IEEE-488 Compliance Information The SCPI commands used in G5100A are in conformance with the SCPI standard Version 1992.0. The common commands are listed below: *CLS *ESE<NRf>...
*PSC {0|1} *PSC? *RCL<0 ︱ 1 ︱ 2 ︱ 3 ︱ 4> *RST *SAV<0 ︱ 1 ︱ 2 ︱ 3 ︱ 4> *SRE<NRf> *SRE? *STB? *TRG *TST? *WAI B.6 Using Device Clear to Halt Measurements Device Clear is a special IEEE-488 low-level bus message. It is designed to be used to return the waveform generator to a responsive state.
C. General Specifications item Limitation & description 100V/240V 50Hz~60Hz Power Supply Voltage 100V/120V 400Hz Power Requirements 50 VA Maximum 1) 0 ℃ /30%RH 2) 18 ℃ /40%RH 3) 23 ℃ /40%RH 4) 28 ℃ /40%RH Operating Humidity 5) 35 ℃ /80%RH 6) 50 ℃...
Page 173
Introduction Five example programs are included in this chapter to demonstrate controlling the PICOTEST G5100A using SCPI commands. All of these programs are written in Microsoft® Visual C++® 6.0 and use the NI-VISA. If you want to modify the example programs, or write your own programs and compile them, you will need to install the NI-VISA.
Page 174
If the communication is via GPIB or LAN interface, you have to revise the following USB command 1). to be GPIB 2). or LAN 3). one. 1). char instrDesc[]="USB0::5710::5100::TW00009009::INSTR"; 2). char instrDesc[]="GPIB0::10:: INSTR"; //GPIB control,Address:10 3). char instrDesc[]="TCPIP0::192.168.0.123::inst0::INSTR";//IP address:192.168.0.123 Program Listings Example: A Simple Sine Waveform This program (found in the “Examples\Sine”...
Page 175
viPrintf(vi,"*RST\n"); viPrintf(vi,"FUNCtion SINusoid\n"); //Select waveshape // Other options are SQUare, RAMP, PULSe, NOISe, DC, and USER viPrintf(vi,"OUTPut:LOAD 50\n"); //Set the load impedance in Ohms //(50 Ohms default) // May also be INFinity, as when using oscilloscope or DMM viPrintf(vi,"FREQuency 12500\n"); //Set the frequency.
Page 176
if (status != VI_SUCCESS){ printf("Can not Open device:\"%s\"\n",instrDesc); return; // This program uses low-level SCPI commands to configure // the function gnerator to output an AM waveform. // This program also shows how to use "state storage" to // store the instrument configuration in memory. viPrintf(vi,"*RST\n");...
Page 177
ViSession defaultRM,vi=0; ViStatus status; char instrDesc[]="USB0::5710::5100::TW00009009::0::INSTR"; viOpenDefaultRM (&defaultRM); status = viOpen(defaultRM,instrDesc, VI_NULL,VI_NULL, &vi); if (status != VI_SUCCESS){ printf("Can not Open device:\"%s\"\n",instrDesc); return; //This program sets up a linear sweep using a sinusoid //waveform. It sets the start and stop frequency and sweep //time.
Page 178
time is then incremented. //A Pulse Waveform #include <visa.h> #include <stdio.h> #include <windows.h> void main (int argc,char *argv[]) ViSession defaultRM,vi=0; ViStatus status; char instrDesc[]="USB0::5710::5100::TW00009009::0::INSTR"; int i; viOpenDefaultRM (&defaultRM); status = viOpen(defaultRM,instrDesc, VI_NULL,VI_NULL, &vi); if (status != VI_SUCCESS){ printf("Can not Open device:\"%s\"\n",instrDesc); return;...
Page 179
for(i=0;i<19;i++){ //Vary edge by 5 nsec steps viPrintf(vi,"PULSe:TRANsition %E\n",0.00000001 + i * 0.000000005); Sleep(300); //Wait 300 msec viClose (vi); viClose (defaultRM); Example: Pulse Width Modulation (PWM) This program (found in the “Examples\PWM” subdirectory on the CD-ROM) configures a pulse waveform with duty cycle, which is then slowly modulated by a triangle waveform.
Page 180
//units (pulse width and deviation) rather than duty cycle //if preferred. viPrintf(vi,"*RST\n"); viPrintf(vi,"OUTPut:LOAD 50\n"); //Set the load impedance to // 50 Ohms (default) viPrintf(vi,"FUNCtion:SHAPe PULSe\n"); //Carrier waveshape is pulse viPrintf(vi,"FREQuency 5000\n"); //Carrier frequency is 5 kHz viPrintf(vi,"VOLTage:LOW 0\n"); //Set parameters to 5 V TTL viPrintf(vi,"VOLTage:HIGH 5\n");...
Need help?
Do you have a question about the G5100A and is the answer not in the manual?
Questions and answers