Generate Signal Ex |
pi620_GenerateSignalEx ViStatus pi620_GenerateSignalEx (ViSession instrumentHandle, ViReal64 frequency_kHz, ViUInt32 signalType, ViReal64 symmetry_, ViReal64 startPhase, ViBoolean generate); Purpose Generate a standard signal with the desired Frequency on the output of the active channel. This function will automatically fill the memory and adjust the update clock and counter step to get the desired Signal Frequency. Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the pi620_init function. The handle identifies a particular instrument session.
Default Value: None
frequency_kHz Variable Type ViReal64 Frequency of the signal. signalType Variable Type ViUInt32 Shape of the signal:
0 = Sine 1 = Triangle 2 = Square symmetry_ Variable Type ViReal64 symmetry of the signal type if Triangle or Square. A symmetry of 50 percent will result in a square with a duty cycle of 50% or a triangle with equal up-going and down-going ramps. startPhase Variable Type ViReal64 Start phase of the signal in memory. generate Variable Type ViBoolean detects if signal should be generated upon leaving the function (true) or instrument is left in configuration mode (false)
Return Value Refer to Function Return Value page. |
(C) 2009 Pickering Interfaces Ltd |