Download Print this page

Keithley ADC-16 User Manual page 65

Analog input board

Advertisement

ADC-16 USER
GUIDE
Purpose
format
entry parameters
exit parameters
return value
see also
comments
KGetADFrame
Frame Management. Get a logical Frame for Analog Input (A/D) operations.
D A S E r r
=
K G o t A D F r a m e
(
DevHandl
e ,
FrameHandl
e
) ;
DevHundle
=
device handle obtained from previous ADC16GetDevHandle call.
FrurneHandle
=
frame identification parameter for use when referencing parameters
in the frame or by operations that use the parameters in the frame.
DASErr
=
integer variable (0
=
No Error).
KChkFrame, KFreeFrame.
KGetADFrame returns a handle to a parameter list referred to as a
frame.
Frame
parameters describe all aspects of a data acquisition/conversion process. Functions
are available to set, select, or enable these parameters. For a given device, each
frame is specific to a certain type of operation.
* * *
Examples
Interpreted BASIC
- 0
CALL
K G e t A D F r a m e % ( D e v H a n d l e
,
FramaHandle, D A S E r r % )
QuickBASIC
D A S E r r
=
K G e t A D F r a m e % ( D e v H a n d l e , F r a m e H a n d l e )
IF ( D a s E r r 0 0 ) TEEN
BEEP:
STOP:
QBASIC
CALL
ABSOLUTE
( D e v H a n d l e , FrameBandle, D A S E r r , K G e t A D F r a m e )
* * *
7 - 12

Advertisement

loading