Display Functions And Attributes - Keithley 2601 Reference Manual

System sourcemeter 2600 series (smu)
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Series 2600 System SourceMeter® Instruments Reference Manual
digio.writeport
Function
Writes to all digital I/O lines.
Usage
digio.writeport(data)
data
Remarks
• The binary representation of data indicates the output pattern to be written to the I/O port.
For example, a data value of 170 has a binary equivalent of 00000010101010. Lines 2,
4, 6 and 8 are set high (1), and the other 10 lines are set low (0).
Write protected lines will not be changed (see digio.writeprotect).
• The reset function does not affect the present states of the digital I/O lines.
• Use the digio.writebit and digio.writeport commands to control the output
state of the synchronization line while the trigger mode is set to digio.TRIG_BYPASS.
Details
See
"Controlling digital I/O
Also see
digio.readbit, digio.readport, digio.writebit,
Example
Sets digital I/O lines 1 through 8 high (binary 00000011111111):
digio.writeport(255)
digio.writeprotect
Write protect mask that disables bits from being changed with the
Attribute
and
digio.writeport
Usage
mask = digio.writeprotect
digio.writeprotect = mask
mask
Remarks
• Bits that are set to 1 cause the corresponding line to be write protected.
• The binary equivalent of mask indicates the mask to be set for the I/O port. For example,
a mask value of 7 has a binary equivalent 00000000000111. This mask write protects
lines 1, 2 and 3.
Details
See
"Controlling digital I/O
Also see
digio.writebit,
Write protects lines 1, 2, 3 and 4:
Example
digio.writeprotect = 15

display functions and attributes

The functions and attributes in this group are used for various display operations, which are
explained in
display.clear
Function
Clears all lines of the display.
Usage
display.clear()
Remarks
• This function will switch to the user screen and then clear the display.
• The display.clear(), display.setcursor, and display.settext
functions are overlapped, non-blocking commands. That is, the script will NOT
wait for one of these commands to complete. These non-blocking functions do not
immediately update the display. For performance considerations, they write to a
shadow and will update the display as soon as processing time becomes
available.
Details
See
"Clearing the
Also see
display.setcursor,
display.getannunciators
2600S-901-01 Rev. C / January 2008
Value to write to the port; 0 to 16383.
lines" in
Section
functions.
Reads write protect mask.
Writes write protect mask.
Set to the value that specifies the bit pattern
for write protect.
lines" in
Section
digio.writeport
Section
14.
display" in
Section
14.
display.settext
Return to
Section Topics
10.
digio.writebit
10.
Section 12: Instrument Control Library
digio.writebit
12-23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents