Age1439_input_offset – Agilent Technologies VXI E1439 User Manual
Page 145

135
Agilent E1439 Programmer's Reference
Functions listed alphabetically
age1439_input_offset
Sets the dc offset DAC setting for the current range. This description also includes the query:
age1439_input_offset_get
VXIplug&play Syntax
#include "age1439".h
ViStatus age1439_input_offset(ViSession id, ViInt16 coarseDac, ViInt16 fineDac);
ViStatus age1439_input_offset_get(ViSession id, ViPInt16 coarseDacPtr, ViPInt16
fineDacPtr);
Description
These values are normally set by
so you generally would use this
command only for special situations. The resultant values can be saved to non-volatile RAM with
Each ac coupling range has a unique DAC setting. All dc coupling ranges use the same DAC
setting as the highest range setting for ac coupling. The scaling between the coarse and fine DACs
is approximately 100 to 1.
sets the minimum dc offset DAC setting.
sets the maximum dc offset DAC setting.
Parameters
id
is the VXI instrument session pointer returned by the age1439_init function.
coarseDac
sets values of 0 to 255.
fineDac
sets values of 0 to 255.
coarseDacPtr
returns a pointer to the current value of coarseDac
fineDacPtr
returns a pointer to the current value of fineDac
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
,
,