
9-18
Stepping and Scanning
AsciiRdgsBuf$ = SPACE$(18 * NumRdgs)
'represents the string of buffer response
DIM Readings!(1 TO NumRdgs) 'array of the 48 individual readings in
'numerical representation form - converted from
'ASCII
CALL send(Addr, "TRACE:DATA?", status%)
'ask 2182 for the buffer response
CALL enter(AsciiRdgsBuf$, length%, Addr, status%)
'read in buffer response
' Start Parsing the data readings...
ParseLength = 1
'represents how many characters to extract from
'response string
CurrentPosition% = 1
'represents which character on in response
'string
OneReading$ = ""
'clear out string contents
ReadingOn% = 1
'represents the individual reading on
DO
OneCharacter$ = MID$(AsciiRdgsBuf$, CurrentPosition%, ParseLength)
'above line reads in the next character for the
'buffer response
IF (OneCharacter$ = ",") THEN
'found an individual reading so store it as such
Readings!(ReadingOn%) = VAL(OneReading$)
OneReading$ = ""
'clear out so able to read next individual
'reading
ReadingOn% = ReadingOn% + 1
'increment counter for next individual reading
ELSE
'still building an individual reading so add on
'the next character
OneReading$ = OneReading$ + OneCharacter$
END IF
CurrentPosition% = CurrentPosition% + 1
'increment character on in the buffer response
LOOP UNTIL (CurrentPosition% > length%)
'loop until pass the number of characters read
'in with the buffer response
Readings!(ReadingOn%) = VAL(OneReading$)
'store last individual reading since it will not
'be separated by a comma
'Calculate DataIC and DataV values
'where Chan2! is the CH2 numerical representation for string CH2 data
' and Chan1! is the CH1 numerical representation for string CH1 data
' CH1pos! is the positive portion for channel 1
' CH1neg! is the negative portion for channel 1
k% = 1
'represents the reading in Reading! to use in
'calculation
Содержание 2182
Страница 1: ...www tek com keithley Model 2182 2182A Nanovoltmeter User s Manual 2182A 900 01 Rev B May 2017...
Страница 18: ......
Страница 22: ......
Страница 23: ...1 Getting Started Getting Started...
Страница 41: ...2 VoltageandTemperature Measurements Voltageand Temperature Measurements...
Страница 68: ...2 28 Voltage and Temperature Measurements...
Страница 69: ...3 Range Digits Rate andFilter Range Digits Rate andFilter...
Страница 82: ...3 14 Range Digits Rate and Filter...
Страница 83: ...4 Relative mX b and Percent Relative mX b andPercent...
Страница 91: ...5 RatioandDelta Ratioand Delta...
Страница 117: ...6 Buffer Buffer...
Страница 123: ...7 Triggering Triggering...
Страница 140: ...7 18 Triggering...
Страница 141: ...8 Limits Limits...
Страница 149: ...9 SteppingandScanning Steppingand Scanning...
Страница 168: ...9 20 Stepping and Scanning...
Страница 169: ...10 AnalogOutput Analog Output...
Страница 175: ...11 RemoteOperation Remote Operation...
Страница 205: ...12 CommonCommands Common Commands...
Страница 221: ...13 SCPISignalOriented Measurement Commands SCPISignalOri entedMeasure ment Commands...
Страница 225: ...14 SCPIReferenceTables SCPIRefer enceTables...
Страница 239: ...15 AdditionalSCPI Commands Additional SCPICom mands...
Страница 260: ...15 22 Additional SCPI Commands...
Страница 261: ...A Specifications Specifications...
Страница 263: ...B Statusand ErrorMessages StatusandError Messages...
Страница 268: ...B 6 Status and Error Messages...
Страница 269: ...C Measurement Considerations Measurement Consider ations...
Страница 278: ...C 10 Measurement Considerations...
Страница 279: ...D Model182Emulation Commands Model182 EmulationCom mands...
Страница 284: ...D 6 Model 182 Emulation Commands...
Страница 285: ...E Example Programs ExamplePro grams...
Страница 293: ...F IEEE 488 BusOverview IEEE 488Bus Overview...
Страница 307: ...G IEEE 488andSCPI ConformanceInformation IEEE 488and SCPIConform anceInforma tion...
Страница 310: ...G 4 IEEE 488 and SCPI Conformance Information...
Страница 311: ...H Measurement Queries Measurement Queries...
Страница 316: ...H 6 Measurement Queries...
Страница 317: ...I Delta PulseDelta and DifferentialConductance Delta Pulse Deltaand Dif ferentialCon ductance...