Download 1.6 PDF - Read the Docs

Transcript
PyVISA Documentation, Release 1.6
read_stb()
Service request status register.
read_termination
Read termination character.
read_termination_context(*args, **kwds)
read_values(fmt=None, container=<type ‘list’>)
Read a list of floating point values from the device.
Parameters
• fmt – the format of the values. If given, it overrides the class attribute “values_format”.
Possible values are bitwise disjunctions of the above constants ascii, single, double, and
big_endian. Default is ascii.
• container – the output datatype
Returns the list of read values
Return type list
register(interface_type, resource_class)
resource_class
VI_ATTR_RSRC_CLASS specifies the resource class (for example, “INSTR”) as defined by the
canonical resource name.
VISA Attribute VI_ATTR_RSRC_CLASS (3221159937)
resource_info
Get the extended information of this resource.
Parameters resource_name – Unique symbolic name of a resource.
Return type pyvisa.highlevel.ResourceInfo
resource_manufacturer_name
VI_ATTR_RSRC_MANF_NAME is a string that corresponds to the manufacturer name of the
vendor that implemented the VISA library. This attribute is not related to the device manufacturer
attributes.
Note The value of this attribute is for display purposes only and not for programmatic decisions, as
the value can differ between VISA implementations and/or revisions.
VISA Attribute VI_ATTR_RSRC_MANF_NAME (3221160308)
resource_name
VI_ATTR_RSRC_MANF_NAME is a string that corresponds to the manufacturer name of the
vendor that implemented the VISA library. This attribute is not related to the device manufacturer
attributes.
Note The value of this attribute is for display purposes only and not for programmatic decisions, as
the value can differ between VISA implementations and/or revisions.
VISA Attribute VI_ATTR_RSRC_NAME (3221159938)
send_end
3.6. API
65