Download Print this page

Keithley ADC-16 User Manual page 70

Analog input board

Advertisement

CHAPTER 7 : INDIVIDUAL CALL DESCRIPTIONS
KGetStartStopChn
Purpose
Frame Parameter. Get the Start and Stop channels associated with a particular
frame.
format
DASErr
=
KGetStartStopChn
(
F r a m e H a n d l e , S t a r t C h n , S t o p C h n
)
;
entry parameters FrameHandle
=
frame handle obtained from previous KGetADFrame call.
exit parameters
StartChn = integer variable containing the start channel associated with
FrameHandle. Limits
=
((#
of STA-EX8s
*
8)
+
(8 -
#
of STA-EX8s))
-
1.
StopChn = integer variable containing the stop channel associated with
FrameHandle. Limits
=
((#
of STA-EX8s
*
8)
+
(8
-
#
of STA-EX&)) -
1.
return value
DASEn
=
integer variable (0
=
No Error).
see also
KSetStartStopChn.
comments
None.
* * *
Examples
Interpreted BASIC
xxx20
CALL
KGetStartStopChn% (FrameHandle, StartChn%, StopChn%,
DASErr%)
QuickBASIC
DASErr = KGetStartStopChn% (FrameHandle, StartChn, StopChn)
IF
DASErr
<>
0
THEN BEEP:
STOP
PRINT "The Channel Scan is
";
StartChn;
I'
to
";
StopChn:
QBAsIC
CALL
ABSOLUTE (FrameHandle, Start&,
StopChn, DASErr,KGetStartStopChn)
* * *
7 - 1 7

Advertisement

loading