3 Replies Latest reply on Jan 30, 2019 4:09 PM by lui_gough

    Py-Visa

    angellxp

      Should Py-Visa be usable as is on a BBB?  I'll be attempting to install it tonight.

        • Re: Py-Visa
          lui_gough

          I suspect it should be usable on most platforms which have access to Python. By default, PyVISA relies on the National Instruments VISA installation if it is available, but can also fallback to using pyvisa-py which is implemented in pure Python. See https://pyvisa.readthedocs.io/en/master/configuring.html

           

          - Gough

          1 of 1 people found this helpful
            • Re: Py-Visa
              angellxp

              I now have PyVisa and PyVisa-Py installed.  are there any other things I should consider installing for my instrument control?  I will have limited network access to this BBB so I'd like to do it in one go.

               

              Thanks

                • Re: Py-Visa
                  lui_gough

                  It really depends what you want to do ...

                   

                  In the instance that you're setting something up with limited access, I think it's probably best to first prototype or design the whole set-up first and get it working before "locking it down" or even migrating to a more "limited" platform such as an SBC. Defining your project aims/goals/functions/deliverables is vitally important if you ever want to "finish" the project. You could (in theory) smatter a few packages which might be useful (e.g. an editor of sorts, maybe a version control system, some remote access abilities on a protocol you'd like, perhaps an HTTP or SMB file-sharing if necessary), but installing too many bloats your installation, slows down upgrades in the future and potentially opens security holes in bugs, exploits or misconfiguration.

                   

                  As a result, I'd probably suggest you have a good hard think of what you'd want to do, actually make something working on something less restrictive and then port that over knowing exactly your dependencies as it varies from project to project and also depending on how you choose to code your project and the libraries you choose to use.

                   

                  - Gough

                  1 of 1 people found this helpful