Skip to content

CAN Triple Device Manager 1.1.9 — a FOLLOW counter compares the value (device firmware 1.0.2)

Choose a tag to compare

@mitchdetailed mitchdetailed released this 29 Aug 22:14
· 15 commits to main since this release

This release updates the device firmware to 1.0.2 (from 1.0.1). The configurator itself is unchanged since 1.1.8 — two installers that flash different firmware should not share a number.

A FOLLOW counter now compares the value

Follow Changes read its input as a boolean. For as long as the mode has existed the engine took the Follow input through a > 0 test, so what it counted was the input crossing zero rather than changing:

Input goes Counted before Counted now
3000 → 3100 → 3200 0 3
0 → 1 → 0 2 2
3200 → 3200 (repeat) 0 0

The mode is documented as tracking a channel's value in four places — the protocol header, the counters help page, the counters dialog, and the comment directly above the line itself. Only the code disagreed.

It compares the value now: any change, by any amount, in either direction. A repeated reading is not a change, so a cyclic message re-sending the same value does not step — counting frames is what the message option on Up/Down is for.

Two details worth stating:

  • Exact inequality. A decoded signal is a scaled integer or an exact float off the wire, so equal frames compare equal. Any epsilon large enough to absorb float noise would also swallow a real change in the low digit, which is what this counter exists to notice.
  • Non-finite readings are ignored rather than counted for ever. NaN != NaN is true, so an unguarded comparison would step on every pass for as long as the input stayed poisoned.

If you use Follow to count a flag toggling, you still get exactly that — a flag is a value like any other, and 0 → 1 is a change either way. What changes is that the numeric case works at all.

Compatibility

No wire change. The protocol version and the config store version (v17) are untouched, so a configuration written by any 1.1.x release loads unchanged and the .ct3 format is unaffected. Device image: 65,376 bytes, 53.2% of its slot, crc32 0x54F321ED.

Updating the firmware is Online → Update Firmware; the installer carries the image.


Install: download CANTripleDeviceManager-1.1.9-Setup_Windows_x64.exe below and run it. Windows x64; the installer carries the Qt runtime, device firmware 1.0.2 and the ST-Link drivers.