Alicat Python and Python-driven command prompt (Windows Powershell) drivers have been developed principally by Pat Fuller at NuMat Technologies and are available for download from github.com: https://github.com/numat/alicat
In order to run the command prompt/Powershell driver, Python will first have to be installed on the computer. The latest stable Python 3 release is the recommended version to install: https://www.python.org/downloads/
Once Python has been installed, the simplest way to install the python/command prompt drivers is to command the following in the command prompt:
If the Python PIP package manager is installed and enabled, this is a simpler method:
Command Prompt (Powershell) Usage:
A menu of possible arguments and usage information within the command prompt can be accessed by entering “alicat –help” or “alicat -h”:
To poll an Alicat that is the only one connected to your target COM port, commanding only the port name will return data from the Alicat:
To poll a device with unit ID A, your command should look like this:
and the response from either of these commands should look similar to this:
This command will open a serial connection to an Alicat device on the specified port:
If the Alicat is communicating on the specified port, it will return the same dictionary as when polled via Powershell.
Using this with Windows COM port COM1, for example, would look like this:
If you need any help with your application, please contact us or download the pdf of this article.