IviFgen Configure Standard Waveform
IviFgenStdFunc Capability Group [STD]
This VI configures the properties of the function generator that affect standard waveform generation. These properties are the waveform, amplitude, DC offset, frequency, and start phase.
instrument handle The instrument handle that you obtain from the IviFgen Initialize or IviFgen Initialize With Options VI. | |
channel name ("CHANNEL1") Pass the virtual channel name that you assign to the instrument in MAX.
Virtual channel names are aliases for instrument specific channel strings. The instrument specific channel strings can differ from one instrument to another. Virtual channel names allow you to use and swap instruments without having to change the channel names in your source code. You assign a virtual channel name to an instrument specific channel through MAX. This control accepts virtual channel names you have assigned to the specific instrument you are using. It also accepts the instrument specific channel names. Default Value: "CHANNEL1" |
|
waveform (Sine) Pass the standard waveform that you want the function generator to produce. The driver sets the IviFgen Waveform [STD] property to this value.
Valid Values: IVIFGEN_VAL_WFM_SINE—Sinusoid waveform IVIFGEN_VAL_WFM_SQUARE—Square waveform IVIFGEN_VAL_WFM_TRIANGLE—Triangle waveform IVIFGEN_VAL_WFM_RAMP_UP—Positive ramp waveform IVIFGEN_VAL_WFM_RAMP_DOWN—Negative ramp waveform IVIFGEN_VAL_WFM_DC—Constant voltage Default Value: IVIFGEN_VAL_WFM_SINE—Sinusoid waveform |
|
amplitude (1.0 V) Pass the amplitude of the standard waveform that you want the function generator to produce. This value is the amplitude at the output terminal. The driver sets the IviFgen Func Amplitude [STD] property to this value. For example, to produce a waveform ranging from –5.00 V to +5.00 V, set the amplitude to 10.00 V.
Units: Volts peak-to-peak (Vpp) Default Value: 1.0 V |
|
Note This parameter does not affect function generator behavior when you set the Waveform parameter to IVIFGEN_VAL_WFM_DC. | |
dc offset (0.00 V) Pass the DC offset of the standard waveform that you want the function generator to produce. This value is the offset at the output terminal. The value is the offset from ground to the center of the waveform you specify with the Waveform parameter. The driver sets the IviFgen DC Offset [STD] property to this value. For example, to configure a waveform with an amplitude of 10.00 volts to range from 0.00 V to +10.00 V, set the DC Offset to 5.00 V.
Units: volts (V) Default Value: 0.0 |
|
frequency (0.0 Hz) Pass the frequency of the standard waveform that you want the function generator to produce. The driver sets the IviFgen Frequency [STD] property to this value.
Units: hertz (Hz) Default Value: 1000.0 Hz |
|
Note This parameter does not affect function generator behavior when you set the Waveform parameter to IVIFGEN_VAL_WFM_DC. | |
start phase (0.00 Degrees) Pass the horizontal offset of the standard waveform you want the function generator to produce. You specify this property in degrees of one waveform cycle. The driver sets the IviFgen Start Phase [STD] property to this value. A start phase of 180 degrees means output generation begins half way 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.
Units: Degrees of one cycle Default Value: 0.0 |
|
Note This parameter does not affect function generator behavior when you set the Waveform parameter to IVIFGEN_VAL_WFM_DC. | |
error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |
|
instrument handle out The instrument handle that you obtain from the IviFgen Initialize or IviFgen Initialize With Options VI. | |
error out The error out cluster passes error or warning information out of a VI to be used by other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |