88
_____________________________________________________________________________________________
_____________________________________________________________________________________________
Program
comments
410 PRINT
420 PRINT "All measured results"
430 FOR I = 1 TO X
440
PRINT "Sample number"; I, CP(I), D(I)
450 NEXT I
460 CLOSE
470 END
Line Comments
10 Open the RS-232C circuit file.
20 Set the first parameter to Cp,and the second parameter to D.
30 Select external trigger mode.
40 Switch off headers for the response message.
50 Set the test frequency to 1.234 kHz.
60 Enable auto-ranging.
70 Set the constant voltage to 1 V.
80 Set the first parameter for the comparator function as absolute
value (the current path is used in this settings).
90 Set the second parameter for the comparator function as
percentage value.Since both settings of lower and upper limits are
OFF,the comparator result is always IN (within limits). Input
appropriate reference value (the current path is also used in this
settings).
130-140 Initialize variables.
150 Switch on the comparator function.
190-280 Measurement loop
Returns data as total result, measurement value of CP, CP
decision, measurement value of D, D decision in order.
290 Switch off the comparator function.
310-340 Check HI decision for CP.
360-390 Check LOW decision for CP.
460 Close the RS-232C circuit file.