Download Print this page

Keithley ADC-16 User Manual page 85

Analog input board

Advertisement

ADC-16 USER GUIDE
Purpose
format
entry parameters
exit parameters
return value
see also
comments
Examples
Interpreted BASIC
QuickBASIC
QBASIC
KSyncStart
Operating Function. Starts a synchronous A/D operation.
DASErr
=
K S y n c S t a r t
(
FrameHandle
) ;
FrumeHundle
=
frame handle obtained from previous KGetADFrame call.
None.
DASErr
=
integer variable (0
=
No Error).
KIntStart.
Starts a synchronous A/D operation. KSyncStart takes a frame handle as an input
parameter.
This
handle is obtained by a KGetADFrame function and therefore
defines the
type
of operation.
KSyncStart is a foreground operation and does not return until the specified
number of acquisitions/conversions are complete. Therefore, no complimentary
status or stop functions are required.
Prior to making this call, the user should have already specified the start and stop
channels, buffering, gain, etc.
* * *
x x x 2 0
CALL K S y n c S t a r t %
( F r d a n d l e , D A S E r r % )
DASErr
=
K S y n c S t a r t %
(FrameBandle)
IF
D A S E r r
<>
0
THEN
BEEP: STOP:
CALL
ABSOLUTE (FramaHandle,
DASErr,
K S y n c S t a r t )
7-32

Advertisement

loading