IVI FGEN Standard Function

LabVIEW SignalExpress

IVI FGEN Standard Function

Generates an analog standard function using an instrument in the Arbitrary Waveform/Function Generator IVI class.

Default values are specific to the hardware and driver specified. The default settings may not be applicable to the measurement you are trying to perform. Click the Initialize button, located on the step's toolbar, at any time to reset the step to the default settings.

To communicate with an instrument, you need to install the instrument-specific driver and create a session name for the instrument.

ParameterDescription
Function PreviewDisplays a preview of the function. The vertical and horizontal graph axes are formatted according to the Channel Configuration settings that are applied to the signal generator.
ConfigurationContains the following configuration options:
  • Device—Contains the following device options:
    • IVI session name—Specifies the session name to use for this step. This step retrieves possible session names from National Instruments Measurement & Automation Explorer (MAX). You also can create a new session or edit/delete an existing session.
    • Resource descriptor—Specifies the interface and the address of the hardware to associate with the step.
    • Instrument driver—Displays the name of the driver in use.
  • Channel Configuration—Contains the following channel configuration options:
    • Channels—Specifies the physical channels on which data is generated.
    • Enable channel—Specifies whether to enable data acquisition on the selected channel.
    • Type—Specifies the standard waveform that you want the function generator to produce. Options include Sine, Square, Triangle, Ramp Up, Ramp Down, and DC.
    • Amplitude (Vpp)—Specifies the amplitude of the standard waveform that you want the function generator to produce. This value is the amplitude at the output terminal. For example, to produce a waveform ranging from -5 to +5 volts, set the Amplitude (Vpp) to 10 volts.
    • Start phase (deg)—Specifies the horizontal offset of the standard waveform you want the function generator to produce. You specify this property in degrees of one waveform cycle. A start phase of 180 degrees means output generation begins halfway through the waveform. A start phase of 360 degrees offsets the output by an entire waveform cycle, which is identical to a start phase of 0 degrees.
    • Frequency (Hz)—Specifies the frequency of the standard waveform that you want the function generator to produce.
    • DC offset (V)—Specifies the DC offset of the standard waveform that you want the function generator to produce. The value is the offset from ground to the center of the waveform you specify with the Type parameter. For example, to configure a waveform with an amplitude of 10 volts to range from 0 to +10 volts, set DC offset (V) to 5 volts.
    • Output impedance (Ohms)—Specifies the impedance value you want the function generator to use. A value of 0 indicates that the function generator is connected to a high impedance load.
    • Duty cycle (%)—Specifies the percentage of time a square wave remains high versus one entire period. The default is 50%. Duty cycle (%) is available only when you select Square in Type.
  • Generation Mode—Contains the following generation mode options:
    • Generate continuously—Generates the input signal continuously. If you run the project continuously, the step generates the input signal repeatedly without discontinuities. If you run the project in Run Once mode, the step generates the input signal once.
    • Generate N waveforms—Generates the input signal N times in a non-continuous fashion. If you run the project continuously, the step generates the input signal repeatedly but discontinuously. If you run the project in Run Once mode, the step generates the input signal once. You can use this option if you want the device to generate a start trigger every time the device starts generating the signal.
    • Number of waveforms—Specifies the number of times to generate the waveform.
TriggerContains the following trigger options:
  • Channel Triggering—Contains the following channel trigger options:
    • Channels—Specifies the physical channels that have a trigger associated with them. Each channel can be triggered independently.
    • Type—Specifies the trigger source to which you want the function generator to respond. The default is Immediate. Contains the following options:
      • Immediate—Does not wait for a trigger of any kind.
      • Internal—Waits for a trigger on the internal trigger input.
      • External—Waits for a trigger on the external trigger input.
      • Software—Waits until the software trigger button specified by the Software trigger source is pressed on the toolbar.
      • Digital—Waits for a trigger on a digital input specified by the trigger source.
    • Internal trigger rate (trig/s)—Specifies the rate at which you want the internal trigger rate of the function generator to generate trigger signals. Internal trigger rate (trig/s) is available only when you select Internal in Type.
    • Software trigger source—[Type: Software] Specifies the trigger source to which you want the instrument to respond. To activate the trigger, click the associated trigger button in the toolbar. Execution waits until you click the associated trigger button in the toolbar. Contains the following options:
      • Trigger A—(Default) Specifies Trigger A as the trigger source.
      • Trigger B—Specifies Trigger B as the trigger source.
      • Trigger C—Specifies Trigger C as the trigger source.
    • Source—[Type: Digital] Specifies the trigger source you want to use. Contains the following options:
      • PXI TRIG0 or VXI TTL0—Waits until it receives a trigger on the PXI TRIG0 line (for PXI instruments) or the VXI TTL0 line (for VXI instruments).
      • PXI TRIG1 or VXI TTL1—Waits until it receives a trigger on the PXI TRIG1 line (for PXI instruments) or the VXI TTL1 line (for VXI instruments).
      • PXI TRIG2 or VXI TTL2—Waits until it receives a trigger on the PXI TRIG2 line (for PXI instruments) or the VXI TTL2 line (for VXI instruments).
      • PXI TRIG3 or VXI TTL3—Waits until it receives a trigger on the PXI TRIG3 line (for PXI instruments) or the VXI TTL3 line (for VXI instruments).
      • PXI TRIG4 or VXI TTL4—Waits until it receives a trigger on the PXI TRIG4 line (for PXI instruments) or the VXI TTL4 line (for VXI instruments).
      • PXI TRIG5 or VXI TTL5—Waits until it receives a trigger on the PXI TRIG5 line (for PXI instruments) or the VXI TTL5 line (for VXI instruments).
      • PXI TRIG6 or VXI TTL6—Waits until it receives a trigger on the PXI TRIG6 line (for PXI instruments) or the VXI TTL6 line (for VXI instruments).
      • PXI TRIG7 or VXI TTL7—Waits until it receives a trigger on the PXI TRIG7 line (for PXI instruments) or the VXI TTL7 line (for VXI instruments).
      • ECL0—Waits until it receives a trigger on the VXI ECL0 line.
      • ECL1—Waits until it receives a trigger on the VXI ECL1 line.
      • PXI Star—Waits until it receives a trigger on the PXI STAR trigger bus.
      • RTSI 0—Waits until it receives a trigger on RTSI line 0.
      • RTSI 1—Waits until it receives a trigger on RTSI line 1.
      • RTSI 2—Waits until it receives a trigger on RTSI line 2.
      • RTSI 3—Waits until it receives a trigger on RTSI line 3.
      • RTSI 4—Waits until it receives a trigger on RTSI line 4.
      • RTSI 5—Waits until it receives a trigger on RTSI line 5.
      • RTSI 6—Waits until it receives a trigger on RTSI line 6.
  • Reference clock source—Specifies the reference clock source you want the function generator to use. The function generator derives the frequencies and sample rates that it uses to generate waveforms from the source you specify. Options include Internal, External, and RTSI Clock. For example, when you set Reference clock source to External, the function generator uses the signal it receives at its external clock terminal as its reference clock.
Execution ControlContains the following execution control options:
  • Start this step after—Makes the step wait until another step has started before executing. You can make the step wait on any other hardware step in the project by selecting the step to wait on from the pull-down menu.

    You can use this option to force an acquisition device to start after a generation device starts. You also can use this option to ensure that a device generating a trigger signal starts after the device receiving the signal, which avoids sending the signal before the receiver is ready.
  • Step to wait for—Lists the possible steps for which this step can wait.
  • Pre-execution delay (ms)—Specifies the amount of time to wait before the step executes. If you configure the step to start after another step, the delay represents the amount of time to wait after the specified step starts.
  • Post-execution delay (ms)—Specifies the amount of time to wait after the step executes.