Download Print this page

Keithley ADC-16 User Manual page 60

Analog input board

Advertisement

CHAPTER 7: INDIVIDUAL CALL DESCRIPTIONS
-
KDASDevInit
Purpose
General Driver Function. Initialize a DAS driver to a well-defined state.
format
DASErr
=
KDASDevInit
(
D e v H a n d l e
) ;
entry parameters
D e v H a n d l e =
a unique identifier for a logical DAS device obtained by a previous
call to ADClGetDevHandle.
exit parameters
None.
return value
DASEv
=
integer variable
(0
=
No Error).
see also
ADC16DevOpen, KInitFrame.
comments
Initially, KDASDevInit is not required since the mandatory call to ADC16DevOpen
effectively resets the Device parameters to their initial state. Later, KDASDevInit
may be called as required; for example, when your program has just finished a
synchronous acquisition and you want to do an Interrupt operation. By calling
KDASDevInit you effectively cancel all setups associated with the Synchronous
Mode. Calling KDASDevInit also stops all currently active operations.
Note that KDASDevInit initializes all driver parameters while KInitFrame
initialize the specified frame.
NOTE: RELAYS
ARE SET TO
NORMALLY CLOSED.
Examples
Interpreted BASIC
- 0
CAWL
KDASDevInit% (DevHandle, DASErr%)
QuickBASIC
D A S E r r
=
KDASDevInit% (DevHandle)
IF DASErr%
0
0
THEN
BEEP:
STOP:
QBASIC
CALL
ABSOLUTE
(DevHandle, DASErr, KDASDevInit)
7 - 7

Advertisement

loading