Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.
I am currently using Pyvisa and NI-VISA to interface with my AFG3102C (on ethernet) signal generator to automate a measurement setup using the pulse function.
Atm I am using SCPI commands (in lack of better possibilities, could only find SCPI documentation). A simple sample script atm looks like the following:
It does not properly set up my pulse period and the corresponding duty cycle, but it does turn on a 1 MHz 1 V sine wave, which I do not understand.
Is there anyone here with experience in this, who can tell my why this is happening?
Best regards Jacob
Typically the best way to set up programming for the AFG is to first perform the steps manually from the front panel to set it up to your desired function. Then use the programmers manuals to look for the related commands you used for the manual process and include those in your program code.
I naturally did go through the process, but I mistakenly thought, that setting PULse values would automatically set it to pulse.
I am extremely grateful, thank you!
Who is online
Users browsing this forum: No registered users and 4 guests