Running it in "deep debug" reveals that it's sending a random E then a quote mark. I have no idea where this is coming from.
EDIT: It's trying to send GPIB addresses to it in a strange format (the E" thing) which A) it doesn't understand because it'd too old to have automatic addressing (it's a manual setting) B)if I disable it the program breaks
Can anyone look at the program and find a way to disable it sending garbage address characters? (all the way at the bottom) I need it to just send raw commands with the end of command characters.