Driver programming
Driver programming
Device drivers are written in C++ and compiled into SpecMan4EPR itself, so the set of supported instruments is fixed by the release you are running – see List of supported devices. To have a driver for a new instrument written, or an existing one extended, contact FeMi Instruments at femi.specman4epr.com.
Connecting new hardware without specialized driver
In many cases no new driver is needed. Two generic drivers speak to an instrument over a TCP/IP link: you run a small server next to the hardware, and SpecMan4EPR talks to it as if it were an ordinary device. Properties, channels and pulse capabilities can be configured, so the instrument appears in the interface like any built-in device.
| Config keyword | Driver | Use it for |
| TCPDEV | TCPIP device | Text command / reply protocol over a socket |
| TCPDEV4 | TCPIP device Gen4 | Gen4 protocol, with block data transfer and pulse programming |
Both are documented with their wire protocol and configuration keys, so the server side can be implemented in any language.

