Series 2600 System SourceMeters Reference Manual
Speed Specification Test Conditions
E-5
Return to
2600S-901-01 Rev. A / May 2006
11. 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.
12. Turn output OFF.
13. A print command is issued to the test program when the test is complete if
the test is “to MEMORY.”
For Digital I/O handshaking:
1. Set the source range to 1V, turning autorange off.
2. Measure range is set to 1V, turning autorange off.
3. Measurement filter is off.
4. Set the trigger mode of line 1 to FALLING, digio.trigger[1].mode =
digio.TRIG_FALLING.
5. Set the pulse width of line 2, digio.trigger[2].pulsewidth = 1E-6
6. Sets the source function to volts.
7. The NPLC is set.
8. Turn output ON.
9. Autozero is set to smua.AUTOZERO_ONCE.
10. A measurement is taken internally to get a background reference reading.
11. Autozero is turned off.
12. A for-loop takes the desired number of samples.
13. 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.
14. Turn output OFF.
15. A print command is issued to the test program when the test is complete if
the test is “to MEMORY”.
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
Summary of Contents for SourceMeter 2600 Series
Page 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Page 592: ......
Page 593: ......