
’ Page 3.53
’
Resp.Count = Resp.Count + 1
PRINT "Signed.Samples = ";
PRINT #4, "Signed.Samples = ";
IF Signed.Samples = 1 THEN
PRINT "TRUE "; : PRINT #4, "TRUE"
ELSE
PRINT "FALSE "; : PRINT #4, "FALSE"
END IF
PRINT "Sample.Format = ";
PRINT #4, "Sample.Format = ";
IF MinMax.Samples = 0 THEN
PRINT "Single"
PRINT #4, "Single"
ELSEIF MinMax.Samples = 1 THEN
PRINT "Min/Max"
PRINT #4, "Min/Max"
ELSEIF MinMax.Samples = 2 THEN
PRINT "Min/Max/Ave"
PRINT #4, "Min/Max/Ave"
ELSE
PRINT "Unknown: "; OCT$(Sample.Format); " octal"
PRINT #4, "Unknown: "; OCT$(Sample.Format); " octal"
END IF
PRINT "Number of Sample.Bytes ="; Sample.Bytes
PRINT #4, "Number of Sample.Bytes ="; Sample.Bytes
’*****
’* Further calculation now that ’Signed.Samples’ is determined
’*****
FOR j = 1 TO 2
IF expscale(j) > 127 THEN ’Negative exponent
expscale(j) = 256 - expscale(j)
FOR i = 1 TO expscale(j)
YXscale#(j) = YXscale#(j) / 10
NEXT i
ELSE ’Positive exponent
FOR i = 1 TO expscale(j)
YXscale#(j) = YXscale#(j) * 10
NEXT i
END IF
NEXT j
Y.Scale = YXscale#(1)
X.Scale = YXscale#(2)
PRINT "<y_scale> ="; Y.Scale,
PRINT " <x_scale> ="; X.Scale
’
FOR j = 1 TO 6
IF exponent(j) > 127 THEN ’Negative exponent
exponent(j) = 256 - exponent(j)
FOR i = 1 TO exponent(j)
YXvalue#(j) = YXvalue#(j) / 10
NEXT i
ELSE ’Positive exponent
FOR i = 1 TO exponent(j)
YXvalue#(j) = YXvalue#(j) * 10
NEXT i
Содержание ScopeMeter 190 Series
Страница 40: ...Page 3 29 Response Syntax acknowledge cr See an example for this command under QUERY PRINT QP...
Страница 42: ...to the ScopeMeter...
Страница 64: ......
Страница 68: ...Resp Count Resp Count 2 PRINT x_divisions X Divisions...
Страница 70: ...PRINT x_step X Step...
Страница 72: ...nb nb ASC MID Resp Resp Count 1 1 ELSE...
Страница 74: ......
Страница 76: ...PRINT SumCheck so far MOD 256 SumCheck1 MOD 256 CLOSE END...
Страница 78: ...END IF...
Страница 80: ...END IF NEXT j...
Страница 83: ...Resp Count Resp Count Sample Bytes...
Страница 93: ...END IF RETURN End example program...
Страница 117: ...overload sample_value This field specifies which value in the trace samples represents the overload value...