PortDock

PortDock Simulator

Imitate any device with «when this arrives → reply that» rules. Develop host software without hardware and test error handling with delays, dropped replies (every Nth or by chance) and rotating replies.

Free · Windows 10 and 11 · no ads in the program · open source (GPL-3.0)

DownloadDocs

PortDock Simulator screen — Rule-based fake device over serial, TCP and UDP
Example screen with sample data. Click to enlarge.

Made for

  • Host software developers without the hardware yet
  • Teams building automated test rigs

Features

Wildcard rules

HEX ?? (any byte) and ** (zero or more). ASCII matches literally by default; turn on a rule's «Wildcards» for ? and *. Match exact or contains.

Shaped replies

Auto checksum and line ending, reply delay, and per-rule hit counts.

Device-initiated messages

Send heartbeats or status reports on an interval.

Four transports

Serial, TCP server, TCP client, UDP. Save and load rules plus connection and framing settings as one JSON file.

First-run address 127.0.0.1 (from 0.10.0)

The «Host» for the TCP server and UDP starts as 127.0.0.1 (this PC only). For host software on another PC, pick 0.0.0.0 (all adapters) or an adapter's address. Settings saved by earlier versions are kept.

Screens in 12 languages

Pick the screen language from Korean, English, Japanese, German, Spanish, Portuguese, Polish, French, Vietnamese, Turkish, Italian and Indonesian (header or Settings). The first start follows the Windows display language; any other language starts in English. On screens other than Korean and English, help and some result text stay in English.

In every app — the «AI» button in the title bar (0.8.0, copy for asking AI): builds text for an AI chat from the program, connection settings, errors in this session and recent traffic (or check results), shows a preview and puts it on the clipboard only. PortDock sends nothing; once pasted, it goes to that AI service. User folders, PC names, the last half of MAC addresses and public IPs are masked. Privacy policy →

When to use it

Build host software before the hardware arrives

Turn the request/reply pairs from the device manual into «when → reply» rules and connect your HMI or test program without the real device.

Test timeouts and error handling

Reply delays (with jitter), no reply every Nth time or by chance, and rotating replies show how your host software copes with late or missing answers.

Practice SCPI without an instrument

Run a TCP server on 5025 with the [SCPI *IDN? reply] example and connect PortDock SCPI to 127.0.0.1. Replies like «+1.2{rand 0..9}E+00» change on every request.

Imitate heartbeats and status reports

«Device-initiated messages» sends without a request at a set interval. {counter}, {rand} and {time} placeholders are filled on every send.

Quick start

  1. Pick a transport and enter port or address
  2. «+ Add rule» — When / Reply
  3. «Start» — send a request from your host software

Read the full guide →