![Analogic DBS9900 Скачать руководство пользователя страница 100](http://html1.mh-extra.com/html/analogic/dbs9900/dbs9900_user-manual_2940410100.webp)
DBS9900 User’s Manual
DBS9900 Driver Software
5-61
82-28993 Revision 01
5.7.4
Read from Instrument
an9900_readInst
Given a hexadecimal register number and a bit number, this function returns the value of the
register and bit.
Function Prototype
ViStatus
an9900_readInst
( ViSession
instrumentHandle
,
ViUInt16
registerNumber
,
ViUInt16
*
value
);
an9900_readInst
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.
registerNumber
ViUInt16
Number, in hex, of the register to be accessed.
Valid range: 0x00 - 0x2F. (Default is 0x00).
<OUTPUT>
*value ViUInt16
(passed by
reference)
Displays the hex value of word queried.
Valid Range: 0x00 – 0xFFFF.
<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