Download Print this page

Keithley ADC-16 User Manual page 73

Analog input board

Advertisement

ADC-16 USER GUIDE
Purpose
format
entry parameters
exit parameters
return value
see also
comments
KlnitFrame
Frame Management. Initializes the specified frame.
DASErr
= KInitFrame
(
F r a m e H a n d l e
) ;
FrumeHundle
=
frame handle obtained from previous KGetADFrame or
KGetDOFrame call.
None.
DASErr
=
integer variable (0
=
No Error).
KDASDevInit.
KInitFrame
initializes a frame to its initial default state. When a device is newly
opened, this Call is not required because ADC16DevOpen opens and reads the
configuration file, setting all the frame parameters to their initial state. KInitFrame
may be
used
any time an operation is not in process to reset the parameters to that
state.
KDASDevInit initializes all device and driver functions while KInitFrame
initializes only the current frame.
KinitFrame must be preceded by KGetADFrame or KGetDOFrame to obtain
FrameHandIe
.
+ + +
Examples
Interpreted
BASIC
- 0
CALL
KInitFramo% (FrameHandle,
DASErr%)
QuickBASIC
DASErr = KInitFrame% (FrameHandle)
IF
D A S E r r
<>
0
' I "
BEEP: STOP:
QBASIC
CALL
ABSOLUTE
(FrameHandle, DASErr, KInitFrame%)
7 - 2 0

Advertisement

loading