CNiIviFgenStandardWaveform::Configure

Measurement Studio IVI

Class
CNiIviFgenStandardWaveform::
Configure()
Base ClassesData ItemsFunctionsGo to hierarchy chart    Prev page: WaveformNext page: CNiIviFgenStandardWaveform    
Public Function Declared in:
NiIviFgen.h

'Declaration' icon -- Shortcut to top of page. Declaration

inline void Configure(
    const CString& ch,
    long wfm,
    double amplitude,
    double dcOffset,
    double frequency,
    double startPhase);

'Description' icon -- Shortcut to top of page. Description

Configures the properties of the function generator that affect standard waveform generation.

Shortcut to top of page. Parameters

const CString& ch

The channel on which to configure the standard waveform.

long wfm

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.

double amplitude

The waveform's peak-to-peak amplitude in Volts.

This function sets the Amplitude property to the value you specify for this parameter.

double dcOffset

The waveform's DC Voltage offset from ground to center.

This function sets the DcOffset property to the value you specify for this parameter.

double frequency

The waveform's frequency in Hertz.

This function sets the Frequency property to the value you specify for this parameter.

double startPhase

The waveform's horizontal offset in degrees.

This function sets the StartPhase property to the value you specify for this parameter.

'See Also' icon -- Shortcut to top of page. See Also