معرفی شرکت ها


agilent-visa-control-0.0.2.1.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A small package aimed at helping with interfacing with Agilent spectrum analyzer (tested with ESA and EXA series)
ویژگی مقدار
سیستم عامل -
نام فایل agilent-visa-control-0.0.2.1.2
نام agilent-visa-control
نسخه کتابخانه 0.0.2.1.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Enrique Morell
ایمیل نویسنده morell.enrique@outlook.com
آدرس صفحه اصلی https://github.com/emorell96/agilent_visa_control
آدرس اینترنتی https://pypi.org/project/agilent-visa-control/
مجوز GNU General Public License v3 (GPLv3)
# agilent_visa_control A set of files aimed at facilitating the transfer of data from Agilent Spectrum Analizers through VISA Interface ## Prerequisites: You will need PyVisa (and PyVisa's dependencies too obviously). ## Installation: No need to install, just clone this repository to your working workspace folder and code inside of it. For a good example on how to use the code check Agilent_save_trace.py Frequency.py is a helper class to help you deal with frequencies and its conversion. You can by using this class just sum or substract frequencies and the units will be taken care of by the script. You can then convert to which ever frequency unit you need. Check Frequency.py for examples on usage (after `` if __name__ == __main__: ``) ## Usage of Agilent class: Before using this class you will need to know the VISA identifier of the Agilent Spectrum Analyzer you'll want to use. The identifier is usually found on the IO Librairies Suite of KeySight (https://www.keysight.com/en/pd-1985909/io-libraries-suite) (This suite is usually needed for communication with the Spectrum Analyzer) or in the instrument panel of your VISA package. It is something like ```python identifier = "GPIB0::8::INSTR" ``` Once you know your identifier you will need to create the Agilent class object: ```python agilent = Agilent(identifier) ``` Then you need to open your connection: ```python agilent.open() ``` Then you could set the mode of the Analyzer, for example you could choose the spectrum analyzer mode. As of today the code only supports setting this mode remotely. You could always set in some other mode using the Frontal Interface on the instrument and then carry on extracting the data with this library. ``` agilent.set_sa() ``` Then you create the frequencies at which you want to center and the span of the analyzer. ``` center_freq = Frequency(80.1, FreqUnit(FreqUnit.MHz)) span = Frequency(50, FreqUnit(FreqUnit.kHz)) ``` And we set the x Axis: ``` agilent.set_x(center_freq, span) ``` We set the Y axis now: ```python agilent.set_y(3, 10) #in dBm (first argument is the reference Level and the second one is the scale in dBm per Div. ``` You can also set markers: ``` agilent.set_marker(1, center_freq) ``` And in the end we extract the values: ```python values = agilent.get_trace(1) #treat values ``` And in the end we close the connection. ``` #close connection once you are done with the agilent Spectrum Analyzer agilent.close() ```


نیازمندی

مقدار نام
>=1.9 PyVISA


نحوه نصب


نصب پکیج whl agilent-visa-control-0.0.2.1.2:

    pip install agilent-visa-control-0.0.2.1.2.whl


نصب پکیج tar.gz agilent-visa-control-0.0.2.1.2:

    pip install agilent-visa-control-0.0.2.1.2.tar.gz