Keithley SourceMeter 2600 Series Reference Manual page 569

Table of Contents

Advertisement

Series 2600 System SourceMeters Reference Manual
11.
12.
13.
For Digital I/O handshaking:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
Measure to Memory
The script uses smua.measure.v(nvbuffer1) to take measurements. The measure
count is set to a large number such as 1,000 instead of taking data in a for-loop.
Results are saved to nvbuffer1 instead of an array created in Lua.
The following shows how the speed results are obtained in Visual Basic.
TestScript() is the setup script.
tstart = Timer' Starts timer
TransmitBuffer = "TestScript()" & CRLF
ReceiveBuffer = ""
VisaStatus = viWrite(VisaSession, TransmitBuffer, Len(TransmitBuffer), ReturnCount)
VisaStatus = viRead(VisaSession, ReceiveBuffer, MAX_BUFFER, ReturnCount)
tstop = Timer 'Stops timer
Measurements are taken, data is saved to a buffer, and an array is created
in Lua to store the samples. If the test is a "to GPIB" test, data is returned
using the printnumber() function.
Turn output OFF.
A print command is issued to the test program when the test is complete if
the test is "to MEMORY."
Set the source range to 1V, turning autorange off.
Measure range is set to 1V, turning autorange off.
Measurement filter is off.
Set the trigger mode of line 1 to FALLING, digio.trigger[1].mode =
digio.TRIG_FALLING.
Set the pulse width of line 2, digio.trigger[2].pulsewidth = 1E-6
Sets the source function to volts.
The NPLC is set.
Turn output ON.
Autozero is set to smua.AUTOZERO_ONCE.
A measurement is taken internally to get a background reference reading.
Autozero is turned off.
A for-loop takes the desired number of samples.
A loop generates a series of measurements. Before each measurement,
digio.trigger[1].wait is issued. A voltage measurement is then stored to a
buffer. If the test is a "to GPIB" test, data is returned with the printnumber()
function. Finally, digio.trigger[2].wait is sent.
Turn output OFF.
A print command is issued to the test program when the test is complete if
the test is "to MEMORY".
Return to
Speed Specification Test Conditions
Appendix E topics
2600S-901-01 Rev. A / May 2006
E-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents