03-04-2011 05:33 PM
Hello again,
Here i have a screenshot of my program. I've probed the solution of Robert but it give any result.
Can you see my program and say pleace but I'm doing wrong?
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 of reception and transmission, is compound for two header bytes.
Can you help me pleace? I must solve this problem...
Thanks for your time.
03-09-2011 10:33 AM
any idea pleace?
03-09-2011 10:56 AM
Hi,
It looks to me like your are trying to read and write serial data at the same time inside your while loop. In my programs I have used an event structure to separate my serial reads and writes using a periodic trigger. I trigger my reads based on data being available at the serial port by using a property node to get the Bytes at Port. I check for data every 5 Hz.
I send out data for a serial write when I have data and I use a 5 Hz timer to trigger this event as well. If there is no data, I do nothing, otherwise I send out the data.
Can you send me your email address and I can send you some example code to illustrate this? You don't have to trigger these things as I did, but it might work better if you separate your reads and writes.
03-09-2011 11:16 AM
Hi Robert,
Thank you for your reply.
I have the same problem inclusively using only a program to read data in a while loop.
My email address is electrich@gmail.com
Here there is a foto for this program.