DBS9900 User’s Manual
DBS9900 Driver Software
5-49
82-28993 Revision 01
5.6.14 R
Counter
an9900_rCounter
This function sets the value of the R counter.
Function Prototype
ViStatus
an9900_rCounter
( ViSession
instrumentHandle
,
ViUInt16
counter
);
an9900_rCounter
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.
counter
ViUInt16
Sets the value of the R counter.
<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.
5.6.15
R Counter Query
an9900_rCounter_Q
This function returns the value of the R counter.
Function Prototype
ViStatus
an9900_rCounter_Q
( ViSession
instrumentHandle
,
ViUInt16
*
counter
);
an9900_rCounter_Q
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.
<OUTPUT>
*counter ViUInt16
(passed by
reference)
Returns the bit mask for the R counter.
<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