05-09-2012 01:43 AM - edited 05-09-2012 01:44 AM
Below attached VI writes a numerical value from one port and reads at another port.But it shows exception of
'VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.'Is it the problem due to conversion from numerical value to string??or anyother.Please post possible suggestion.
Solved! Go to Solution.
05-09-2012 01:52 AM
It is because you are not getting any data within the timeout period. How you are connecting the two ports? Check the cabling is correct then try running the code.
05-09-2012 01:55 AM
I checked the cabling with a string.It is working properly.Now trying to give continuous numerical values as input,that is why using a random number generator.
05-09-2012 01:58 AM
one more thing, the values displaying in the indicator after the timeout comment is varying.
05-09-2012 02:00 AM
What is the error message you are getting?
05-09-2012 02:04 AM
Error -1073807339 occurred at VISA Read in read from port.vi
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
05-09-2012 02:05 AM
why don't you stick with your original thread(s)? I already told you not to create new threads over and over again...
What has changed since the other thread has closed?
Why do you open and close COM ports in each iteration?
Why don't you obey dataflow paradigm? You programmed a big race condition!
05-09-2012 02:10 AM
It's a different VI that is why I started a new thread.
dataflow paradigm?can you explain in detail?
05-09-2012 02:12 AM
"dataflow paradigm?can you explain in detail?"
Well, it's the base of LabVIEW. You should go through the basics course...
05-09-2012 02:16 AM
I mean where I disobayed the dataflow paradigm??I tried to read numerical values instead of string.I changed all datatypes to U32,then also no change in the output.