Keysight Network Analyzer
Bases: VisaDriver
Source code in driverlib/keysight/keysight_na.py
11 12 |
|
idn
property
idn
Retrieve the identification string.
Returns:
Name | Type | Description |
---|---|---|
str |
str
|
The identification string of the device. |
close
close()
Close the connection to the device.
Source code in driverlib/visa_driver.py
114 115 116 |
|
get_error
get_error()
Retrieve the error message from the device.
Returns:
Name | Type | Description |
---|---|---|
str |
The error message. |
Source code in driverlib/visa_driver.py
127 128 129 130 131 132 133 |
|
print_error
print_error()
Print eventual errors occurred.
Source code in driverlib/visa_driver.py
135 136 137 |
|
reset
reset()
Reset instrument to factory default state. Does not clear volatile memory.
Source code in driverlib/visa_driver.py
139 140 141 142 |
|
clear
clear()
Clear event register, error queue -when power is cycled-.
Source code in driverlib/visa_driver.py
144 145 146 147 |
|
lookup_resources
lookup_resources()
Look for all the available resources.
Source code in driverlib/visa_driver.py
149 150 151 152 153 154 155 156 157 158 159 160 |
|
get_output
get_output()
Query the output state of the signal generator.
Returns:
Name | Type | Description |
---|---|---|
bool |
bool
|
True if the output is enabled, False otherwise. |
Source code in driverlib/keysight/keysight_na.py
119 120 121 122 123 124 125 |
|
set_output
set_output(value)
Set the output state of the signal generator.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
value |
bool | ON | OFF | 0 | 1
|
The desired output state. True to enable the output, False to disable it. |
required |
Source code in driverlib/keysight/keysight_na.py
127 128 129 130 131 132 133 134 135 136 |
|