Text this: Software implementation of a pseudo-linear correction device with separate channels for amplitude and phase in industrial control