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.
K2400.write("TRACE:POINTS ", str(NumPoints))
K2400.write("TRIG:COUNT ", str(NumPoints))
# long delay here for TRACE to complete on 2400
print(K2400.query("TRACE:POINTS:ACTUAL?").strip(), "data points collected.")
Readings = [float(n) for n in K2400.query("TRACE:DATA?").split(",")]
After INIT, the code waits (timeout is set to long enough) until the TRACE:POINTS:ACTUAL? returns. On the instrument itself, the display continually updates with the voltage as it ramps (charging the capacitor).
How can I programmable 'watch' the charging ? Ultimately I would also like to terminate the 2500-count sweep when the instrument reaches compliance.
Who is online
Users browsing this forum: No registered users and 7 guests