支持与文档
技术资源、下载和常见问题
ZT-100-C Tool — Linux Installation Guide
Download as text fileRequirements
- Python 3.10 or later
- pip (Python package manager)
- USB-to-RS485 adapter (FTDI recommended)
- ZT-100-C device connected via RS485
Installation
- Download and extract:
tar xzf ZT100C_Tool_1.0.0_linux.tar.gz - Create a virtual environment:
python3 -m venv venv && source venv/bin/activate - Install dependencies:
pip install -r requirements.txt
Serial Port Permissions
Your user must have access to serial ports. Add yourself to the dialout group: sudo usermod -a -G dialout $USER. Log out and back in for the change to take effect.
Running the Application
- Start the application:
python3 run.py - Your default browser opens automatically to http://localhost:8200
- To run without opening a browser:
python3 run.py --no-browser - Stop the application with Ctrl+C in the terminal
Connecting to a Device
- Connect your USB-to-RS485 adapter to the PC
- Connect the RS485 wires to the ZT-100-C device (A/B terminals)
- In the browser, click the "Connect" tab in the left sidebar
- Select "RS485 Terminal" mode (default)
- Choose your serial port from the dropdown (typically /dev/ttyUSB0)
- Click "Connect"
- The device name and version appear in the top bar
Streaming Measurements
- Go to the "Monitor" tab
- Click "Start Stream" to begin live measurement polling
- Values update every second (water cut, temperature, capacitance, current)
- Click "Start Logging" to save measurements to a CSV file
- The log file path appears in the top connection bar
Log File Location
CSV log files are saved to: ~/Documents/ZT100C_Logs/
Troubleshooting
- If no serial ports appear, check that your USB adapter is connected:
ls /dev/ttyUSB* - If you get "permission denied", ensure your user is in the dialout group
- If port 8200 is already in use, another instance may be running
- To use a different port, edit PORT in run.py
需要技术协助?
我们的工程团队可以帮助您进行产品选型、安装咨询、故障排除和重新校准服务。


