Age1439_input_setup – Agilent Technologies VXI E1439 User Manual

Page 151

Advertising
background image

141

Agilent E1439 Programmer's Reference

Functions listed alphabetically

age1439_input_setup

Sets all the analog input parameters. This description also includes information on the following
functions which set or query the input parameters individually:

age1439_input_alias_filter selects or bypasses the built-in analog anti-alias filter
age1439_input_alias_filter_get gets the anti-alias filter state
age1439_input_coupling selects ac or dc input coupling
age1439_input_coupling_get get the input coupling type
age1439_input_range sets the full scale range
age1439_input_range_get gets the input range
age1439_input_signal connect/disconnect the input signal to the input amplifier
age1439_input_signal_get gets the input buffer amplifier state
age1439_input_signal_path selects a baseband or IF signal path
age1439_input_signal_path_get gets the current signal path

VXIplug&play Syntax

#include "age1439".h

ViStatus age1439_input_setup(ViSession id, ViInt16 signalPath, ViInt16 range, ViInt16

coupling, ViInt16 antiAlias, ViInt16 signal);

ViStatus age1439_input_alias_filter(ViSession id, ViInt16 antiAlias);
ViStatus age1439_input_alias_filter_get(ViSession
id, ViPInt16 antiAliasPtr);
ViStatus age1439_input_coupling(ViSession
id, ViInt16 coupling);
ViStatus age1439_input_coupling_get(ViSession
id, ViPInt16 couplingPtr);
ViStatus age1439_input_range(ViSession
id, ViInt16 range);
ViStatus age1439_input_range_get(ViSession
id, ViPInt16 rangePtr);
ViStatus age1439_input_signal(ViSession
id, ViInt16 signal);
ViStatus age1439_input_signal_get(ViSession
id, ViPInt16 signalPtr);
ViStatus age1439_input_signal_path(ViSession
id, ViInt16 signalPath);
ViStatus age1439_input_signal_path_get(ViSession
id, ViPInt16 signalPathPtr);

Parameters

id

is the VXI instrument session pointer returned by the age1439_init function.

antiAlias

determines whether or not to use the built-in analog anti-alias filter. This filter only applies to
baseband measurements. In IF mode the antialias filter is always turned on. The antialias
parameters always set the baseband anti-alias filter regardless of the signal path.

AGE1439_ANTIALIAS_ON

inserts a sharp-cutoff 36 MHzlow-pass filter ahead of the analog-

to-digital converter. You should leave the filter on at all times to insure band-limited, anti-aliased
data.

AGE1439_ANTIALIAS_OFF

bypasses the low-pass filter.

antiAliasPtr

points to the current value of the antiAlias parameter in the current signal path. Therefore, in IF
mode this function always returns AGE1439_ANTIALIAS_ON.

coupling

specifies the ac or dc coupling mode of the input. This parameter applies to the baseband input
configuration only.

AGE1439_DC

connects the input directly to the 50 Ohm buffer amplifier. Although dc coupling

can be selected in both baseband and IF signalPath, it has no effect in the IF path because the
signal is ac coupled after the input section.

Advertising
This manual is related to the following products: