![National Instruments NI PXI-665 Series Calibration Procedure Download Page 6](http://html2.mh-extra.com/html/national-instruments/ni-pxi-665-series/ni-pxi-665-series_calibration-procedure_3578302006.webp)
NI PXI-665x Calibration Procedure
6
ni.com
d.
Call niSync Close VI to close the handle.
Measuring the Frequency
Complete the following procedure to measure the frequency of the onboard
clock source.
1.
Connect the
ClkOut
terminal to the PFI 0 terminal by using an
SMB-to-SMB cable.
2.
Complete steps a–d to program the board to connect the onboard
oscillator to ClkOut. Be sure to use the high-gain setting for clock out.
a.
Call niSync Initialize VI to set up a handle for the device.
b.
Set a writable NI-Sync property node to pass TRUE to the
ClkOut
Gain Enable
attribute.
LabVIEW Block Diagram
NI-SYNC C Function Call
Call
niSync_close
with the following
parameter:
vi
:
“<
SessionHandle
>”
LabVIEW Block Diagram
NI-SYNC C Function Call
Call
niSync_init
with the following
parameters:
resourceName
:
Dev1
idQuery
:
NULL
(ignored)
resetDevice
:
VI_FALSE
vi
:
*SessionHandle
LabVIEW Block Diagram
NI-SYNC C Function Call
Call
niSync_SetAttributeViBoolean
with the following parameters:
vi
:
“<
SessionHandle
>”
terminalName
:
“”
attributeID
:
NISYNC_ATTR_CLKOUT_GAIN_ENABLE
attributeValue
:
VI_TRUE