![]() |
Configure()






Public Function |
Declared in: NiIviFgen.h |
Declaration
inline void Configure( const CString& ch, long wfm, double amplitude, double dcOffset, double frequency, double startPhase);
Description
Configures the properties of the function generator that affect standard waveform generation.
Parameters
The channel on which to configure the standard waveform.
The standard waveform to generate.
The following list includes valid values:
- CNiIviFgen::SineWaveform - Sinusoid waveform
- CNiIviFgen::SquareWaveform - Square waveform
- CNiIviFgen::TriangleWaveform - Triangle waveform
- CNiIviFgen::RampUpWaveform - Positive ramp waveform
- CNiIviFgen::RampDownWaveform - Negative ramp waveform
- CNiIviFgen::DcWaveform - DC waveform
This function sets the Waveform property to the value you specify for this parameter.
The waveform's peak-to-peak amplitude in Volts.
This function sets the Amplitude property to the value you specify for this parameter.
The waveform's DC Voltage offset from ground to center.
This function sets the DcOffset property to the value you specify for this parameter.
The waveform's frequency in Hertz.
This function sets the Frequency property to the value you specify for this parameter.
The waveform's horizontal offset in degrees.
This function sets the StartPhase property to the value you specify for this parameter.