05-24-2018 03:03 AM
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.
Solved! Go to Solution.
05-24-2018 12:20 PM
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
05-24-2018 02:06 PM
Thank you for response. But now I have another question: how use SCPI? How can I send the string code through Labview?
05-24-2018 02:19 PM
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.
05-24-2018 02:24 PM
Ah, ok! Simply with VISA. When in lab, I'll try it. Thank you.