Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA error number 811 with serial interface

Hi everybody,
 
This is my first post here so I hope I am doing thing well.
I'm having problems when executing VISA software when communicating with a laptop. The message I get is the following:
 

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?

 

0 Kudos
Message 1 of 6
(5,781 Views)
Hello and welcome to the forums.
 
I assume your communication with the laptop is through a VI, or through MAX.
 
If you could post your VI as an attachment or give us some information regarding the source code you were trying to send then we could help you much better than we can now.
 
Regards
0 Kudos
Message 2 of 6
(5,765 Views)

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

0 Kudos
Message 3 of 6
(5,751 Views)

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

 

 

0 Kudos
Message 4 of 6
(5,743 Views)

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!

 

 

0 Kudos
Message 5 of 6
(5,730 Views)

Hi,

did reinstalling the drivers solve the problem?

Thanks,

KostasB

NI Applications Engineering

0 Kudos
Message 6 of 6
(5,714 Views)