12-58 Instrument Control Library
Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006
Return to
setup
functions and attribute
The functions and attribute in this group are used to save/recall setups and to set the
power-on setup.
Also see
Example
Reads data from the serial port:
data = serial.read(200)
print(data)
Output:
John Doe
The above output indicates that the string “John Doe” was read from the serial port.
serial.write
Function
Writes data to the serial port.
Usage
serial.write(data)
data
Specify the data string to write.
Remarks
This function will write the given string to the serial port where it can be read by
equipment (e.g., component handler) connected to the other end of the serial port. No
terminator characters are added to the data. The data will be written exactly as is.
Also see
Example
Writes data string “1 2 3 4” to the serial port:
serial.write("1 2 3 4")
setup.poweron
Attribute
The saved setup to recall when the unit is turned on.
Usage
n = setup.poweron
-- Reads the power-on setup.
setup.poweron = n
-- Writes the power-on setup.
n
Setup number to recall on power up (0 to 5).
Remarks
For an
n
setting of 0, the unit powers up to the factory default (reset) setup. For an
n
setting of 1 to 5, the unit powers up to a user saved setup.
Details
See “
Example
Sets unit to power on to the factory defaults:
setup.poweron = 0
Содержание SourceMeter 2600 Series
Страница 507: ...AppendixA Specifications Appendix A topics Model 2600S Specifications page A 2 2600S 901 01 Rev A May 2006...
Страница 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Страница 592: ......
Страница 593: ......