06-11-2019 07:23 AM
Hey,
I have a problem with serial read. When I run the programm, this error iterrupts the execution (see the figure bellow).
How can I solve this problem in order to have a countinuous reading until I stop the execution.
Thank you,
06-11-2019 07:33 AM
Read the Help for the second VISA (Serial) command, VISA Read. It should tell you something about what a Timeout means. Now ask yourself a question, "Why should the VISA Device be expected to be sending me characters? Have I asked for any?". You might also look at some of the Examples (that ship with LabVIEW) concerning VISA Read (read, again, the Help for VISA Read, look for the word "Examples").
Bob Schor
06-28-2019 06:44 AM
I have already read it, I tried so much times to solve the problem, and I still have the same problem. Can someone help me pls?
Thank you,
06-28-2019 06:53 AM
06-28-2019 10:28 AM
What device are you trying to read from? What is the format of the data it is sending? When does the device send the data?
Tim Robinson
06-28-2019 02:55 PM - edited 06-28-2019 03:02 PM
Along with what crossrulz has already stated, is your device set up to send continuous data? Or are you trying to read data and expecting termination character at the end? Right now, its set as the default, which is a line feed, and to wait for 10 seconds. If no termination character exists and you're expecting one, after the ten seconds comes and goes, it will timeout. That sounds like what your experiencing.
The help file states this. Have you read that AT ALL?
07-03-2019 10:01 AM
I use two computers, the first one is where I run my labview programm and I receive data, the second one is the computer where I use "command consol" to write data and send it to my first computer. The problem is I don't receive data in real time, I have this problem of timing out. But, when I stop my programm, I receive data that I wrote on the first computer.
07-03-2019 10:03 AM
I send strings and numbers, I write them on real time. Ya I read the help file but I don't find what I search!
07-03-2019 11:37 AM
07-04-2019 06:20 AM
Ya I receive data after stopping the programm. I don't understand your question!