Download Print this page

Keithley ADC-16 User Manual page 78

Analog input board

Advertisement

CHAPTER 7 : INDIVIDUAL CALL DESCRIPTIONS
Purpose
format
entry parameters
exit parameters
return value
see also
comments
Examples
Interpreted BASIC
QuickBASIC
QBASIC
KRestoreChnGAry
Frame parameter. Restore a user channel/gain array previously modified by
KFormatChnGAry
.
DASErr
=
K R e s t o r e C h n G A r y ( C h a n G a i n
( 0 ) ) ;
ChanGain(0)
=
array of Channel/Gain pairs to be restored.
ChanGaidO)
=
restored array of Channel/Gain pairs.
DASErr
=
integer variable (0
=
No Error).
KFormatChnGAry.
KRestoreChnGAry restores the user's channel/gain array previously modified by
KFormatChnGAry such that it is readable again from BASIC.
* * *
-0
CAU
K R e s t o r e C h n G A r y %
(ChanGain%
( 0 )
,
D A S E r r % )
DIM ChanGain(20)
AS
INTEGER
D A S E r r
=
KRestoreQmGAry% (ChanGain
( 0 ) )
IF
D A S E r r % 0 0
THEN BEEP: STOP
CALI,
ABSOLUTE (ChanGain
()
,
D A S E r r , XRestorekG.?uy)
* * +
7
-
25

Advertisement

loading