I have the following test environment:
Windows XP with LV 7.1.1 connected to Linux SUSE 8.0 with LV 7.1 over a serial null modem cable. Both systems use the built in serial port. VISA is always 3.1 shipped with LV 7.1.
Opening on both systems with ASRL1::INSTR sucesseds and the programs communicate with each other. When I stop the program on the Windows XP side calling VISA Close and then start it again the Linux side will generate an error. Using a serial protocol analyzer I can see the data going from Windows XP to Linux. This also occurs if I first try to send from Linux to Windows. I have to call VISA Close on the Linux side and open the port again than the communication will continue.
Replacing the Linux PC with another Windows PC does not have this problem.
You can use "Advanced Serial Write and Read.vi" from the shipped examples to do the test.
What does VISA Close do with the serial connection that Linux generates an error (0xBFFF003E)? Why does this not happen with Windows?
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions