Download Print this page

Keithley ADC-16 User Manual page 76

Analog input board

Advertisement

CHAPTER 7 : INDIVIDUAL CALL DESCRIPTIONS
-
KlntStop
Purpose
Operating function. Terminate a background Interrupt operation.
foflnat
DASErr
=
X I n t S t o p ( F r a m e H a n d l e ,
S t a t u s ,
Count
) :
entry parameters FrumeHundle
=
frame handle obtained from previous KGetADFrame call.
exitparameters
Status
=
integer to receive status information
(1 =
active, 0
=
idle).
Count =
user long integer to receive current sample transfer count (samples
transferred so far).
return value
DASErr
=
integer variable (0
=
No Error).
see
also
KIntStart, KIntStatus.
comments
KIntStop is used whenever
you wish to prematurely terminate an Interrupt
operation initiated using KIntStart. If an Interrupt operation is in process,
it
is
stopped and the number of transferred samples is returned in Count
;
otherwise this
function does nothing.
* * *
Examples
Interpreted
BASIC
xrurl0
CALL
XIntStop% ( F r d a n d l e , S t a t u s % , Count, DASErr%)
QuickBASIC
DASErr
=
XIntStop% (FrameHandle, S t a t u s , Count)
I F DASErr
<>
0 THEN
BEEP:
STOP:
QBASIC
CALL
ABSOLUTE
(FrameBandle, S t a t u s , Count, DASErr, KIntStop)
* * *
7
-
23

Advertisement

loading