From: test Hirzer on
Hi!

I want to remote my TDS3034B with matlab

tds = visa('ni', 'TCPIP::172.28.108.54::INSTR')
i get this error:
??? Error using ==> visa.visa at 244
Unable to create VISA object. The
required drivers may not be installed
properly.
Type 'instrhelp visa' for more
information.

when i use
tds = visa('tek', 'TCPIP::172.28.108.54::INSTR')
i get this error:
??? Error using ==> visa.visa at 242
Invalid RSRCNAME specified. Type
'instrhelp visa' for more information.

I think I have to install the dirver "tektronix_tds3054B.mdd".
But can I do this?

lG Juergen
From: test Hirzer on
problem solved: I gave the instrument a name ('TDS3034B')

tds = visa('tek', 'TCPIP0::TDS3034B::inst0::INSTR');
fopen(tds)
fprintf(tds,'*RST')
fclose(tds)

it's working ...

"test Hirzer" <juergen.hirzer(a)infineon.com> wrote in message <hvcl9f$jj0$1(a)fred.mathworks.com>...
> Hi!
>
> I want to remote my TDS3034B with matlab
>
> tds = visa('ni', 'TCPIP::172.28.108.54::INSTR')
> i get this error:
> ??? Error using ==> visa.visa at 244
> Unable to create VISA object. The
> required drivers may not be installed
> properly.
> Type 'instrhelp visa' for more
> information.
>
> when i use
> tds = visa('tek', 'TCPIP::172.28.108.54::INSTR')
> i get this error:
> ??? Error using ==> visa.visa at 242
> Invalid RSRCNAME specified. Type
> 'instrhelp visa' for more information.
>
> I think I have to install the dirver "tektronix_tds3054B.mdd".
> But can I do this?
>
> lG Juergen
From: Ankit Desai on
"test Hirzer" <juergen.hirzer(a)infineon.com> wrote in message <hvd5mc$2uh$1(a)fred.mathworks.com>...
> problem solved: I gave the instrument a name ('TDS3034B')
>
> tds = visa('tek', 'TCPIP0::TDS3034B::inst0::INSTR');
> fopen(tds)
> fprintf(tds,'*RST')
> fclose(tds)
>
> it's working ...
>
> "test Hirzer" <juergen.hirzer(a)infineon.com> wrote in message <hvcl9f$jj0$1(a)fred.mathworks.com>...
> > Hi!
> >
> > I want to remote my TDS3034B with matlab
> >
> > tds = visa('ni', 'TCPIP::172.28.108.54::INSTR')
> > i get this error:
> > ??? Error using ==> visa.visa at 244
> > Unable to create VISA object. The
> > required drivers may not be installed
> > properly.
> > Type 'instrhelp visa' for more
> > information.
> >
> > when i use
> > tds = visa('tek', 'TCPIP::172.28.108.54::INSTR')
> > i get this error:
> > ??? Error using ==> visa.visa at 242
> > Invalid RSRCNAME specified. Type
> > 'instrhelp visa' for more information.
> >
> > I think I have to install the dirver "tektronix_tds3054B.mdd".
> > But can I do this?
> >
> > lG Juergen

Hi,

There are multiple ways in which you can talk to your instrument.

1. Using the ASCII based SCPI commands. While using SCPI commands you refer to the instrument manual to find out the text like commands and control the instrument. For such communication, you do not need a driver you listed. All you need is either a TCPIP server on your instrument (to use tcpip object) or a VISA library installed (from either NI, Agilent or Tektronix) to use VISA object.

2. Using high level commands as defined by the drivers (like the one you listed). Driver commands are nothing but multiple SCPI commands bundled to perform a commonly performed task (like reading a waveform). You can see and edit all the MATLAB drivers by opening the driver using MIDEDIT (MATLAB Instrument Driver Editor).

Hope this helps,

-Ankit
 | 
Pages: 1
Prev: How safe are P-code files?
Next: repair script