DBS9900 User’s Manual
DBS9900 Driver Software
5-39
82-28993 Revision 01
5.6.3
Set Internal Clock Reference
an9900_setIntClockRef
This function specifies whether the internal sample rate generator uses its internal reference
oscillator or uses an external 10MHz reference applied to clock
B
.
*Note: The external reference clock must be applied to the channel B input and its threshold may
be set using an9900_setClockThreshold. Note that this may interact with external clock selection
for the other module. It is up to the programmer to be aware of this.
Function Prototype
ViStatus _VI_FUNC
an9900_setIntClockRef
(ViSession
vi
, AN9900_CLKREF
ref
);
an9900_setIntClockRef
Parameters
Variable Type
Description
<INPUT>
vi
ViSession
This control accepts the Instrument Handle returned by the Initialize
function to select the desired instrument driver session.
ref
AN9900_CLKREF Internal
clock
reference:
AN9900_CLKREF_INT
Use internal reference
AN9900_CLKREF_EXT
Use external 10MHz reference
<OUTPUT>
None None
None
<RETURN>
= 0
> 0
< 0
ViStatus “VI_SUCCESS”
Warning: The function completed, but an exception condition occurred
which may require attention.
Error: The function did not complete successfully.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com