Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Detecting Data has left serial buffer

I'm developing a vi using Labview 5.1 to control an RS 485 network where the PC running labview or a built application polls a series or devices which then reply.

I'm using In Port to check when the vi has finished transmitting and this works on the PC using to develop the application but when the application was built and put on the pc to be used for testing then I always read nothing on the port.

The application has been tried out now on 5 machines, 4 running NT 4 and 1 running win 98 and it fails on two of the NT machines.

The only thing that relates the successful tests is that the machines all have full versions of Labview on them as well as the run time engine and the 2 that "failed" have only the r
un time engine.

At the moment the only solution I have is to stop checking this and add in a wait for a few milliseconds after writing to the port but this obviously isn't the best solution.
0 Kudos
Message 1 of 2
(3,163 Views)
You've probably already tried this, but I can say it anyway;
I've had a similar problem once, except with NI-DAQ communication, and it turned out that I had forgotten to include the nessecary drivers with either the run-time version or the application builder(it's been quite some time, so I don't remember which one). Anyway, if you haven't tried this, I suggest you make sure you have all necessary drivers included in the executable (or run-time engine) and see if that helps any.
0 Kudos
Message 2 of 2
(3,163 Views)