DBS9900 User’s Manual
DBS9900 Driver Software
5-5
82-28993 Revision 01
<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.5 Identify
Module
an9900_identifyModule
This function specifies whether a given module is a DBS901, a DBS902 or is not installed. By
calling this function twice, once with each AN9900_MODULE value, a program can determine
which plug-in daughterboards are installed.
Function Prototype
ViStatus _VI_FUNC
an9900_identifyModule
(ViSession
vi
, AN9900_MODULE
mod
,
AN9900_MOD_TYPE
*type
);
an9900_identifyModule
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
Check
Module
A.
AN9900_MOD_B Check
Module
B.
<OUTPUT>
*type
AN9900_MOD_TYPE
AN9900_MOD_EMPTY
No module is installed at this position.
AN9900_MOD_DBS901
DBS901 waveform generator is installed.
AN9900_MOD_DBS902
DBS902 digitizer is installed.
AN9900_MOD_UNKNOWN Invalid module type, EEPROM may be
corrupt
or
invalid.
<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