01-26-2010 04:44 PM
I am polling a serial instrument once per second that communicates at 115200bps. It runs fine for 2-3 days and then I get an error in Visa Read -1073807252. Can anyone identify the cause of this error?? Thanks in advance for the help.
01-26-2010 08:04 PM
01-27-2010 12:15 PM
smercurio--
I have attached a jpeg of the read section of my vi where the error is occurring. As you can see I poll the instrument with the "RALL" command. Then I wait 50ms for the response. Then the VISA Read reads the number of bytes that are present in the buffer and the program moves on. If there is less than 62 bytes then I go back to the Read case and query the instrument again. The baud rate for this device is 115200bps so it should only take about 5ms for the reponse to come in and I'm allowing 50ms. So I don't understand how that error would apply. What am I missing?? Thanks for the help.
01-27-2010 12:50 PM
01-27-2010 03:18 PM
Thanks a lot. I will check these out and let you know what happens.
ssmith
01-27-2010 04:15 PM
Just a minor point:
steve