Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GPIB opening error

111 views
Skip to first unread message

maleni

unread,
Apr 18, 2013, 10:08:12 AM4/18/13
to
Hi there,

I have a problem with a GPIB object opening in Matlab. I’m using two instruments, TTi Arbitrary Waveform Generator and LeCroy Waverunner scope, for repetitive measurements (I give a pulse with the TTi and acquire the waveform from the scope).
Everything works fine but after many successful maeasurements, e.g. 80000 repetitions (that last more than 9h) I get the error:

Error using icinterface/fopen (line 83)
Unsuccessful open: GPIB: NI: The specified board is not installed or configured properly.

Error in get_wave_from_scope (line 17)
fopen(g)

where get_wave_from_scope is a function for data transfer from the scope to computer.
When this happens I can’t control the two instruments anymore and to do so I have to restart Matlab. The statements instrreset or clear all aren’t of any help.
I implemented a control loop including the try/catch statement too, putting fopen in try, but once the above-mentioned error occurs the loop repeats to infinity.

Is there a command similar to instrreset that can clear all GPIB connections after the error occurs and put Matlab in a state as if it was restarted? What actually happens with GPIB connections when Matlab is restared?

I use
Windows 7 Professional, OS 64 bit;
Matlab R2011b

Vinod Cherian

unread,
May 3, 2013, 2:32:09 PM5/3/13
to
Have you contacted technical support ?

http://www.mathworks.com/support/contact_us/index.html


"maleni" wrote in message <kkouoc$ab$1...@newscl01ah.mathworks.com>...

Huiliang

unread,
Oct 1, 2013, 4:04:07 AM10/1/13
to
"maleni" wrote in message <kkouoc$ab$1...@newscl01ah.mathworks.com>...

JR

unread,
Dec 15, 2015, 1:37:32 PM12/15/15
to
How did you solve that issue - or anybody else?
I am facing the same problem and do not see or find a solution.

Thank you in advance.
0 new messages