For a complex binary protocol I needed an index counter that increments after each message to the device. Implemented as a calcRecord with a matching command in the protocol that steps it.
incr {
exec "dbpf "$R_Index".PROC 1";
}
The command is being called from the protocols as:
For a complex binary protocol I needed an index counter that increments after each message to the device. Implemented as a calcRecord with a matching command in the protocol that steps it.
The command is being called from the protocols as:
Global handlers exist:
While debugging, I found the global handler not being called at a format mismatch.
StreamDevice 2.8.10 EPICS Asyn 4.37 EPICS Base 7.0.3.1 RHEL 7.4