10-30-2007 05:47 AM
I/O error or timeout occurred with serial interface at 2
Error number: 811
In transaction number 1
Object title: bs ( @ 2)
Object Type: Direct I/O
In user function: Single_Tone
What surprises me is that it was working and I am almost sure that it failed suddenly without making any changes to the source code. Could this be due to a change in the code or are there any other possibilities?
10-30-2007 10:25 AM
10-31-2007 03:13 AM
Hi, thanks you for your response.
I'm afraid I can't send you the source code. But at this point I'm sure that the problem is not there, because the same code fails as well with units that were working proparly. I guess it could be a corrupted file in the laptop that might be necessary for the communication.
I have tried executing the code manually from the laptop and I have this messages:
-rmod: rm_drv: device or resource busy
-Error. Cannot unload rm_drv module
-rmod: halMeDrv_ixp23xx: device or resource busy
-Error. Cannot unload halMeDrv_ixp23xx module
-rmod: liboss1: device or resource busy#
-Error. Cannot unload liboss1 module
-liboss1 module already loaded
10-31-2007 06:44 AM
Hi,
can you try to unistall the VISA drivers and install them again?
http://joule.ni.com/nidu/cds/fn/p/sn/n23:3.1637/lang/en
Thanks,
KostasB
Applications Engineer NI
10-31-2007 09:04 AM
Thanks Kostas and Steve,
I will try uninstalling the drivers. Anyway I would like to clarify that what I'm doing is executing the VI program from the XP terminal who sends the commands to the linux laptop via the serial port.
It's the laptop who sends the commands to the unit under test via an ethernet connection and who presents the "rmod" errors when executing manually
The XP terminal is the one that presents the serial interface error when executing the hole VI program.
I wanted to clarify the situation just in case you have more ideas.
Thank you very much!
11-01-2007 10:49 AM
Hi,
did reinstalling the drivers solve the problem?
Thanks,
KostasB
NI Applications Engineering