DBS9900 User’s Manual
DBS9900 Driver Software
5-57
82-28993 Revision 01
5.6.24
Time Base Control
an9900_timeBaseControl
This function controls the TB select lines on the Time Base Control register.
Function Prototype
ViStatus
an9900_timeBaseControl
( ViSession
instrumentHandle
,
ViUInt16
frequencySelect
, ViUInt16
internalReference
,
ViUInt16
enablePLL
, ViUInt16
externalReferenceSel
);
an9900_timeBaseControl
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.
frequencySelect
ViUInt16
Specifies the Frequency select options for the clock.
0 Disable
Time
Base
Clock
1 Enables
LSDIV
2 Enables
HSDIV
FF
3
Enables HSDIV Divider
internalReference ViUInt16
Enable
Internal
Reference.
1 Select Internal Ref.
0 Clear Internal Ref.
enablePLL
ViUInt16
Set or clear the PLL.
1 Enable PLL
0 Disable PLL
externalReferenceSel
ViUInt16
Set or clear the External Reference.
1 Set External Reference
0 Clear External Reference
<OUTPUT>
None None
None
<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