DBS9900 User’s Manual
5-46
DBS9900 Driver Software
82-28993 Revision 01
5.6.11
Clock Frequency Query
an9900_clockFreq_Q
This function returns important parameters about the clock. Returns the clock frequency, N
counter, Low Speed Divider, High Speed Divider and the value f of the Time Base Select.
Function Prototype
ViStatus
an9900_clockFreq_Q
( ViSession
instrumentHandle
,
ViReal64
*
frequency
,
ViUInt32
*NCounter
,
ViUInt32
*lowSpeedDivider
,
ViUInt16
*highSpeedDivider
,
ViUInt16
*timeBaseSelect
);
an9900_clockFreq_Q
Parameters
Variable Type Description
<INPUT>
instrumentHandle
ViSession
This control accepts the Instrument Handle returned by the Initialize function to
select the desired instrument driver session.
<OUTPUT>
*frequency ViReal64
(passed by
reference)
Returns the actual clock frequency.
*NCounter ViUInt32
(passed by
reference)
Returns the value of the N counter.
*lowSpeedDivider ViUInt32
(passed by
reference)
Returns the value of the Low Speed Divider
*highSpeedDivider ViUInt16
(passed by
reference)
Returns the value of the High Speed Divider
*timeBaseSelect ViUInt16
(passed by
reference)
Returns the value of the Time Base Select lines.
<RETURN>
= 0
> 0
< 0
“VI_SUCCESS”
Warning: The function completed, but an exception condition occurred which
may require attention.
Error: The function did not complete successfully.
NOTE: Use the an902_error_message() function to get a textual description of
errors and warnings.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com