Download PyVISA Documentation

Transcript
PyVISA Documentation, Release 1.6.3
• open_timeout – Specifies the maximum time period (in milliseconds) that this operation
waits before returning an error.
Returns Unique logical identifier reference to a session, return value of the library call.
Return type session, pyvisa.constants.StatusCode
open_default_resource_manager()
This function returns a session to the Default Resource Manager resource.
Corresponds to viOpenDefaultRM function of the VISA library.
Returns Unique logical identifier to a Default Resource Manager session, return value of the
library call.
Return type session, pyvisa.constants.StatusCode
out_16(session, space, offset, data, extended=False)
Write in an 16-bit value from the specified memory space and offset.
Corresponds to viOut16* functions of the VISA library.
Parameters
• session – Unique logical identifier to a session.
• space – Specifies the address space. (Constants.*SPACE*)
• offset – Offset (in bytes) of the address or register from which to read.
• data – Data to write to bus.
• extended – Use 64 bits offset independent of the platform.
Returns return value of the library call.
Return type pyvisa.constants.StatusCode
out_32(session, space, offset, data, extended=False)
Write in an 32-bit value from the specified memory space and offset.
Corresponds to viOut32* functions of the VISA library.
Parameters
• session – Unique logical identifier to a session.
• space – Specifies the address space. (Constants.*SPACE*)
• offset – Offset (in bytes) of the address or register from which to read.
• data – Data to write to bus.
• extended – Use 64 bits offset independent of the platform.
Returns return value of the library call.
Return type pyvisa.constants.StatusCode
out_64(session, space, offset, data, extended=False)
Write in an 64-bit value from the specified memory space and offset.
Corresponds to viOut64* functions of the VISA library.
Parameters
• session – Unique logical identifier to a session.
• space – Specifies the address space. (Constants.*SPACE*)
3.6. API
43