02-19-2009 08:31 AM - edited 02-19-2009 08:33 AM
I am getting a "framing error code" with my first VISA read.
My data flow is as follows:
Formulate string to write
VISA write that string
Wait 100 ms
Querey Instr for bytes at port
VISA read that many bytes
On my first read, I get 16 bytes, which is what I expect. However I also recieve a framing error and all following Instr quereys result in 0 bytes at port. I can stop the program and restart without reconfiguring the port. Again the first read is good and all following reads are 0.
I had this working with a MOXA usb to serial converter. I have chnaged to a NI USB-485 converter and now I get this error.
What gives?I have confirmed that the instrument and drivers match with respect to port settings.
02-19-2009 09:09 AM
02-19-2009 09:18 AM
02-20-2009 10:44 AM
02-20-2009 11:44 AM
485