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.

Search found 790 matches

by Carl M
February 26th, 2018, 3:09 pm
Forum: Programming Support
Topic: Fastframe remote acquistion with DPO 5XXX scope
Replies: 2
Views: 9029

Re: Fastframe remote acquistion with DPO 5XXX scope

The example you reference demonstrates how to programmatically read sample values (curve?) of a FastFrame acquisition. It does little else. Generally speaking, I recommend developing your test procedure from the front panel, then cross referencing the programmer manual to automate it. While the fron...
by Carl M
September 7th, 2017, 1:02 pm
Forum: Remote Instrument Communication (Programming) Examples
Topic: need help to get hardcopy using tekvisanet
Replies: 3
Views: 14688

Re: need help to get hardcopy using tekvisanet

my guess is the data from the oscilloscope fine and the code is changing it (e.g. string to bytes, should just be bytes) but i'm not familiar enough with the tekvisanet library to know how to correct it. We have a hardcopy C# example using the NI-VISA .net control: https://forum.tek.com/viewtopic.ph...
by Carl M
September 6th, 2017, 5:23 pm
Forum: Programming Support
Topic: Get SRQ with a signal trigger
Replies: 2
Views: 11617

Re: Get SRQ with a signal trigger

please note that the operation complete bit is only set with single shot acquisitions. SRQ will not occur if the operation complete bit does not get set.
by Carl M
July 31st, 2017, 12:48 pm
Forum: Remote Instrument Communication (Programming) Examples
Topic: modifying Python: TBS Simple Plot
Replies: 1
Views: 9530

Re: modifying Python: TBS Simple Plot

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 th...
by Carl M
May 31st, 2017, 11:18 am
Forum: Remote Instrument Communication (Programming) Examples
Topic: Python: TBS Simple Plot
Replies: 1
Views: 12482

Re: Python: TBS Simple Plot

i've made a small update. immediately after creating the instrument object (which implicitly connects) the default parameters work but aren't technically correct. scope.encoding = 'latin_1' # default 'ascii' scope.read_termination = '\n' # default None scope.write_termination = None # default '\r\n'...
by Carl M
May 31st, 2017, 11:17 am
Forum: Remote Instrument Communication (Programming) Examples
Topic: Python: MDO Simple Plot
Replies: 2
Views: 14466

Re: Python: MDO Simple Plot

i've made a small update. immediately after creating the instrument object (which implicitly connects) the default parameters work but aren't technically correct. scope.encoding = 'latin_1' # default 'ascii' scope.read_termination = '\n' # default None scope.write_termination = None # default '\r\n'...
by Carl M
April 14th, 2017, 4:54 pm
Forum: Remote Instrument Communication (Programming) Examples
Topic: copy and playback applicaiton with python and TDS2014B and AFG3102
Replies: 1
Views: 10781

Re: copy and playback applicaiton with python and TDS2014B and AFG3102

what you are trying to do is actually rather advanced and there are multiple ways to do it but it'll boil down to your specific requirements and personal preference. i'm no master either so i'm constantly referencing the python library reference: https://docs.python.org/3/library/index.html. i've mo...
by Carl M
March 20th, 2017, 11:26 am
Forum: Other or Discontinued Oscilloscopes
Topic: Error in code:SigType1_Sine_1K_90deg_ino
Replies: 3
Views: 15639

Re: Error in code:SigType1_Sine_1K_90deg_ino

@daplets - the code you posted is in error. the code included with the download is correct. i suggest you download a new copy: http://www.tek.com/lab-course/learn-digital-oscilloscope-operations-using-arduino-board-dut-signal-generator @israelsteel - this happens when you use Arduino IDE v1.6.12 or ...
by Carl M
January 27th, 2017, 4:54 pm
Forum: Remote Instrument Communication (Programming) Examples
Topic: python 3 afg3k afg2k send wfm
Replies: 0
Views: 8384

python 3 afg3k afg2k send wfm

a port of the MATLAB example AFG3000 MATLAB ICT Send Waveform 1: https://forum.tek.com/viewtopic.php?f=569&t=133567#p282128 should work in python 2 as well # afg3k_send_wfm_1.py # # date: 01-27-2017 # # demonstrate 'data:define' and 'data' remote programmatic commands for the # AFG3000 series and AF...
by Carl M
January 25th, 2017, 4:57 pm
Forum: Older and Obsolete Signal Sources
Topic: AFG3000 MATLAB ICT Send Waveform 1
Replies: 3
Views: 32995

Re: AFG3000 MATLAB ICT Send Waveform 1

rewrite to show normalization to dac values as discussed in topic: https://forum.tek.com/viewtopic.php?f=529&t=139184#p282112 %% AFG3000 MATLAB ICT Send Waveform 1 %{ date: 01-25-2017 demonstrate 'data:define' and 'data' remote programmatic commands for the AFG3000 series and AFG2000 series. The dat...
by Carl M
January 24th, 2017, 5:53 pm
Forum: AFG1000/2000/3000 series
Topic: AFG3151C transfer Pseudo Random Binary Sequence(PRBS) waveform(Square wave) using Matlab
Replies: 3
Views: 16952

Re: AFG3151C transfer Pseudo Random Binary Sequence(PRBS) waveform(Square wave) using Matlab

The data following the binary block header is unsigned 16-bit integer values, most significant byte first (big-endian). Bits 15 and 16 are ignored as the AFG has 14-bits of dynamic range. The key concept is the digital values are unit-less. Value 0 is the minimum output and value 16382 is the maximu...
by Carl M
June 28th, 2016, 6:08 pm
Forum: Remote Instrument Communication (Programming) Examples
Topic: Python: TBS Simple Plot
Replies: 1
Views: 12482

Python: TBS Simple Plot

Slight modification of the Python: MDO Simple Plot to accommodate TDS2k, TPS2k and TBS1k series oscilloscopes. This code example provides meaningful output (i.e. a scaled waveform plot) as simply as possible without bad practices. It is useful for testing the installation and configuration of a Pyth...
by Carl M
June 28th, 2016, 6:03 pm
Forum: Remote Instrument Communication (Programming) Examples
Topic: Python: MDO Simple Plot
Replies: 2
Views: 14466

Python: MDO Simple Plot

This example supersedes the Python Example: Get and Plot Waveform DPO4000 . This code example provides meaningful output (i.e. a scaled waveform plot) as simply as possible without bad practices. It is useful for testing the installation and configuration of a Python environment for development of r...
by Carl M
June 15th, 2016, 11:43 am
Forum: Remote Instrument Communication (Programming) Examples
Topic: Python 3: Save Hardcopy to PC, PyVISA - MSO/DPO 5K 7K 70K Series Scopes
Replies: 1
Views: 12462

Re: Save Hardcopy to PC, PyVisa - MSO/DPO 5K 7K 70K Series Scopes

my personal preference is to setup the instrument with a mapped network share and save directly to that.
by Carl M
October 13th, 2015, 10:18 am
Forum: Older and Obsolete Signal Sources
Topic: SCPI tests without instrument
Replies: 1
Views: 11400

Re: SCPI tests without instrument

The program simulates running, switching outputs on/off etc. a dangerous assumption. it does not. there is no code to provide simulated feedback without the output board. support for offline remote programmatic interface is possible but not supported by default. IIRC the awg software installer dete...
by Carl M
August 17th, 2015, 3:28 pm
Forum: Remote Instrument Communication (Programming) Examples
Topic: Remote Instrument Communication Examples
Replies: 4
Views: 73635

Remote Instrument Communication Examples: LabVIEW

LabVIEW LabVIEW Save Hard Copy to PC - MSO/DPO/MDO 2K 3K 4K & MSO/DPO 5K 7K 70K Series Scopes 8/17/2015 LabVIEW Curve Stream Example - MSO/DPO 5K 7K 70K Series Scopes 12/31/2015 LabVIEW Tek DMM4020 Max Read Speed 3/29/2016 LabVIEW Tek PSM Find Sensors & Measure 6/3/2016 LabVIEW Save Hard Copy to PC...
by Carl M
August 13th, 2015, 8:17 pm
Forum: AFG1000/2000/3000 series
Topic: ARB Express will not write to AFG1022
Replies: 8
Views: 39869

Re: ARB Express will not write to AFG1022

ArbExpress is free (no-cost) software. It is covered under our Software Download Agreement: http://www.tek.com/software/software-download-agreement ArbExpress is only intended to introduce the concept of arbitrary waveforms. typically, customers use MATLAB or Python for advanced waveform synthesis. ...
by Carl M
August 13th, 2015, 7:50 pm
Forum: AFG1000/2000/3000 series
Topic: Creating a simple VB.NET program for AFG3021
Replies: 1
Views: 12558

Re: Creating a simple VB.NET program for AFG3021

did you add the reference to the TekVISA ActiveX control (COM)? This cannot be done in code but in the project setup. I forget the exact menus. Cross reference visual studio help. i don't have visual studio installed at the moment. i'm also not sure how much the interface has changed. alternatively,...
by Carl M
June 22nd, 2015, 12:42 pm
Forum: Older and Obsolete Signal Sources
Topic: ArbExpress signal generation
Replies: 1
Views: 11306

Re: ArbExpress signal generation

There are many ways to go about this task. Perhaps ArbExpress isn't the best tool. I don't know. You'll have to be more specific with your application AND preferences.

Go to advanced search