After the board is initialized, the panel is enabled and will display the current setting of the board. The following picture shows the Setup page settings when the board is in Function Generator mode:
_in_Function_Generator_mode.jpg)
GX1120 Virtual Panel (Initialized) in Function Generator mode
The following controls are shown in the Setup page:
Operation Mode (dropdown list): – Sets/displays the specified channel’s operation mode, either Function Generator or Arbitrary waveform Generator, each channel can be programmed as follows:
Function Generator mode
Arbitrary Waveform Generator mode
High speed Arbitrary Waveform Generator mode. In this mode both channels A and B are combined into one channel (Channel A) to produce a high speed Arbitrary Waveform Generator that can run as high as 400 MS/s (GX1120 only).
Relevant API functions: GtWaveSetOperationMode.
Output (group box)
Output Enable (check box) – Sets/displays the specified channel’s output relay state.
Relevant API functions: GtWaveSetOutputState.
Output to square (check box) – Sets/displays the output to convert from a Output to square output. Enabled only in Function Generator mode. The function is only applicable when generating a sine waveform. When enabled, a comparator is connected to the sine waveforms and convert the output to a square waveform. The duty cycle of that square waveform can be programmed by calling the GtWaveFuncSetOutToSquareDutyCycle API. The output square wave is much cleaner waveform since it was derived directly from a sine wave.
Relevant API functions: GtWaveFuncSetOutToSquareState.
Duty Cycle (%) (edit box) – Sets/displays the Output to square Duty Cycle. Output to square duty cycle, range is from 20% to 80%.
This function is only active when the Output to square state is enabled. The function is only applicable when generating a sine waveform. When enabled, a comparator is connected to the sine waveforms and convert the output to a square waveform. The duty cycle of that square waveform can be programmed by calling the GtWaveFuncSetOutToSquareDutyCycle API. The output square wave is much cleaner waveform since it was derived directly from a sine wave.
Relevant API functions: GtWaveFuncSetOutToSquareDutyCycle.
Amplitude (edit box) – Sets/displays the waveform’s peak-to-peak amplitude voltage.
GX1120: 0.1V to 8V (p-p) into 50 Ohm, 0.2V to 16V (p-p) into open circuit.
GX1120: 0.01V to 10V (p-p) into 50 Ohm, 0.02V to 20V (p-p) into open circuit.
Offset may be applied to the output to shift the signal either positive or negative. Offset and amplitude are inter-related, i.e. the maximum positive or negative peak voltage at any time cannot be more then +/-4V (GX1120) and +/-5V (GX1120).
Relevant API functions: GtWaveSetAmplitude.
Offset (edit box) – Sets/displays the output’s DC offset voltage.
GX1120: Output offset voltage ranges from -4.0V to +4.0V. The output level may be programmed from 0.1V to 8V p-p into 50 Ohm (0.2V to 16V p-p into an open circuit).
GX1120: Output offset voltage ranges from -5.0V to +5.0V. The output level may be programmed from 0.01V to 10V p-p into 50 Ohm (0.2V to 20V p-p into an open circuit).
Offset may be applied to the output to shift the signal either positive or negative. Offset and amplitude are inter-related, i.e. the maximum positive or negative peak voltage at any time cannot be more then +/- 4V (GX1120) and +/- 5V (GX1120).
Relevant API functions: GtWaveSetOffset.
Phase (edit box) – Sets/displays the function generator’s output start phase in units of degrees. Function Generator mode only, Output start phase in units of degrees, -360 to 360.
Relevant API functions: GtWaveFuncSetPhase.
Clock (group box)
Ref Source (dropdown list) – Sets/displays the clock source, options are: internal 10MHz clock, external clock, PXI backplane 10MHz clock.
Relevant API functions: GtWaveSetReferenceClockSource.
Frequency (edit box) – Sets/displays the waveform frequency. In Arbitrary Waveform Generator mode sets/displays the data point sampling rate.
GX1120: Function generator frequency, frequency range is 10uHz to 30MHz
GX1120: Function generator frequency, frequency range is 10uHz to 100MHz
Relevant API functions: GtWaveFuncSetFrequency.
Trigger (group box)
Mode (dropdown list) – Sets/displays the trigger mode: Continuous, Triggered, Gated and Burst.
Continuous: The waveform generates continuously by repeatedly cycling through the waveform table using the programmed waveform parameters.
Triggered:Output is quiescent until triggered by an internal or external trigger, and then one waveform cycle is generated using the programmed waveform parameters.
Gated;The waveform generates continuously by repeatedly cycling through the waveform table as long as the gate is active
Burst: After a trigger is received, waveform generation will be executed for the number of cycles that were defined via the GtWaveSetTriggerBurstCount function
Relevant API functions: GtWaveSetTriggerMode.
Source (dropdown list) – Sets/displays the trigger source: Trigger source are as follows:
Software: Trigger source is software (immediate).
Internal: Trigger source is the internal programmable trigger generator.
External: Trigger source is an external input.
PXI Star Trig: Trigger source is the star trigger.
Alternate Channel:Trigger source is the alternate channel.
Relevant API functions: GtWaveSetTriggerSource .
Burst cycles (dropdown list/edit box) – Sets/displays the trigger burst count. Trigger burst count can range from 1 to 9999999. When the trigger mode (by calling GtWaveSetTriggerMode function) is set to burst mode, which is an extension of the triggered mode, the generator can be programmed to output a pre-determined number of waveforms. The sources to trigger a burst are the same as for the trigger mode.
Relevant API functions: GtWaveSetTriggerBurstCount .
Frequency (dropdown list /edit box) – Sets/displays the trigger generator’s internal frequency.
GX1120: Trigger internal frequency range can be from 0.01Hz to 50MHz.
GX1120: Trigger internal frequency range can be from 0.01Hz to 1 MHz.
Relevant API functions: GtWaveSetTriggerInternalFrequency .
Edge (dropdown list box) – Sets/displays thGtWaveSetTriggerInternalFrequencye External Trigger Slope: 0-Positive edge, 1-Negative edge.
Relevant API functions: GtWaveSetTriggerEdge .
External Trigger (group box)
Delay (uSec) (edit box) – Sets/displays the external trigger delay in uSec. External trigger delay range is 0 - 15 sec, with 4 ns resolution. Units are in uSec, e.g. if pdDelay is equal 10 then the delay is 10uSec.
Relevant API functions: GtWaveSetOperationMode .
Holdoff (uSec) (edit box) – Sets/displays the external trigger hold off in uSec. External trigger holdoff range is 0 - 15 sec, with 4 ns resolution. Units are in uSec, e.g. if pdDelay is equal 10 then the hold off is 10uSec.
Relevant API functions: GtWaveSetTriggerHoldoff .
Level (V) (edit box) – Sets/displays the external trigger level in volts. External trigger level range is -5V to +5V with 10mV of resolution.
Relevant API functions: GtWaveSetTriggerLevel .
Modulation/FSK/Sweep (group box)
Modulation/FSK/Sweep (list): Sets/displays the active Modulation, FSK and Sweep functionality. Check means enabled. Amplitude Modulation (AM)
Source (dropdown list) – Sets/displays the Amplitude Modulation source, modulation source can be rather internal or external.
Relevant API functions: GtWaveSetAmSource .
Frequency (edit box) – Sets/displays the AM modulation frequency,
GX1120: AM modulation frequency range is from 0.01Hz to 20KHz
GX1120: AM modulation frequency range is from 0.01Hz to 20KHz.
Relevant API functions: GtWaveSetAmFrequency .
Depth (edit box) – Sets/displays the AM modulation depth in percentage in percentage 0% (no modulation) to 100% (full modulation).
Relevant API functions: GtWaveSetAmDepth .
Waveform (dropdown list) – Sets/displays the AM modulation waveform, Standard waveform can be one of the following: Sinusoidal waveform, Square waveform, Triangular waveform, Positive ramp waveform, Negative ramp waveform, Constant voltage, White noise
Relevant API functions: GtWaveSetAmWaveform .
Frequency Modulation (FM)
Source (dropdown list) – Sets/displays the FM Modulation source, modulation source can be rather internal or external.
Relevant API functions: GtWaveFuncSetFmSource .
Frequency (edit box) – Sets/displays the FM modulation frequency,
GX1120: FM modulation frequency range is from 0.01Hz to 20KHz
GX1120: FM modulation frequency range is from 0.01Hz to 20KHz.
Relevant API functions: GtWaveFuncSetFmFrequency .
Deviation (edit box) – Sets/displays the FM deviation frequency, FM deviation frequency range is 0Hz to 2MHz.
Relevant API functions: GtWaveFuncSetFmDeviation .
Waveform (dropdown list) – Sets/displays the FM modulation waveform, Standard waveform can be one of the following: Sinusoidal waveform, Square waveform, Triangular waveform, Positive ramp waveform, Negative ramp waveform, Constant voltage, White noise
Relevant API functions: GtWaveFuncSetFmWaveform .
Phase Modulation (PM)
Source (dropdown list) – Sets/displays the Phase Modulation source, modulation source can be rather internal or external.
Relevant API functions: GtWaveFuncSetPmSource .
Frequency (edit box) – Sets/displays the Phase modulation frequency,
GX1120: Phase modulation frequency range is from 0.01Hz to 20KHz.
Relevant API functions: GtWaveFuncSetPmFrequency .
Deviation (edit box) – Sets/displays the Phase Modulation deviation, Phase Modulation deviation range is 0 to 360 degrees.
Relevant API functions: GtWaveFuncSetPmDeviation .
Waveform (dropdown list) – Sets/displays the Phase modulation waveform, Standard waveform can be one of the following: Sinusoidal waveform, Square waveform, Triangular waveform, Positive ramp waveform, Negative ramp waveform, Constant voltage, White noise
Relevant API functions: GtWaveFuncSetPmWaveform .
Pulse Width Modulation (PWM)
Source (dropdown list) – Sets/displays the Pulse Width Modulation source, modulation source can be rather internal or external.
Relevant API functions: GtWaveFuncSetPwmSource .
Frequency (edit box) – Sets/displays the Pulse Width modulation frequency,
GX1120: Pulse Width modulation frequency range is from 0.01Hz to 20KHz.
Relevant API functions: GtWaveSetPwmFrequency .
Width (edit box) – Sets/displays the Phase Modulation width, Pulse-width range is 0% to 100%.
Relevant API functions: GtWaveFuncSetPwmWidth .
Deviation (edit box) – Sets/displays the Phase Modulation deviation, Pulse-width modulation deviation (gain) is 0% to 100%.
Relevant API functions: GtWaveFuncSetPwmDeviation .
· Waveform (dropdown list) – Sets/displays the Phase modulation waveform, Standard waveform can be one of the following: Sinusoidal waveform, Square waveform, Triangular waveform, Positive ramp waveform, Negative ramp waveform, Constant voltage, White noise
Relevant API functions: GtWaveSetPwmWaveform .
Frequency Shift Keying (FSK)
· Source (dropdown list) – Sets/displays the Frequency shift keying source,source can be rather internal or external.
Relevant API functions: GtWaveFuncSetFskSource .
· Low Frequency (edit box) – Sets/displays the Frequency shift keying modulation low frequencies,
GX1120:Range from 10.0E-6 to 50.0E+6.
GX1120: Range from 1.0E-6 to 100.0E+6
Relevant API functions: GtWaveFuncSetFskFrequencies .
· High Frequency (edit box) – Sets/displays the Frequency shift keying modulation high frequencies,
GX1120:Range from 10.0E-6 to 50.0E+6.
GX1120: Range from 1.0E-6 to 100.0E+6
Relevant API functions: GtWaveFuncSetFskFrequencies .
Rate (edit box) – Sets/displays the FSK switching rate for Frequency shift keying modulation. Rate of switching between the two frequencies for frequency shift keying modulation.
GX1120: The rate can be set between 0.01Hz to 100KHz.
GX1120: The rate can be set between 0.01Hz to 1MHz.
Relevant API functions: GtWaveFuncSetFskRate .
Sweep
· Mode(edit box) – Sets/displays the Sweep mode, linear or Logarithmic.
Relevant API functions: GtWaveFuncSetSweep .
· Start Frequency (edit box) – Sets/displays the Sweep start freqancy,
GX1120: Range from 10.0E-6 to 100.0E+6
Relevant API functions: GtWaveFuncSetSweep .
· Stop Frequency (edit box) – Sets/displays the Sweep stop Frequency,
GX1120: Range from 10.0E-6 to 100.0E+6
Relevant API functions: GtWaveFuncSetSweep .
· Time (edit box) – Sets/displays the Sweeptime in seconds,
GX1120: Range from 0.001sec to 500 sec
Relevant API functions: GtWaveFuncSetSweep .
Execute (button) – Executes the specified waveform load/show file settings.
Source (dropdown list) – Sets/displays the fill waveform source, built in, file or WaveEasy.
Relevant API functions: GtWaveArbFileLoad, GtWaveArbFillPredefinedWaveform.
Load/Save (dropdown list) – Select if the waveform should be loaded from the source or saved.
Relevant API functions: GtWaveArbFileLoad, GtWaveArbFileSave.
Shape (dropdown list) – Sets/displays the waveform shape.
Relevant API functions:
DC(%)(edit box) – Sets/displays the square wave duty cycle in percentage (pulse generator).
Relevant API functions: GtWaveFuncSetSquareWaveDutyCycle.
Start (edit box) – Sets/displays the start step number to load/save to or from.
Relevant API functions: GtWaveArbFileLoad.
Length (edit box) – Sets/displays the number of steps to load/save.
Relevant API functions: GtWaveArbFileLoad.
Run (group box)
Run (button) – Enables the board for running.
Relevant API functions: GtWaveRun.
Stop (button) – Disables the board from running.
Relevant API functions: GtWaveStop.
Trig (button) – Issue a software trigger.
Relevant API functions: GtWaveTrig.
Reset Channel (button) – Resets the specified channel.
Relevant API functions: GtWaveResetChannel.