Agilent Technologies E1439 manual Age1439inputoffset

Models: E1439

1 246
Download 246 pages 11.5 Kb
Page 145
Image 145

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 age1439_input_autozero so you generally would use this

 

command only for special situations. The resultant values can be saved to non-volatile RAM with

 

age1439_input_offset_save.

 

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.

 

AGE1439_OFFS_DAC_MIN sets the minimum dc offset DAC setting.

 

AGE1439_OFFS_DAC_MAX 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 “age1439_error_message” on

 

page 102.

 

See Also

 

“Default values” on page 201, “age1439_init” on page 132, “age1439_input_autozero” on

 

page 134, “age1439_input_offset_save” on page 136

135

Page 145
Image 145
Agilent Technologies E1439 manual Age1439inputoffset