The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: GPIB opening error
Replies: 3   Last Post: Dec 11, 2015 11:12 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1
Registered: 4/18/13
GPIB opening error
Posted: Apr 18, 2013 10:08 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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)

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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.