A user wanted to use the LibreVISA library: an open source alternative to NI-VISA. It actually started with an issue in the PyVISA tracker. In the near future it will also use linux-gpib to provide access to GPIB instruments in linux. It is an implementation of message based communication (Serial/USB/Ethernet) using Python and some well developed, easy to deploy and cross platform libraries (PySerial/PyUSB/Python Standard Library). But NI-VISA is a proprietary library that only works on certain systems. This works most of the time, for most people. Until now, talking to instruments via PyVISA required that you had National Instruments VISA library installed in your system. Today I am making public a second backend. The cool thing is that your code remains the same, except the line in which you instantiate the resource manager (which tells which backend to use).Ī few days ago I blogged about one of such alternative backends called PyVISA-sim which allows your to mock the presence of instruments (in cased that you missed the announcement, is here). Through GPIB, RS232, USB and Ethernet among others interfaces. PyVISA is a Python frontend for the VISA library that enables controlling all kinds of measurement equipment
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |