
SC5412A Operating & Programming Manual
Rev 1.1.0
25
Function:
sc5412a_SetLinearityDac
Definition:
int
sc5412a_SetLinearityDac(
unsigned int
deviceHandle,
unsigned
char
channel,
unsigned
short
dacValue)
Input:
unsigned int
deviceHandle
(handle to the opened device)
unsigned
char
channel
(select the I or Q channel)
unsigned
short
dacValue
(DAC value range 0 - 16383)
Description:
sc5412a_SetLinearityDac
sets the bias point of the IQ modulator, which affects the
linearity of the device. A DAC value of 3935 is recommended and is also the default
factory setting.
Function:
sc5412a_WriteUserEeprom
Definition:
int
sc5412a_WriteUserEeprom(
unsigned int
deviceHandle,
unsigned
int
memAdd,
unsigned
char
byteData)
Input:
unsigned int
deviceHandle
(handle to the opened device)
unsigned
int
memAdd
(memory address to write to)
unsigned
char
byteData
(byte to be written to the address)
Description:
sc5412a_WriteUserEeprom
writes one byte of data to the memory address specified.
Function:
sc5412a_StoreCurrentState
Definition:
int
sc5412a_StoreCurrentState(
unsigned int
deviceHandle)
Input:
unsigned int
deviceHandle
(handle to the opened device)
Description:
sc5412a_StoreCurrentState
stores the current state of the device as the default power-
up state.
Function:
sc5412a_GetDeviceInfo
Definition:
int
sc5412a_GetDeviceInfo(
unsigned int
deviceHandle,
deviceInfo_t
*devInfo)
Input:
unsigned int
deviceHandle
(handle to the opened device)
Output:
deviceInfo_t
*devInfo
(device info struct)
Description:
sc5412a_GetDeviceInfo
retrieves device information such as serial number, calibration
date, revision, etc.