03-14-2006 11:50 AM
Error -1073807252 during a VISA read.
03-15-2006 01:23 PM
03-15-2006 05:31 PM
Thanks Matt for the reply and I'll make note of the solutions proposed.
I found the problem and it was not in my labview program but rather it was a fault message in the response from the hardware that labview is interfacing with. The response from the hardware was in a continuous loop therefore the read buffer could not keep up.
Thanks again,
Jeff
01-08-2007 10:45 AM - edited 01-08-2007 10:45 AM
Jefska have you resolve your problem because I've got exactly the same?
I'm currently using labview RT 8.2 on PXI-8196. I receive a status via RS232. I 'm using the byte at port.vi and when there are 156 bytes at port I read it to get them. Sometimes the count return is 12 or 18 or anything...
My application worked fine. Then I 've changed my host computer and installed LV RT 8.2 on it. Since that , I've got an intermittent error -1073807252 VISA (hex 0xBFFF00EC). I've made a lot of tests to solve it but I failed. I don't understand where it could be from!!
VISA read.vi is in asynchronous mode ----- My port settings are : Com1 9600 baud 8 data bits no parity 1 stop bit no flow control.
I've seen in LV RT 8.2, there is a new advanced tab in MAX under 8196 / COM1 where I can select FIFO buffer. I've tried with or without it's the same problem.
As I said before I 've tried to correct the error but I didn't succed in!!!!
So any Idea???
Message Edité par julesjay le 01-08-2007 10:47 AM
01-08-2007 03:53 PM
It’s been quite awhile since this was an issue for me. I assume you tried what Matt suggested. The only thing that comes to mind is to take the return count from the VISA write and multiply that by some factor as an input to a Timeout(Wait function) before the VISA read and increase the multiplier if the read buffer does not get the entire byte count. Also the Basic Serial Write and Read.vi in
ATB,
Jefska
01-09-2007 03:14 AM
I've already tried to increase of write, and wait a time before read but it still doesn't work.
As I use a byte at port vi, I think there is no need to wait because these byte a ready to be read.
01-09-2007 03:15 AM
01-10-2007 07:07 AM
01-11-2007 09:36 AM
01-11-2007 10:58 AM
Brian,
My former computer runs LV 8.0.1. So I've upgrade it on LV 8.2 and the same error occured. I've donwgrade it to 8.0.1 again and there isn't error anymore. Then I've donwgrade NI-SERIAL RT 2.5.6 on PXI chassis and the error occured. I've re-installed NI-SERIAL RT 3.0 and no error.
I think that maybe NI-SERIAL RT is in cause.
On the new computer I've just uninstall NI-SERIAL 3.1 form my 8.2 version and replace it by NI-SERIAL 3.0..... Wait and see....
I'll give you the result tomorrow!!
Thanks.