05-11-2006 01:44 AM
05-11-2006 05:27 AM
05-11-2006 07:07 AM
05-11-2006 07:29 AM - edited 05-11-2006 07:29 AM
Here is the definition of the error code:
"VISA: (Hex 0xBFFF0015) Timeout expired before operation completed."
How did you implement the serial read in Labview? You mentionned that you are using the example. I'm assuming it is the one that came with LV. The first thought would be to simply extend the timeout duration... however...
The code shows that REGisters are set for Tx & Rx. However, I do not see how the data / info is sent to the serial buffer. What value are you wiring to the Serial Read input (bytes available at serial port)? and how do you determine the value? One example with LV7.1 uses the Property Node to read the number of bytes available at the serial port. If you are using something similar, what is the value for the no. of bytes at the port?
There is an advanced example that forces to read a certain amount of data or timeout. It also indicates how many bytes it actually read. If it is not able to read the number of bytes requested, then it will generate a timeout error. See images below:
JLV
Basic Example
Advanced Example:
Message Edited by JoeLabView on 05-11-2006 08:32 AM
05-11-2006 08:32 AM
05-11-2006 09:09 AM
05-14-2008 11:33 PM
05-14-2008 11:42 PM
Why are you posting to such an old thread?
The error you have is common and numerous solutions have posted. Did you search the forums for that error code? A common mistake is not using the correct termination character. Since all you posted was an image and not the actual VI, it's hard to say if you have set the write buffer control correctly as mentioned above but it's definite that no termination character is visible. Another common error is using the wrong type of serial cable.
Did you do any basic troubleshooting like checking communication with a program like Hyperterminal?
05-15-2008 12:03 AM
Hai, Mr Dennis
Thanks for your reply and comment.
actually my comm serial cable is ok through checking with hyper terminal and what you mean by 'not using the correct termination character'. sorry for this question?
tq
zainudin
06-09-2008 03:37 AM - edited 06-09-2008 03:38 AM