Generations (GENerator)


Start output or Query the status of output when synchronization is ON

Syntax

(Command)

(Query)


:GENerator:RUN

:GENerator:RUN?

(Response)

A$ = RUN, STOP

Details

Start signal generation when synchronization is ON.
Returns the signal generation state when synchronization is ON as text data.

RUN Starts output.
STOP Stops output.

Example

:GENerator:RUN
:GENerator:RUN?
(Response)  :GENerator:RUN RUN  (when headers are enabled)

Note

-

Usage
Conditions

Synchronization must be set ON.




Stop output when synchronization is ON

Syntax

(Command)


:GENerator:STOP

Details

Stop signal generation when synchronization is ON

Example

:GENerator:STOP

Note

-

Usage
Conditions

Synchronization must be set ON.




Set or query the signal generation channel synchronization method

Syntax

(Command)

(Query)


:GENerator:SYNC A$

:GENerator:SYNC?

(Response)

A$

A$ = OFF, ON

Details

Sets the signal generation channel synchronization method.
Returns the signal generation channel synchronization method.

OFF Generation starts when the output of each channel is turned on.
ON Starts/stops signal generation in synchronization with all output channels.

Example

:GENerator:SYNC ON
:GENerator:SYNC?
(Response)  :GENERATOR:SYNC ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the method of synchronizing signal generation and measurement

Syntax

(Command)

(Query)


:GENerator:MSYNc A$

:GENerator:MSYNc?

(Response)

A$

A$ = OFF, ON

Details

Sets the method of synchronizing signal generation and measurement.
Returns the method of synchronizing signal generation and measurement.

OFF Start/stop signal generation on the signal generation screen.
ON Signal generation is started/stopped at the timing of measurement start/stop.

Example

:GENerator:MSYNc ON
:GENerator:MSYNc?
(Response)  :GENERATOR:MSYNC ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the amplitude

Syntax

(Command)

(Query)


:GENerator:MGAMplitude A$,B

:GENerator:MGAMplitude? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = 0.000 to 20.000 (V)

Details

Sets the amplitude for the U8793 Arbitrary Waveform Generator Unit.
Returns the amplitude as an NR2 value.
Valid setting range: 0 to 20 (in 0.001 increments; unit: [Vpp])

Example

:GENerator:MGAMplitude CH1_1,12.5
:GENerator:MGAMplitude? CH1_1

(Response)  :GENERATOR:MGAMPLITUDE CH1_1,12.500  (when headers are enabled)

Note

The voltage that can be generated represents the total of the amplitude andoffset and is subject to an upper limit of +15 V and a lower limit of -10 V.

Usage
Conditions

-




Set or query the clock frequency of arbitrary waveform

Syntax

(Command)

(Query)


:GENerator:MGCLock A$,B

:GENerator:MGCLock? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = 0 to 2000000 (Hz)

Details

Sets the clock frequency when the waveform type forthe U8793 Arbitrary Waveform Generator Unit is set to [Arbitrary].
Returns the clock frequency as an NR2 value.
Valid setting range: 0 to 2000000 (in 0.01 increments; unit: [Hz])

Example

:GENerator:MGCLock CH1_1,1250
:GENerator:MGCLock? CH1_1
(Response)  :GENERATOR:MGCLOCK CH1_1,1250.00  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the clock period of arbitrary waveform

Syntax

(Command)

(Query)


:GENerator:MGCPeriod A$,B

:GENerator:MGCPeriod? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = 0 to 100 (s)

Details

Sets the clock period when the waveform type forthe U8793 Arbitrary Waveform Generator Unit is set to [Arbitrary].
Returns the clock period as an NR3 value (with 9 significant digits).
Valid setting range: 0 to 100 (unit: [s])

Example

:GENerator:MGCPeriod CH1_1,0.125
:GENerator:MGCPeriod? CH1_1
(Response)  :GENERATOR:MGCPERIOD CH1_1,1.25000000E-01  (when headers are enabled)

Note

Although the clock period can be specified within the above range,the setting is actually configured as a clock frequency.Consequently, the values that can be set are limited,and the setting will be automatically converted to a valid clock frequency value.

Usage
Conditions

-




Set or query the delay

Syntax

(Command)

(Query)


:GENerator:MGDElay A$,B

:GENerator:MGDElay? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = -250000 to 250000 (Data points)

Details

Sets the delay when the waveform type forthe U8793 Arbitrary Waveform Generator Unit is set to [Arbitrary].
Returns the delay as an NR1 value.
Valid setting range: -250000 to 250000 (unit: [data points])

Example

:GENerator:MGDElay CH1_1,-1250
:GENerator:MGDElay? CH1_1
(Response)  :GENERATOR:MGDELAY CH1_1,-1250  (when headers are enabled)

Note

Positive delay values result in leading phase,while negative delay values result in lagging phase.

Usage
Conditions

-




Set or query the duty

Syntax

(Command)

(Query)


:GENerator:MGDUty A$,B

:GENerator:MGDUty? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = 0.1 to 99.9 (%)

Details

Sets the duty for the U8793 Arbitrary Waveform Generator Unit.
Returns the duty as an NR2 value.
Valid setting range: 0.1 to 99.9 (in 0.1 increments; unit: [%])

Example

:GENerator:MGDUty CH1_1,12.5
:GENerator:MGDUty? CH1_1

(Response)  :GENERATOR:MGDUTY CH1_1,12.5  (when headers are enabled)

Note

The duty setting is valid when the waveform type is set to [Pulse].

Usage
Conditions

-




Set or query the filter of arbitrary waveform

Syntax

(Command)

(Query)


:GENerator:MGFIlter A$,B$

:GENerator:MGFIlter? A$

(Response)

A$,B$

A$ = CH1_1 to CH8_2
B$ = OFF, 50, 100, 200, 500, 1K, 2K, 5K, 10K, 20K, 50K, 100K, 200K, 500K, 1M

Details

Sets the filter when the waveform type forthe U8793 Arbitrary Waveform Generator Unit is set to [Arbitrary].
Returns the filter setting as text data.

Example

:GENerator:MGFIlter CH1_1,200K
:GENerator:MGFIlter? CH1_1
(Response)  :GENERATOR:MGFILTER CH1_1,200K  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the frequency

Syntax

(Command)

(Query)


:GENerator:MGFRequency A$,B

:GENerator:MGFRequency? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = 0 to 100000 (Hz)

Details

Sets the waveform type for the U8793 Arbitrary Waveform Generator Unit.
Returns the frequency as an NR2 value.
Valid setting range: 0 to 100000 (in 0.01 increments; unit: [Hz])

Example

:GENerator:MGFRequency CH1_1,1250
:GENerator:MGFRequency? CH1_1
(Response)  :GENERATOR:MGFREQUENCY CH1_1,1250.00  (when headers are enabled)

Note

When the waveform type is set to [Arbitrary], set the clock frequency using :MGCLock . 。

Usage
Conditions

-




Set or query the waveform type

Syntax

(Command)

(Query)


:GENerator:MGKInd A$,B$

:GENerator:MGKInd? A$

(Response)

A$,B$

A$ = CH1_1 to CH8_2
B$ = DC, SIN, RECTanguler, PULSe, TRIAngle, UPRAmp, DWRAmp, FUNCtion, PROGram

Details

Sets the waveform type for the U8793 Arbitrary Waveform Generator Unit.
Returns the waveform type setting as text data.

DC DC output
SIN Sine wave output
RECTanguler Rectangular wave output
PULSe Pulse wave output
UPRAmp Ramp up output
DWRAmp Ramp down output
FUNCtion User-created waveform output
PROGram Program waveform output

Example

:GENerator:MGKInd CH1_1,SIN
:GENerator:MGKInd? CH1_1
(Response)  :GENERATOR:MGKIND CH1_1,SIN   (when headers are enabled)

Note

-

Usage
Conditions

Signal generation must be in the STOP state.




Set or query the loop count of arbitrary waveform

Syntax

(Command)

(Query)


:GENerator:MGLOop A$,B

:GENerator:MGLOop? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = 0 to 50000 (count)

Details

Sets the loop count when the waveform type forthe U8793 Arbitrary Waveform Generator Unit is set to [Arbitrary].
Returns the loop count as an NR1 value.
Valid setting range: 0 to 50000 (with the value 0 indicating an infinite number of loops)

Example

:GENerator:MGLOop CH1_1,1250
:GENerator:MGLOop? CH1_1
(Response)  :GENERATOR:MGLOOP CH1_1,1250  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the name of waveform to generate

Syntax

(Command)

(Query)


:GENerator:MGNAme A$,"B$"

:GENerator:MGNAme? A$

(Response)

A$,"B$"

A$ = CH1_1 to CH8_2
B$ = Waveform name

Details

Sets the waveform name to generate when the waveform type forthe U8793 Arbitrary Waveform Generator Unit is set to [Arbitrary].
Returns the generated waveform name setting as text data.

Example

:GENerator:MGNAme CH1_1,"TEST"
:GENerator:MGNAme? CH1_1
(Response)  :GENERATOR:MGNAME CH1_1,"TEST"  (when headers are enabled)

Note

-

Usage
Conditions

Signal generation must be in the STOP state.




Query the data count of arbitrary waveform

Syntax

(Query)


:GENerator:MGNUmber? A$

(Response)

A$ = CH1_1 to CH8_2

B = <NR1>

Details

Returns the data count for the waveform that is generatedwhen the waveform type for the U8793 Arbitrary Waveform Generator Unitis set to [Arbitrary] as an NR1 value.

Example

:GENerator:MGNUmber? CH1_1
(Response)  :GENERATOR:MGNUMBER CH1_1,1000  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the offset

Syntax

(Command)

(Query)


:GENerator:MGOFfset A$,B

:GENerator:MGOFfset? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = -10.000 to +15.000 (V)

Details

Sets the offset or (when the waveform type is set to DC) voltage for the U8793 Arbitrary Waveform Generator Unit.
Returns the offset or (when the waveform type is set to DC) voltage as an NR2 value.
Valid setting range: -10 to 15 (in 0.001 increments; unit: [V])

Example

:GENerator:MGOFfset CH1_1,1.25
:GENerator:MGOFfset? CH1_1

(Response)  :GENERATOR:MGOFFSET CH1_1,1.250  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the waveform output

Syntax

(Command)

(Query)


:GENerator:MGOUtput A$,B$

:GENerator:MGOUtput? A$

(Response)

A$,B$

A$ = CH1_1 to CH8_2
B$ = OFF,ON

Details

Sets signal generation output for the U8793 Arbitrary Waveform Generator Unit.
Returns the signal generation output setting as text data.

OFF Disables signal generation.
ON Generates a signal when signal generation control is in the RUN state.

Example

:GENerator:MGOUtput CH1_1,ON
:GENerator:MGOUtput? CH1_1
(Response)  :GENERATOR:MGOUTPUT CH1_1,ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the period

Syntax

(Command)

(Query)


:GENerator:MGPEriod A$,B

:GENerator:MGPEriod? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = 100 (s)

Details

Sets the period for the U8793 Arbitrary Waveform Generator Unit.
Returns the period as an NR3 value (with 9 significant digits).
Valid setting range: 0 to 100 (unit: [s])

Example

:GENerator:MGPEriod CH1_1,0.125
:GENerator:MGPEriod? CH1_1
(Response)  :GENERATOR:MGPERIOD CH1_1,1.25000000E-01  (when headers are enabled)

Note

Although the period can be specified within the above range,the setting is actually configured as a frequency. Consequently, the values that can be set are limited,and the setting will be automatically converted to a valid frequency value.

When the waveform type is set to [Arbitrary], set the clock period using :MGCPeriod .

Usage
Conditions

-




Set or query the phase

Syntax

(Command)

(Query)


:GENerator:MGPHase A$,B

:GENerator:MGPHase? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = -360 to 360 (degree)

Details

Sets the phase for the U8793 Arbitrary Waveform Generator Unit.
Returns the phase as an NR2 value.
Valid setting range: -360 to 360 (in 0.1 increments; unit: [degree])

Example

:GENerator:MGPHase CH1_1,12.5
:GENerator:MGPHase? CH1_1
(Response)  :GENERATOR:MGPHASE CH1_1,12.5  (when headers are enabled)

Note

When the waveform type is [Arbitrary], set the delay using :MGDElay.

Usage
Conditions

-




Set or query the output terminal state

Syntax

(Command)

(Query)


:GENerator:MGSTop A$,B$

:GENerator:MGSTop? A$

(Response)

A$,B$

A$ = CH1_1 to CH8_2
B$ = SHORT,OPEN

Details

Sets the output terminal state when U8793 Arbitrary Waveform Generator Unit output is turned off.
Returns the output terminal state setting as text data.

SHORT Short
OPEN Open

Example

:GENerator:MGSTop CH1_1,SHORT
:GENerator:MGSTop? CH1_1
(Response)  :GENERATOR:MGSTOP CH1_1,SHORT  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the amplitude adjustment value of arbitrary waveform

Syntax

(Command)

(Query)


:GENerator:MGVErnier A$,B

:GENerator:MGVErnier? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = 0.000 to 2.000

Details

Sets the amplitude adjustment value when the waveform type forthe U8793 Arbitrary Waveform Generator Unit is set to [User waveform].
Returns the amplitude adjustment value as an NR2 value.
Valid setting range: 0 to 2 (in 0.001 increments)
The amplitude of the user waveform can be increased or decreased withinthe range of 0× to 2×.
(The unit cannot generate output in excess of the range of -10 V to +15 V.)

Example

:GENerator:MGVErnier CH1_1,1.25
:GENerator:MGVErnier? CH1_1
(Response)  :GENERATOR:MGVERNIER CH1_1,1.250  (when headers are enabled)

Note

-

Usage
Conditions

-




Set or query the overall loop count

Syntax

(Command)

(Query)


:GENerator:MGWHole A$,B

:GENerator:MGWHole? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = 0 to 50000 (count)

Details

Sets the overall loop count when the waveform type forthe U8793 Arbitrary Waveform Generator Unit is set to [Program].
Returns the overall loop count as an NR1 value.
Valid setting range: 0 to 50000 (with the value 0 indicatingan infinite number of loops)

Example

:GENerator:MGWHole CH1_1,1250
:GENerator:MGWHole? CH1_1
(Response)  :GENERATOR:MGWHOLE CH1_1,1250  (when headers are enabled)

Note

-

Usage
Conditions

Signal generation must be in the STOP state.




Cancel registration or referencing

Syntax

(Command)


:GENerator:MPABort

Details

Cancels registration or referencing(if registering steps, discarding any steps in the process of being registered).

Example

:GENerator:MPABort

Note

-

Usage
Conditions

-




Registers a new program or references a previously registered program

Syntax

(Command)


:GENerator:MPBEgin A$,B$

A$ = CH1_1 to CH8_2
B$ = NEW,REF

Details

Registers a new program or references a previously registered program.

NEW Registers a new program.
REF References a previously registered program.

Example

:GENerator:MPBEgin CH1_1,NEW
:GENerator:MPSTep SIN,1000,-1,10,-1,0,-99,0,1,0,OFF
:GENerator:MPSTep DC,5,2,OFF
:GENerator:MPFInish

:GENerator:MPBEgin CH1_1,REF
:GENerator:MPMAxstep?
2
:GENerator:MPSTep?
SIN,1000,-1,10,-1,0,-99,0,1,0,OFF
:GENerator:MPSTep?
DC,5,2,OFF
:GENerator:MPFInish

Note

-

Usage
Conditions

Signal generation must be in the STOP state.
The Edit Program screen is not being displayed.




Finishes registration or referencing

Syntax

(Command)


:GENerator:MPFInish

Details

Finishes registration or referencing.

Example

:GENerator:MPFInish

Note

-

Usage
Conditions

-




Query maximum number of steps in program

Syntax

(Query)


:GENerator:MPMAxstep?

(Response)

-

Details

Queries the maximum number of steps in the program being referenced.

Example

:GENerator:MPMAxstep?
(Response)  :GENerator:MPMAxstep 2  (when headers are enabled)

Note

-

Usage
Conditions

The "References a previously registered program" command must have been sent before this command.
The Edit Program screen is not being displayed.




Query the step when referencing a program

Syntax

(Command)

(Query)


:GENerator:MPSTep K$ (,"N$",F1,F2,A1,A2,V1,V2,O1,O2,P,D1,D2T,L,H$)

:GENerator:MPSTep?

(Response)

K$ (,"N$",F1,F2,A1,A2,V1,V2,O1,O2,P,D1,D2T,L,H$)

K$: Waveform type (DC, SIN, RECTanguler, PULSe, TRIAngle, UPRAmp, DWRAmp, FUNCtion)
N$: Name of arbitrary waveform
F1: Start frequency (Clock frequency setting for arbitrary waveforms)
F2: End frequency (Set to -1 when not using the sweep function.)
A1: Start amplitude
A2: End amplitude (Set to -1 when not using the sweep function.)
V1: Start value of the amplitude adjustment
V2: End value of the amplitude adjustment (Set to -1 when not using the sweep function.)
O1: Start offset
O2: End offset (Set to -99 when not using the sweep function.)
P: Phase
D1: Start duty
D2: End duty (Set to -1 when not using the sweep function.)
T: Signal generation time or sweep time
L: Sweep count (1 to 1000)
H$: Hold (OFF/ON)

Details

Sets steps when registering a program.
Steps are registered in order starting with the first step according tothe order in which they are sent.
The following parameters are specified depending on the waveform type:

DC K$,O1,T,H$
PULSe K$,F1,F2,A1,A2,O1,O2,P,D1,D2,T,L,H$
FUNCtion K$,N$,F1,F2,V1,V2,O1,O2,T,L,H$
Other K$,F1,F2,A1,A2,O1,O2,P,T,L,H$

Example

:GENerator:MPBEgin CH1_1,NEW
:GENerator:MPSTep SIN,1000,-1,10,-1,0,-99,0,1,0,OFF
:GENerator:MPSTep DC,5,2,OFF
:GENerator:MPFInish

:GENerator:MPBEgin CH1_1,REF
:GENerator:MPSTep?


(Response)  :GENerator:MPSTep SIN,1000,-1,10,-1,0,-99,0,1,0,OFF   (when headers are enabled)

Note

The sweep function can be set for only one of either pulse waveform frequency or duty.
Attempting to use the sweep setting for both parameters will result in an error.

Usage
Conditions

The "Register new program" command must have been sent before this command.
The Edit Program screen is not being displayed.




Start output or Query the status of output when synchronization is OFF

Syntax

(Command)

(Query)


:GENerator:OUTPut A$,B$

:GENerator:OUTPut? A$

(Response)

A$,B$

A$ = CH1_1~CH8_2
B$ = ON,OFF

Details

Start signal generation when synchronization is OFF.
Returns the signal generation state when synchronization is OFF as text data.

ON Starts output.
OFF Stops output.

Example

:GENerator:OUTPut CH1_1,ON
:GENerator:OUTPut? CH1_1
(Response)  GENERATOR:OUTPUT CH1_1,ON  (when headers are enabled)

Note

-

Usage
Conditions

Synchronization must be set OFF.




Set or query the sweep end value

Syntax

(Command)

(Query)


:GENerator:SWENd A$,B$,C

:GENerator:SWENd? A$,B$

(Response)

A$,B$,C

A$ = CH1_1 to CH8_2
B$ = FREquency, PERiod, AMPlitude, OFFset, DUTy, CLOck, CPEriod, VERnier
C = Sweep end value

Details

Sets the sweep end value for the U8793 Arbitrary Waveform Generator Unit.
Returns the sweep end value as an NR2 or NR3 value.
The parameter for which to set the end value is selected with K$.

FREquency Frequency
PERiod Period
AMPlitude Amplitude
OFFset Offset
DUTy Duty (Pulse wave)
CLOck Clock freqency (Arbitrary waveform)
CPEriod Clock period (Arbitrary waveform)
VERnier Amplitude adjust (Arbitrary waveform)

Example

:GENerator:SWENd CH1_1,FREQ,1250
:GENerator:SWENd? CH1_1,FREQ
(Response)  :GENERATOR:SWEND CH1_1,FREQUENCY,1250  (when headers are enabled)

Note

Although this command can be used to set the sweep end value,the value when not using the sweep function is used as the sweep start value.See the respective setting commands for more information.

Usage
Conditions

Signal generation must be in the STOP state.




Set or query the sweep

Syntax

(Command)

(Query)


:GENerator:SWSEt A$,B$,C$

:GENerator:SWSEt? A$,B$

(Response)

A$,B$,C$

A$ = CH1_1 to CH8_2
B$ = FREquency, PERiod, AMPlitude, OFFset, DUTy, CLOck, CPEriod, VERnier
C$ = OFF, ON

Details

Sets sweep operation for the U8793 Arbitrary Waveform Generator Unit.
Returns the sweep setting as text data.
The parameter for which to enable sweep operation is selected with K$.

FREquency Frequency
PERiod Period
AMPlitude Amplitude
OFFset Offset
DUTy Duty (Pulse wave)
CLOck Clock freqency (Arbitrary waveform)
CPEriod Clock period (Arbitrary waveform)
VERnier Amplitude adjust (Arbitrary waveform)

Example

:GENerator:SWSEt CH1_1,FREquency,ON
:GENerator:SWSEt? CH1_1,FREquency
(Response)  :GENERATOR:SWSET CH1_1,FREQUENCY,ON  (when headers are enabled)

Note

Although the duty can be set when the waveform type is set to [Pulse],sweep operation can be applied to only one of either duty or frequency.(The last setting to be turned on will take effect.)

Usage
Conditions

Signal generation must be in the STOP state.




Set or query sweep time

Syntax

(Command)

(Query)


:GENerator:SWTIme A$,B

:GENerator:SWTIme? A$

(Response)

A$,B

A$ = CH1_1 to CH8_2
B = 0.00001 to 1000 (s)

Details

Sets the sweep time for the U8793 Arbitrary Waveform Generator Unit.
Returns the sweep time as an NR3 value.
Valid setting range: 0.00001 to 1000(unit: [s]; set with 5 significant digits within the range to the left)

Example

:GENerator:SWTIme CH1_1,1.25
:GENerator:SWTIme? CH1_1
(Response)  :GENERATOR:SWTIME CH1_1,1.2500E+00  (when headers are enabled)

Note

-

Usage
Conditions

Signal generation must be in the STOP state.