Python and command prompt communication instructions

Setup

  1. Alicat Python and Python-driven command prompt (Windows Powershell) drivers have been developed principally by Pat Fuller at NuMat Technologies. Download the drivers from github.com: https://github.com/numat/alicat
  2. In order to run the command prompt/Powershell driver, Python will first have to be installed on the computer. Install the latest stable Python 3 release: https://www.python.org/downloads/
  3. Once Python has been installed, command the following in the command prompt:

 

4. If the Python PIP package manager is installed and enabled, command the following instead

 

Command Prompt (Powershell) usage

  1. Enter “alicat –help” or “alicat -h” to access a menu of possible arguments and usage information

 

    1. If you only have one Alicat connected to your target COM port, command the port name to return data from the Alicat:

 

  1. To poll a device with unit ID A, enter the following command

 

  1. The response from either of these commands (step 2 or 3) should look like this:

Python usage

Use this command to 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:

FastTrack Ordering

M/MC mass flow meters and controllers that ship in just 3-5 business days.
CALIBRATION
Standard or High Accuracy
DISPLAY
Monochrome, Color, or None
PROTOCOL
Analog, RS-232, RS-485, or Modbus RTU
CONNECTOR
MD8, Locking Industrial, DB9M, DB15
FITTINGS
NPT

METER RANGES

2 SCCM - 500SLPM

CONTROLLER RANGES

2 SCCM - 100SLPM

Service and Support

Whether it is time for your instrument’s annual recalibration or your instrument needs a repair or upgrade,
you can fill out the Service Request Form below, email us, call us, or start a live chat session to get the service process started.

7641 N Business Park Dr. Tucson, AZ 85743

Geograaf 24
6921 EW
Duiven, The Netherlands