![Analogic DBS9900 Скачать руководство пользователя страница 43](http://html1.mh-extra.com/html/analogic/dbs9900/dbs9900_user-manual_2940410043.webp)
DBS9900 User’s Manual
5-4
DBS9900 Driver Software
82-28993 Revision 01
5.1.3 Set
Module
an9900_setModule
The DBS9900 can host two modules, any combination of DBS901s and DBS902s. Some
DBS9900 functionality, such as clock generation is common to both modules, whereas other
functionality such as clock and trigger source selection can be controlled on a per-module basis.
The AN9900_MODULE enumerated constant is a parameter in all DBS9900 driver functions that
need to “know” which module they are acting upon. It is also used by the “register select”
function, an9900setModule, to specify which module subsequent an901_xxx or an902_xxx calls
will act upon.
Function Prototype
ViStatus _VI_FUNC
an9900_setModule
(ViSession
instrumentHandle
, AN9900_MODULE
module
);
an9900_setModule
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.
module
AN9900_MODULE
AN9900_MOD_A Module A selected.
AN9900_MOD_B Module B selected.
<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.
5.1.4 Get
Module
an9900_getModule
This function reads the current module selected.
Function Prototype
ViStatus _VI_FUNC
an9900_getModule
(ViSession
instrumentHandle
, AN9900_MODULE
*module
);
an9900_getModule
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.
<OUTPUT>
*module
AN9900_MODULE
AN9900_MOD_A Module A selected.
AN9900_MOD_B Module B selected.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com