Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Matlab for data acquisition from spectrum analyzers

Status
Not open for further replies.

kelvchan

Member level 3
Member level 3
Joined
Apr 9, 2005
Messages
54
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,715
Can matlab be used for data acquisition from spectrum anlaysers, network analysers with GPIB controllers? Any help on coding the GPIB controllers?
 

Re: Matlab question

You have to install the Data Acquisition Toolbox (for GPIB or DAQ control) and the Intrument Control Toolbox (for specific instrument control)...

check out the documentation of these toolboxes on mathworks.com

mog.
 

Re: Matlab question

GBIP is verry easy to use with matlab! It works without any problems :)
I have used it with a spectrum analyzer.

best: ricy
 

Matlab question

You need that toolbox, but then it's easy.
For example, this sends/receives a few simple messages with one of my instruments.
Code:
g = gpib('ni',0,10);   % HP 33120A Function/Arb Generator
g.timeout = 1;
fopen(g);
fprintf(g,'*CLS');
fprintf(g,'*IDN?');
fscanf(g)
fprintf(g,'FUNC:SHAP SIN');
fprintf(g,'FREQ 3.57954525 MHz');
fclose(g);
 

Matlab question

HW, u need some interface , such as PCI2GPIB, USB2GPIB or some else. And the COM software is easy for the GPIB use ASCII string to exchange information
 

Re: Matlab question

salam,,,

the help of the matalb itself is very usful in such things

i was tryin to make it but virtually between two PCs but i discovered it is too dificult as there is a variable called manID and i don't know how to enter it
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top