controling instruments through gpib
- From: mathieu <mathieu.gani@<REMOVE>hcuge.ch>
- Date: Thu, 31 Aug 2006 09:24:53 -0400
Hi everybody
i'm trying to use a USB/GPIB converter (Agilent 82357A) to control an
oscilloscope (HP/Agilent 54645D) from MatLab (Win2K SP4, MatLab7
R14SP2). I do not have the instrument Control Toolbox, so I tried the
gpib.dll that I downloaded from the MathWorks' file exchange site (http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=216&objectType=file).
Now some functions work ok (like gpib('find','gpib0'); )
but the recommended version ('dev') returns a 'No GPIB Board'
(iberr=7). If I try using the ud returned by 'find', subsequent 'clr'
command returns an unknown error code (iberr=23), 'wrt' and 'rd'
return 'Address error' (iberr=3), but 'pad', 'sad', and 'onl'
commands seem to work.
I'm not sure if this makes sense (and I'm not sure if this is the
correct place to ask), but if anyone has experience using this dll
and has encountered/solved this kind of problem I'd be very glad to
get some help.
thanks
mathieu
.
- Prev by Date: Re: Invert Matrix
- Next by Date: Re: global optimization
- Previous by thread: Matlab Java and https
- Next by thread: Using the inputdlg
- Index(es):
Relevant Pages
|