I’m attempting to communicate with a Cox 4020 flow computer over serial.
It’s a fairly popular flow computer, so I’d figure I’d ask around to see if anyone knew of a driver. My google-fu let me down in my search.
If not, how do you configure the serial port? The thing is expecting 10 bit characters.
See page 32 of http://www.badgermeter.com/Badger-Files/PDFs/Industrial-Products/40104020FlowComps.pdf
The VISA Configure Serial Port Vi does not give options beyond 8 bits.
The only thing I could think to do is to convert each character to a Boolean array, append all the arrays representing multiple characters to each other, then convert it back to a string.
The only part that worries me, is what to do if the number of appended bits MOD 10 isn’t zero.. I don’t know if the meter will barf or not with extra bits..
Before I go to far down the rabbit hole, figured I’d ask if anyone has been down it first, or had any insight.
Thanks!