Age1439_frequency_center_raw_compute, Age1439_frequency – Agilent Technologies VXI E1439 User Manual
Page 137

127
Agilent E1439 Programmer's Reference
Functions listed alphabetically
age1439_frequency_center_raw_compute
Computes the raw center frequency parameters
VXIplug&play Syntax
#include "age1439".h
ViStatus age1439_frequency_center_raw_compute(ViSession id, ViReal64 center, ViPInt32
phasePtr, ViPInt32 interpolatePtr);
Description
This function quickly computes the parameter values which you may use with
. This function also allows you to compute many values in advance to
facilitate quick frequency hopping.
Parameters
id
is the VXI instrument session pointer returned by the age1439_init function.
center
provides the center frequency normalized to clock fs.
phasePtr
points to the computed value of phase.
interpolatePtr
points to the computed value of interpolate.
Example
Here is a Visual Basic snippet showing how to use this function:
Call age1439_frequency_center_raw_compute(lngId, dblCenterFreq, lngPh, lngIn)
Call age1439_frequency_center_raw(lngId, lngPh, lngIn)
Return Value
AGE1439_SUCCESS indicates that a function was successful.
Values other than AGE1439_SUCCESS indicate an error condition or other important status
condition. To determine the error message, pass the return value to
.
See Also
,
“age1439_frequency_setup” on page 128
,