Hi
I've written an application (using Labview 7.1) which is communicating via
serial (laptop serial port) to an instrument. The instrument has 1200baud,
81N, no flow control. The serial problem happens when I request data from
the instrument, which is done by sending a short string to it. Using the
basic serial read write VI and setting the delay between reading and
writing to something big enough to allow for the slow speed of the port
(the return is 12 bytes so anything over 300ms should be plenty) and then
making the VI execute repeatedly gives unexpected results. Occasionally a
double entry appears in the read string.
Obviously this is a very brief description of a complicated problem but
thought it worth asking here in case there are any obvious "gotchas" that
I've overlooked. For instance, does Win XP do anything unusual that
affects serial behaviour wrt labview and VISA and that I need to disable?
There doesn't seem to be a VI or VISA module to clear the serial if it
gets into knots?
Many thanks in advance
Regards
Bill