Quick-Control Function Generator Properties
The fgen
function can use the following properties.
Property | Description |
---|---|
AMDepth |
Specifies the extent of Amplitude modulation the function generator applies to
the carrier signal. The units are a percentage of full modulation. At 0% depth, the
output amplitude equals the carrier signal's amplitude. At 100% depth, the output
amplitude equals twice the carrier signal's amplitude. This property affects
function generator behavior only when the |
Amplitude |
Specifies the amplitude of the standard waveform. The value is the amplitude at
the output terminal. The units are volts peak-to-peak (Vpp). For example, to produce
a waveform ranging from -5.0 to +5.0 volts, set this value to 10.0 volts. Does not
apply if Waveform is of type |
ArbWaveformGain |
Specifies the factor by which the function generator scales the arbitrary
waveform data. Use this property to scale the arbitrary waveform to ranges other
than -1.0 to +1.0. When set to 2.0, the output signal ranges from -2.0 to +2.0
volts. Only applies if Waveform is of type |
BurstCount |
Specifies the number of waveform cycles that the function generator produces
after it receives a trigger. Only applies if |
ChannelNames |
This read-only property provides available channel names in a cell array. |
Driver |
This property is optional. Use only if necessary to specify the underlying
driver used to communicate with an instrument. If the
|
DriverDetectionMode |
Sets up criteria for connection. Valid values are |
FMDeviation |
Specifies the maximum frequency deviation the modulating waveform applies to the
carrier waveform. This deviation corresponds to the maximum amplitude level of the
modulating signal. The units are Hertz (Hz). This property affects function
generator behavior only when |
Frequency |
Specifies the rate at which the function generator outputs an entire arbitrary
waveform when Waveform is set to |
Mode |
Specifies run mode. Valid values are |
ModulationFrequency |
Specifies the frequency of the standard waveform that the function generator
uses to modulate the output signal. The units are Hertz (Hz). This attribute affects
function generator behavior only when |
ModulationSource |
Specifies the signal that the function generator uses to modulate the output
signal. Valid values are |
ModulationWaveform |
Specifies the standard waveform type that the function generator uses to
modulate the output signal. This affects function generator behavior only when
|
Offset |
Uses the standard waveform DC offset as input arguments if the waveform is not
of type Specifies the DC offset of the standard waveform when Waveform is set to
standard waveform. For example, a standard waveform ranging from +5.0 volts to 0.0
volts has a DC offset of 2.5 volts. When Waveform is set to
|
OutputImpedance |
Specifies the function generator's output impedance at the output connector. |
Resource |
Set this before connecting to the instrument. It is the VISA resource string for your instrument. |
SelectedChannel | Returns the selected channel name that was set using the
selectChannel function. |
StartPhase |
Specifies the horizontal offset in degrees of the standard waveform the function generator produces. The units are degrees of one waveform cycle. For example, a 180-degree phase offset means output generation begins halfway through the waveform. |
Status |
This read-only property indicates the communication status of your instrument
session. It is either |
TriggerRate |
Specifies the rate at which the function generator's internal trigger source
produces a trigger, in triggers per second. This property affects function generator
behavior only when the |
TriggerSource |
Specifies the trigger source. After the function generator receives a trigger,
it generates an output signal if |
Waveform |
Uses the waveform type as an input argument. Valid values are
|