hi tzviel
thanks again tzviel.
today, i had my real work. i send you.
******************************************************************************
The main task at this moment is to create a matlab program that:
1) Starts the communication with the FSP Spectrum Analyzer
2) Allows obtain the value of the field value given by the FSP (for a single
specified frequency) when sending a trigger impulse to the FSP.
3) Allows obtain the values given by the FSP (for a single specified
frequency) when sending a periodic trigger impulses to the FSP.
3) Allows continuing recording to a ascii file of the field given by the FSP
over some period of time (for a single specified frequency)
******************************************************************************
indeed, i'm not a programmer. i say you what i will do tomorrow in order to do what it is asked.
so
first, i linked the pc and the sepctrum analyser
after i write a program:
=> g=gpib('ni',0,1);
g.inputbuffersize=50000;
g.timeout=120;
fopen(g); -> start the comunication
TRIG1:SYNC:AD -> select the trigger source
TRIG1:SOUR EXT -> the next measurement is triggered by the signal at the external trigger input
while.... -> for the periodic trigger impulses
do TRIG1:HOLD 500ms
end while
fclose(g);
delete(g);
clear g
can you say me if my program coul be right or wrong. and what will you do?
thanks a lot tzviel
and, i don't knof if it's possible to change email here, because, i would like to work at least two times a day. so if it's possible say me.
i wait an answer from you
bye