12-4 Instrument Control Library
Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006
Return to
Either of the following command messages will configure SMU A for the moving
average filter:
smua.measure.filter.type = 0
smua.measure.filter.type = smua.FILTER_MOVING_AVG
Some attributes can take any numeric value that is within a valid range. For
example, the Model 2601/2602 voltage source can be set from -40.4V to +40.4V,
while the Model 2611/2612 voltage source can be set from -202V to +202V. The
following command message sets the SMU A source level to 1.53V:
smua.source.levelv = 1.53
Reading an attribute
Reading an attribute is accomplished by passing it to a function call as a
parameter or by assigning it to another variable.
Parameter passing example
– The following command reads the filter type for
SMU A by passing the attribute to the
function, which outputs a value:
print(smua.measure.filter.type)
Output:
0.00
The above output indicates that the moving average filter is selected.
Variable assignment example
– The following command reads the filter type by
assigning the attribute to a variable named
filtertype
:
filtertype = smua.measure.filter.type
Syntax rules
• Commands for functions and attributes are case sensitive. As a general
rule, all function and attribute names must be in lower case, while
parameters use a combination of lower and upper case characters. Upper
case characters are required for attribute constants. Example:
smua.source.func = smua.OUTPUT_DCVOLTS
In the above command to select the volts source function,
OUTPUT_DCVOLTS
is the attribute constant.
• Whitespace in a function is not required. The function to set digital I/O line 3
low can be sent with or without whitespaces as follows:
digio.writebit(3,0)
-- Whitespaces NOT used in string.
digio.writebit (3, 0)
-- Whitespaces used in string.
• Some commands require multiple parameters. Multiple parameters must
be separated by commas (,), as shown above for the
digio.writebit
function.
Summary of Contents for SourceMeter 2600 Series
Page 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Page 592: ......
Page 593: ......