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.
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.
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.
one more thing, the values displaying in the indicator after the timeout comment is varying.
What is the error message you are getting?
Error -1073807339 occurred at VISA Read in read from port.vi
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
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!
It's a different VI that is why I started a new thread.
dataflow paradigm?can you explain in detail?
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.