|NI-SCOPE (English | Japanese)|
ViStatus niScope_ConfigureClock (ViSession vi, ViConstString inputClockSource, ViConstString outputClockSource, ViConstString clockSyncPulseSource, ViBoolean masterEnabled);
Configures the attributes for synchronizing the digitizer to a reference or sending the digitizer's reference clock output to be used as a synchronizing clock for other digitizers.
|Note Some features are not supported by all digitizers. Refer to Features Supported by Device for more information.|
|vi||ViSession||The instrument handle you obtain from niScope_init that identifies a particular instrument session.|
|inputClockSource||ViConstString||Specifies the input source for the reference clock to which the 100 MHz sample clock is phase-locked. Refer to NISCOPE_ATTR_INPUT_CLOCK_SOURCE for more information.|
|outputClockSource||ViConstString||Specifies the output source for the reference clock to which another scope's sample clock can be phased-locked. Refer to NISCOPE_ATTR_OUTPUT_CLOCK_SOURCE for more information|
|clockSyncPulseSource||ViConstString||For the NI 5102, specifies the line on which the sample clock is sent or received. For the NI 5112/5620/5621/5911, specifies the line on which the one time sync pulse is sent or received. This line should be the same for all devices to be synchronized. Refer to NISCOPE_ATTR_CLOCK_SYNC_PULSE_SOURCE for more information.|
|masterEnabled||ViBoolean||Specifies whether you want the device to be a master or a slave. The master device is typically the
originator of the trigger signal and clock sync pulse. For a standalone device, set this attribute
Refer to NISCOPE_ATTR_MASTER_ENABLE for more information.
|Status||ViStatus||Reports the status of this operation. To obtain a text description of the status code,
To obtain additional information concerning the error
condition, use niScope_GetError
The general meaning of the status code is as follows:|