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.

modifying Python: TBS Simple Plot

Programming examples for remote communication with instruments
C/C++, C#, Python, Matlab, LabVIEW
Post Reply
Posts: 1
Joined: July 26th, 2017, 2:52 am
Country: India

modifying Python: TBS Simple Plot

Post by kvarun95 » July 26th, 2017, 2:59 am

Is it possible to use this for dual channel? I guess the command

Code: Select all

scope.write('data:source CH1') # channel
would need to be edited appropriately?

Carl M
Tektronix Applications
Tektronix Applications
Posts: 801
Joined: July 30th, 2008, 4:45 pm
Country: United States

Re: modifying Python: TBS Simple Plot

Post by Carl M » July 31st, 2017, 12:48 pm

code examples are intended to demonstrate. if you wish to modify but have questions, please start a new topic and be specific.
Default setup and auto-set are compromises for convenience.
adding a second channel is beyond scope of the example but the example does provide a place to start.

changing the source is only a part of it. you need to setup the acquisition and acquire data before the sample vector will be available.
Tektronix Application Engineer

Post Reply

Return to “Remote Instrument Communication (Programming) Examples”

Who is online

Users browsing this forum: No registered users and 2 guests