Loading...
Searching...
No Matches
Finding COM Ports

COM ports are used by the API to communicate with Squidstats. It is crucial to know which serial port the instrument is connected to in order to establish the correct communication pathway. Locate the serial port in the Squidstat User Interface (SUI) software in the "More Options" tab under "Device Information." If the SUI is not installed, you can determine the serial port using different methods based on your operating system

Windows

  1. Connect the device via USB and power it on.
  2. Open Device Manager using the search function (Windows key > then type "Device Manager") or through Control Panel via: Control Panel > Hardware and Sound > Devices and Printers > Device Manager
  3. Expand 'Ports' to view the connected devices (e.g. USB Serial Port(COM3)). If multiple COM ports are listed, power cycle or disconnect the device to identify the correct one.
  4. When referring to the serial port from the example above in the API, the format for the entry would be COM3.

Mac

  1. Connect the device via USB and power it on.
  2. Open Terminal via Applications > Utilities > Terminal or use Spotlight Search (Cmd + Space, then type "Terminal").
  3. List serial devices by entering ls /dev/cu.* in Terminal.
  4. Identify the USB serial port from the list.

    Example output:

        /dev/cu.Bluetooth-Incoming-Port
        /dev/cu.usbmodem14201
        /dev/cu.usbserial-Admiral_1409  
    

    In this example, /dev/cu.usbmodem14201 and /dev/cu.usbserial-Admiral_1409 are the USB serial ports associated with the connected devices. If there are multiple entries, power cycle or disconnect the device and rerun the command.

  5. When referring to a serial port from the example above in the API, the format for the entry would be cu.usbmodem14201.

Linux

  1. Connect the device via USB and power it on.
  2. Open Terminal (Ctrl + Alt + T).
  3. Run ls /dev | grep tty in Terminal
  4. Identify the USB serial port. Look for the lines that refer to USB devices (e.g., "ttyACM0" or "ttyUSB1"). For multiple entries, power cycle or disconnect the device and rerun the command.
  5. When referring to the serial port from the example above in the API, the format for the entry would be ttyACM0.