Age1439_frequency_center_raw_compute, Age1439_frequency – Agilent Technologies VXI E1439 User Manual

Page 137

Advertising
background image

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

age1439_

frequency_center_raw

. 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

“age1439_error_message” on

page 102

.

See Also

“age1439_init” on page 132

,

“age1439_frequency_setup” on page 128

,

“age1439_frequency_

center_raw” on page 125

,

“age1439_combo_setup” on page 87

Advertising
This manual is related to the following products: