Keithley SourceMeter 2611 User Manual page 66

Hide thumbs Also See for SourceMeter 2611:
Table of Contents

Advertisement

3-18 Test Script Processor Interaction
Call send(Addr%, "localnode.showerrors =
0", intStatus)
Call send(Addr%, "localnode.prompts = 1",
intStatus)
strReturnMessage = udfGetTspResponse()
Open App.Path & "\" & "MeasCurr-
Script.tsp" For Input As #1
Call send(Addr%, "loadscript MeasCurr-
Script", intStatus)
strReturnMessage = udfGetTspResponse()
Do While Not EOF(1)
Line Input #1, strScriptline
Call send(Addr%, strScriptline, intSta-
tus)
strReturnMessage = udfGetTspResponse()
strReturnMessage = Left(strReturnMessage,
4)
Select Case strReturnMessage
Case ">>>>"
Case "TSP>"
Exit Do
Case "TSP?"
Case Else
End Select
Loop
Close #1
Call send(Addr%, "endscript", intStatus)
strReturnMessage = udfGetTspResponse()
2600S-900-01 Rev. A / May 2006
Series 2600 System SourceMeters User's Manual
--Disable automatic display of errors - leave
error messages in queue and enable
Error Prompt. The "localnode" unit is
being communicated with via GPIB or RS-
232.
--Turn on prompts; need to start handling
the prompts as soon as this command
is sent.
--Open the script file for sequential input.
-- "loadscript" identifies the beginning of the
script.
"MeasCurrScript" is the name assigned to
the script.
-- Read the file.
-- Loop until the end of the script file.
-- Read a line from the script file
-- Send script line to Series 2600
-- Continuation prompt.
TSP received script line successfully;
waiting for next line.
-- Ready prompt.
TSP received script successfully; ready
for next command.
-- Error prompt.
Error occurred; handle as desired.
Use "errorqueue" commands to read and
clear errors.
-- No prompt received.
Response other than shell prompt was
received; handle as desired.
-- Close the script file.
-- Tell TSP complete script has been down-
loaded.
Return to
In this section:

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sourcemeter 2602Sourcemeter 2612Sourcemeter 2601

Table of Contents