Generate Signal |
pi620_GenerateSignal ViStatus pi620_GenerateSignal (ViSession instrumentHandle, ViReal64 frequency_kHz, ViUInt32 signalType, ViReal64 symmetry_); 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. NOTE: The pi620_GenerateSignalEx provides a simpler method to create a signal and is to be preferred. 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. Return Value Refer to Function Return Value page. |
(C) 2009 Pickering Interfaces Ltd |