Thanks. Now waiting on delivery of a 7i52 to test those serial ports, no luck via 7i42ta.
However, I've had trouble from the start with the 7i48 card - the 7i80HD-16 wouldn't read its encoders at all, and the 7i80HD-25 had some trouble, using encoder.00 to .03.
Last night we tried using the 7i48's encoder.04 channel with one axis at a time, and found that all 3 worked perfectly. Then we tried adding all 3 axes, at which point no aspect of the 7i48 works at all: the +15V, -15V and 3.3V lights come on, but there is no +/-10V from any AOUT port, and no encoders are read through any channel.
If a cascading fault is possible (caused perhaps by the one attempt with a 24v encoder) then I seem to have bricked my board, though I don't know if that's consistent with channel .04 having worked perfectly for half an hour of testing last night.
Please would you remake the above firmware for the 7i80HD-16? I would like to try to rule out the fpga board as the thing that's broken here, before we order another 7i48. I'd note that the reason I tried the 24v encoder was that the 7i48 wasn't reading encoder info at all to start with, though when I switched to the HD-25 it appeared to partially work, making me thing that the HD-16 firmware may have had an error.
If you have any other suggestions I'd be grateful to hear them.