Automated SCPI Control Software from Circuit Specialists
One of the great things about many of the programmable power supplies and electronic loads sold at CircuitSpecialists.com is that they can be controlled remotely via a PC. This allows a user to make adjustments to the test equipment without having to access the front panel. Though this feature opens up possibilities for end users it can be daunting to learn how to program them as needed. Since the introduction of programmable test equipment we've had many end users request assistance with writing SCPI software to help them with remote control and automatic running of specific steps. We've worked hard to support those customers on a case by case basis since introducing programmable power supplies and programmable dc electronic loads. We're happy to announce a new open-source automated test equipment software developed by our engineer Jake that simplifies the SCPI remote control process for all users. This program developed in Python looks at the existing SCPI command libraries for each piece of test equipment and creates a universal set of controls that works with the programmable test equipment we sell making remote control much easier for end-users. This program also has auto-detection for certain types of test equipment so it will automatically determine what port is activated and the type of test equipment that is connected to your computer.
All of the code for the program is available on the GitHub page here. So far the program has been tested using the Array 3721A, the CSI305DB, the PPS2116A, and the brand new 0-300V, 0-0.4A PPS3E004.
To get a better summary of the program features and future plans you can view the Read Me file on Github or see below:
Pull down the zip file from our GitHub containing all the files required for the open-source automated test equipment software here. Extract the contents of the zip folder to your desktop.
Connect your test equipment to one of the connection ports on your computer
Run the program gui.py
Begin controlling your equipment, either manually or via an autorun program. If using an autorun program or logging - be sure to follow the header format and use the filename equal to the existing CSV's in the library (note: output = 1 powers the PS or Elec Load on, output =0 powers off)
[caption id="attachment_3880" align="aligncenter" width="464"] Autorun CSV file example[/caption]
If you're interested in supporting this open-source automated test equipment software project or if you have questions you can contact us at email@example.com. We'd love to hear from you with feedback or any bugs you encounter.
Autoblog file data sample
*Note the software has only been tested with 4 instruments to date. Additional devices will be tested and incorporated. The program will still attempt control of instruments that don't exist in the program library, users should verify functionality on the test equipment front panel.