niTuner_configReferenceClock

NI Tuner

niTuner_configReferenceClock

Function Prototype

int niTuner_configReferenceClock (int taskID, unsigned int referenceConfiguration);

Purpose

This function configures the reference clock source. The PXI-5600 downconverter must lock to a timebase before entering the ready state.

Parameters

Name Type Description
taskID int

The Task ID obtained from niTuner_init that identifies the session of a particular device.

reference Configuration unsigned int

Configures the reference clock source:

Defined Values:

NITUNER_INTERNAL

NITUNER_DRIVE_10_MHZ_PXI_BACKPLANE_CLOCK

NITUNER_LOCK_TO_10_MHZ_PXI_BACKPLANE_CLOCK

NITUNER_EXTERNAL

NITUNER_DRIVE_10_MHZ_PXI_BACKPLANE_CLOCK_EXTERNAL

Default Value:

NITUNER_INTERNAL

Return Value

Returns the status of the function. To see an explanation of common error and warning codes, see Error and Status Codes. To see a text explanation of the status code, call niTuner_errorHandler.