float
*temperature
Return:
error code
Description:
sc5510b_get_temperature retrieves the device temperature.
Function:
sc5510b_get_signal_phase
Definition:
STATUS
Input:
HANDLE
float
*phase
Return:
error code
Description:
sc5510b_get_signal_phase obtains the current relative phase of the signal on CH1.
Function:
sc5510b_get_device_status
Definition:
STATUS sc5510b_get_device_status(HANDLE
Input:
HANDLE
device_status_t
Return:
error code
Description:
sc5510b_get_device_status gets the current device status such as the PLL lock status,
sweep modes, and other operating conditions.
Example:
Code showing how to use function:
device_status_t
*dev_status;
dev_status =
(device_status_t
sc5510b_get_device_status
int
status =
if(dev_status->pll_status.ref_100_pll_ld)
printf("The 100 MHz is phase-locked
else
printf("The 100 MHz is not phase-locked
free(deviceStatus);
Function:
sc5510b_get_device_info
Definition:
STATUS sc5510b_get_device_info(HANDLE
Input:
HANDLE
Return:
error code
Output:
device_info_t
Description:
sc5510b_get_device_info obtains the device information such as serial number,
hardware revision, firmware revision, and manufactured date.
SC5510B/11B User Manual
sc5510b_get_signal_phase
dev_handle
dev_handle
*device_status
*)malloc(sizeof(device_status_t));
(dev_handle, dev_status);
\n");
dev_handle
*device_info
(HANDLE
dev_handle,
dev_handle,
\n");
dev_handle,
Rev 1.2.0
(temperature)
float
(handle to the opened device)
device_status_t
*device_status)
(handle to the opened device)
(current device status)
device_info_t
*device_info)
(handle to the opened device)
(device information)
*phase)
(phase)
43
Need help?
Do you have a question about the SC5510B and is the answer not in the manual?