Download Print this page

Keithley ADC-16 User Manual page 74

Analog input board

Advertisement

CHAPTER 7 : INDIVIDUAL CALL DESCRIPTIONS
-
KlntStart
Purpose
Operating Functions. Start an operation and transfer samples using Interrupts.
fOm7at
DASErr
=
K I n t S t a r t
(
F r a m e H a n d l e
) ;
entry parameters
FrumeHundle = frame handle obtained from previous KGetADFrame call.
exit parameters
None.
return value
DASEv = integer variable (0
=
No Error).
see also
KIntStatus, KIntStop.
comments KIntStart stafis an A/D operation according to various parameters previously setup
through other appropriate functions. This function uses the PC and ADC-16
Intempt capabilities to transfer the acquired data to the PC memory at speeds
limited to approximately 16 Hz. This limitation occurs because of the maximum
sampling rate of the integrating A/D converter. Because these transfers occur in the
background, other DAS function may be performed simultaneously (for example,
KDIRead or KDOWrite).
Once this operation is started,
use
KIntStatus to monitor the progress of the
operation and KIntStop to terminate the operation prior to its normal finish (after
the requested number of samples is reached).
+ + +
Examples
Interpreted BASIC
- 0
CALL K I n t S t a r t % (FrameBandle, DASErr%)
QuickBASIC
DASErr
=
K I n t S t a r t % ( F r d a n d l e )
I F DASErr
<>
0
THEN BEEP: STOP:
QBASIC
CALL
ABSOLUTE (FrameBandle, DASErr, K I n t S t a r t )
7 - 2 1

Advertisement

loading