04-20-2006 08:58 AM - edited 04-20-2006 08:58 AM
Message Edited by Seppfish on 04-20-2006 09:01 AM
04-20-2006 09:08 AM
04-20-2006 09:17 AM - edited 04-20-2006 09:17 AM
Message Edited by shoneill on 04-20-2006 04:18 PM
04-20-2006 10:24 AM
Thanks for fast answer, but that´s not the problme....
The Problem occurs while writing on serial....(sorry I ddin´t wrote)
To flush the write buffer will erase my string, the read buffer is empty (get the error message...), there´s a loop that stop, when a string is written by the counterpart of Communication. (That´s why the timeout is so low)
I also checked the Version of Serial Port (it´s 3.2)
There´s only one Init of the VISA resource (and one close) outside my loop....
There´s a hughe difference between LabView 6.1 and 7.1 (I got a Computer with LabView 6.1)? perhaps that works...
Greetings
cand. Ing. Sebastian Neumeyer
04-20-2006 11:19 AM
04-21-2006 01:50 AM
04-21-2006 08:53 AM
Hey there!
I flush my buffer to write after each writing action, I tried another Computer (P Celeron 600Mhz with LV 6.1 and LV 7.1 Win2K SP4)...
I got a while loop for reading, if there is nothing to read, then it continue....so it's not necessary to flush there anything...
If I set a Breakpoint, then it works....
So it can´t be my machine (2 Systems tested), it can´t be LV 7.1, I tried 6.1 too....
I integrated wait for action from 2000ms up to 20000ms....
Is it possible that LV takes all ressources from Windows so the System isn´t able to control the E/A´s for the Serial Port? (that should not be the Problem, other I/O Operation also work....)
Ideas to solve the Problem are welcome....
Greetings
cand. Ing. Sebastian Neumeyer
04-21-2006 08:56 AM
04-26-2006 02:24 AM
Hello!
Thanks for reply, i tried to wait after sending serial string from 0,2 s up to 20 s , but the string does not arrive at my destination.
Or do you mean with "timing issues" that I shouldm reduce the Baud rate?
Greetings
Sebastian
04-26-2006 02:32 AM