Instrument Control (GPIB, Serial, VISA, IVI)

annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Gw INSTEK AFG-2125 API: is it possible change frequency without activate sweep?

Risolto!
Vai alla soluzione

I've installed the driver and downloaded the library for my Gw Instek AFG-2125 and now I want change the frequency of a sine wave from my VI panel but the only solution I found is to activate the sweep parameter and modify the start and stop frequency at the same value. Can anyone tell me if I'm doing right?

Another question is how can I change the input impedance from 50 Ohm to High-Z?

Thanks.

 

0 Kudos
Messaggio 1 di 5
3.844Visualizzazioni
Soluzione
Accettato da autore argomento AndrewVK

First, if you are driving the AFG output through standard BNC cable, then you should continue with the 50-ohm impedance.  To change the frequency to 10KHz on channel 1 using SCPI, enter:

SOUR1:FREQ 1E+4\n

I did not find anything in the current manual for setting the output impedance.  I am sure a SCPI command must be available. Possibly 

 

SOUR1:IMP MAX\n
Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
Messaggio 2 di 5
3.820Visualizzazioni

Thank you for response. But now I have another question: how use SCPI? How can I send the string code through Labview? 

 

0 Kudos
Messaggio 3 di 5
3.814Visualizzazioni

Try using this simple VISA interface.  Select the Instrument in the VISA resource name then enter the SCPI commands/queries in the write buffer.  Most SCPI commands/queries expect the newline character '\n' to indicate an end of command.

LV2012 VISAwrc.png

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Messaggio 4 di 5
3.808Visualizzazioni

Ah, ok! Simply with VISA. When in lab, I'll try it. Thank you.

0 Kudos
Messaggio 5 di 5
3.805Visualizzazioni