03-09-2011 07:39 AM
Hello Adam,
I'm sorry but I haven't been here at the computer two days ago.
I'm able to communicate with the device using VISA test panels in Measurement & Automation Explorer. I receive the menssage "this device is working properly".
The problem isn't with the communication. I can communicate my device without inconvenience with the computer, I can transfer and receive data of my robot.
When I communicate my device and I receive and transfer data but suddenly the communication stop and appears the error:
Error -1073807252 occurred at VISA Read in Interfaz2.vi
Possible reason(s):
VISA: (Hex 0xBFFF006C) An overrun
error occurred during transfer. A character was not read from the
hardware before the next character arrived.
I transfer and receive data continually without TermChar but each string, both reception and transmission, is compound for two header bytes.
Can you help me pleace? I must solve this problem...
Thanks for your time.
Here I added a foto of my program.
03-09-2011 08:08 AM
Inclusively I tested this little program only to read data but it isn't going properly...
03-09-2011 10:05 AM
I have just noticed that in VISA test panels I receive the same error "hex 0xBFFF006C" and "hex 0x3FFF0006"...
Any Idea pleace?
03-10-2011 04:10 PM
Hi,
I found a knowledgebase that talks about the error you are receiving. I would try going through the steps to see if it helps. Also are you able to communicate with your device in hyperterminal with no issues?
Best Regards,
Adam G
03-16-2011 10:26 AM
Hi Adams,
I can't soleve my problem. I have probed installing again VISA and NI-Serial to a old version and I get the same problem.
I ran the MAX and Ï didn't find the "Advanced Settings". On Remote System I have nothing and on My System/Devices and Interfaces/Serial & Parallel, I find only Gereral and Port Settings but not Advanced Settings...
Can you help me pleace yet?
Thanks
03-17-2011 03:18 PM
Any idea pleace?
03-17-2011 04:22 PM
Hey,
Overrun errors usually occur when the data isn't being read from the buffer fast enough and what is being written to the buffer runs out of room. Without the values you are putting into the Front Panel, it is difficult to gauge what you should be looking for. You may try increasing the bytes to be read for each loop.
Jake
03-17-2011 04:36 PM
Yes, I understand what you say. But the problem is that I run the serial communication in MAX and I get the same error hex 0xBFFF006c. I receive data and this is shown by the panel of MAX, but periodically I get the same error when I run the MAX...
I don't just think that this is a problem of my program, because I have proved too the examples of serial communication and the error is still there...
Wath can I do pleace? I must have the communication right soon...
Thanks
03-18-2011 11:08 AM
Hi,
Did you follow the steps listed in this knowledgebase? At the bottom it states how to change the buffer if you are using non NI hardware. You menionted before that you tried to look in Measurement & Automation Explorer for the advance tab and it wasn't there. That tab will only be there is the serial card is made by NI. You will need to go to the Windows device manager to change the settings on your serial port.
Best Regards,
Adam G
03-21-2011 01:59 PM
Hi Adam,
I followed the steps listed in this knowledgebase. I went to the Windows device manager und I changed the settings on my serial port but I get the same error.
Best Regards