Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Solved!
Go to solution

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
Message 1 of 5
(3,731 Views)
Solution
Accepted by 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
Message 2 of 5
(3,707 Views)

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

 

0 Kudos
Message 3 of 5
(3,701 Views)

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
Message 4 of 5
(3,695 Views)

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

0 Kudos
Message 5 of 5
(3,692 Views)