SIGNALCORE SC5312A Operating And Programming Manual page 30

400 mhz to 6 ghz iq demodulator pxi express interface
Hide thumbs Also See for SC5312A:
Table of Contents

Advertisement

Function:
sc5312a_WriteUserEeprom
Definition:
int sc5312a_WriteUserEeprom(unsigned int
Input:
unsigned int
unsigned int
unsigned char
Description:
sc5312a_WriteUserEeprom writes one byte of data to the memory address specified.
Function:
sc5312a_StoreCurrentState
Definition:
int sc5312a_StoreCurrentState(unsigned int
Input:
unsigned int
Description:
sc5312a_StoreCurrentState stores the current state of the device as the default power-
up state.
Function:
sc5312a_GetDeviceInfo
Definition:
int sc5312a_GetDeviceInfo(unsigned int
Input:
unsigned int
Output:
deviceInfo_t
Description:
sc5312a_GetDeviceInfo retrieves device information such as serial number, calibration
date, revision, etc.
Function:
sc5312a_GetDeviceStatus
Definition:
int sc5312a_GetDeviceStatus(unsigned int
Input:
unsigned int
Output:
deviceStatus_t
Description:
sc5312a_GetDeviceStatus retrieves the status of the device such as phase lock status and
current device settings.
Example:
Code showing how to use this function:
deviceStatus_t
*devStatus;
devStatus = (deviceStatus_t*)malloc(sizeof(deviceStatus_t));
int
status = sc5312a_GetDeviceStatus(devHandle, devStatus);
if(devStatus->loEnable)
printf("The LO Output Port is Enabled
else
printf("The LO Output Port is disabled
free(deviceStatus);
SC5312A Operating & Programming Manual
deviceHandle
memAdd
byteData
deviceHandle
deviceHandle
*devInfo
deviceHandle
*deviceStatus
\n");
\n");
Rev 1.0.2
deviceHandle,
unsigned int
unsigned char
(handle to the opened device)
(memory address to write to)
(byte to be written to the address)
deviceHandle)
(handle to the opened device)
deviceHandle,
deviceInfo_t
(handle to the opened device)
deviceHandle,
deviceStatus_t
(handle to the opened device)
memAdd,
byteData)
*devInfo)
(device info struct)
*deviceStatus)
(deviceStatus struct)
27

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SC5312A and is the answer not in the manual?

Table of Contents