EasyManuals Logo
Home>Keithley>Measuring Instruments>SourceMeter 2612

Keithley SourceMeter 2612 User Manual

Keithley SourceMeter 2612
108 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #71 background imageLoading...
Page #71 background image
Series 2600 System SourceMeters User’s Manual Test Script Processor Interaction 3-23
Return to In this section: 2600S-900-01 Rev. A / May 2006
The primary code that calls the function and retrieves the measurement results is
listed below. TSP prompts are enabled prior to calling the function. This code is
executed when you click the Call Function (GPIB) command button. In this
example, the function performs ten current measurements and sends the
readings to the PC because “ntimes” is set to 10 when the function is called. The
results are displayed in the Data text box as shown in
Figure 3-10. Note that it
would be just as easy to take one or 100 readings simply by calling the function
with a different value for “ntimes,” for example, MeasCurr(100). You can pass
parameters to a function, but not to a script. However, you must initially run a
script to create a function. Refer to the Series 2600 Reference Manual for more
information about scripts and functions.
Call send(Addr%, "MeasCurr(10)", intStatus)
--Call function with ntimes=10
and then enter data.
Do
--Get output from function.
strReturnMessage = udfGetTspResponse()
txtData.Text = txtData.Text & strReturnMessage &
vbCrLf
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
--Take appropriate action
based on error message.

Table of Contents

Other manuals for Keithley SourceMeter 2612

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley SourceMeter 2612 and is the answer not in the manual?

Keithley SourceMeter 2612 Specifications

General IconGeneral
BrandKeithley
ModelSourceMeter 2612
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals