Figure 3-7 Gui After Loading The Non-Function Script (Gpib) - Keithley 2601 User Manual

Series 2600 system sourcemeter instruments
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Series 2600 System SourceMeter
Figure 3-7
GUI after loading the non-function script (GPIB)
The primary code that runs the script and retrieves the measurement results is listed below. This
code is executed when you click the Run Script (GPIB) command button. When you run this
script it will perform ten measurements and send the readings to the PC. The results are displayed
in the Data text box of the GUI as shown in
the script.
Call send(Addr%, "MeasCurrScript.run()", intStatus)
Do
strReturnMessage = udfGetTspResponse()
txtData.Text = txtData.Text & strReturnMessage
Loop Until Left(strReturnMessage, 3) = "TSP"
If strReturnMessage = "TSP?" Then
txtStatusDesc.Text = "Error Occurred"
Call send(Addr%, "print(errorqueue.next()",
intStatus)
strReturnMessage = udfGetTspResponse()
txtStatusDesc.Text = txtStatusDesc.Text & strRe-
turnMessage & vbCrLf
End If
2600S-900-01 Rev. C / January 2008
®
Instruments User's Manual
Return to
Section Topics
Section 3: Test Script Processor Interaction
Figure
3-8. TSP prompts are enabled prior to running
--The following command runs the
script; you can also use
MeasCurrScript()
command.
--Get output from script.
form of the
3-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26022612261126352636

Table of Contents