DBS9900 User’s Manual
DBS9900 Driver Software
5-37
82-28993 Revision 01
5.6.1 Set
Clock
Source
an9900_setClockSource
This function sets the clock source for the specified module.
Function Prototype
ViStatus _VI_FUNC
an9900_setClockSource
(ViSession
vi
, AN9900_MODULE
mod
,
AN9900_CLKSRC
src
);
an9900_setClockSource
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.
mod
AN9900_MODULE
AN9900_MOD_A Set clock source for Module A.
AN9900_MOD_B Set clock source for Module B.
src
AN9900_CLKSRC
AN9900_CLKSRC_NONE
No clock. No wave will be generated.
AN9900_CLKSRC_INT
Internal clock, with programmable frequency.
AN9900_CLKSRC_EXT_A External
channel
‘A’
clock.
AN9900_CLKSRC_EXT_B External
channel
‘B’
clock.
<OUTPUT>
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