Hi Hendrik,
Klaus' (kw1) post on TinyGTC groups.io forum motivated me to put together (AI-assisted) the Tiny Devices TinyGTC (
https://www.tinydevices.org/wiki/pmwiki.php?n=TinyGTC.Homepage) driver for TestController. Find attached the driver to this post.
It has the following features:
- Includes a dummy, so you can try it without the device.
- Setup popup for both inputs, the OUT and REF outputs (including OUT PPS on firmware V1.0-255 or newer), the timebase (lock target, events) and the system (presets, reset, battery, clock).
- Logs both counters at full precision. Each channel logs into a column for its function (frequency, time, phase, ratio, count) with the matching unit (changing the function from TestController rebuilds the columns).
- Loads a counter's whole data buffer into the table from the "Other" menu. So that's the preferred way to get every result (up to 9999 per counter, about 2 s for a full buffer) instead of one value per log interval.
- Logs the GPSDO lock state and the two DACs that steer the reference oscillator, plus their combined value, so you can follow the lock over a long log. In testing, losing the antenna didn't change the lock state (checked on V1.0-104), but the DACs showed the holdover.
- Switches the command port to SCPI mode itself.
- Works around some firmware I stumbled upon: it waits out slow commands so they don't hang the command port, it re-sends an output's frequency when the output is switched on (the firmware can otherwise run it at the wrong frequency), among other details. OUT PPS can still occasionally reset the device.
- Tested with firmware V1.0-104 and V1.0-255 (V1.0-255 or newer recommended, and needed for OUT PPS).
Let me know if you find something that needs adjustment or fixing, happy to do it.
Best,
Diego