Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Hex 0xBFFF0015 Timeout expired before operation completed.

I'm using 3 instruments at the same time with a multiplexer, completely compatible, all connected to the instrument I/O assistant. The VI works fine but sometime during the operation this error comes up. I've tried to increase the timeout but I didn't get any result. What could be the problem?
0 Kudos
Message 1 of 10
(7,292 Views)
What communication interface are you using? GPIB, serial, TCP/IP? If it's serial you are most likely sometimes missing the termination character. Have you tried to monitor what you're actually getting from the read?
0 Kudos
Message 2 of 10
(7,284 Views)

It's serial. I'm using \r as termination character, it's the only that works from the instrument assistant list. I'm getting the right data for a certain time, but this error just come up. For some reason the instrument stop to communicate with the VI, but before it works properly.

0 Kudos
Message 3 of 10
(7,276 Views)

What is this 'multiplexer'? Is this something that allows you to share a single serial port or something else? Are you sure it really is synced with your assistants? Another reason for getting a timeout is if the instrument is not getting the command at all.

 

Can you post your code so someone can look at it?

0 Kudos
Message 4 of 10
(7,273 Views)
I'm using just one instrument I/O assistant and the multiplexer has 4 channels, and it connects to the computer by serial. I get the data from te multiplexer of channel that the instrument is connected and the displacement of each indicator. So I use a case structure, where the condition is the channel. So if the channel is 3, the displacement goes to a specific indicator in the front panel , the same happens for the channel 1 and 3. It's working as expected before the error.
0 Kudos
Message 5 of 10
(7,251 Views)
could it be that the instrument simply has nothing to say anymore?
greetings from the Netherlands
0 Kudos
Message 6 of 10
(7,239 Views)

No. Sometimes the error occurs in 5 minutes, sometimes in 20 hours, it seems not to be a matter of time. 

I'm attaching an image of a part of the VI 

0 Kudos
Message 7 of 10
(7,238 Views)

Please attach the complete vi including the IOassistant.

I really don't believe that all is ok in that IO assistant.

greetings from the Netherlands
0 Kudos
Message 8 of 10
(7,222 Views)

I really don't know why this problem is happening, I have other VIs using the same instrument and the same configuration in the Instrument I/O assistant. I tried to run the VI in the version 8.5 and I had the same problem, but if I press enter in "continue" when I'm alerted about the problem, the VI is working well after that again. Is there anyway of just ignore the error and keep running?

0 Kudos
Message 9 of 10
(7,188 Views)

Hello,
I am having similar problem
Could you solve it?

0 Kudos
Message 10 of 10
(4,750 Views)