Skip to content

Commit c49a7e3

Browse files
committed
Amend and republish S-Parameter example
1 parent 3361689 commit c49a7e3

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

examples/PicoVNA_S_Parameter_Example.m

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
% the log magnitude data for S11, S12, S21 and S22 parameters.
66
%
77
% To run this example session, type the name of the file,
8-
% |PicoVNA_S-Parameter_Example|, in the MATLAB Command Window.
8+
% |PicoVNA_S_Parameter_Example|, in the MATLAB Command Window.
99
%
10-
% The file, |PicoVNA_S-Parameter_Example.m| must be on your MATLAB Path. For
11-
% additional information on setting your MATLAB path, see <matlab:doc('addpath') addpath>
10+
% The file, |PicoVNA_S_Parameter_Example.m| must be on your MATLAB Path. For
11+
% additional information on setting your MATLAB path, see
12+
% <matlab:doc('addpath') addpath>.
1213
%
1314
% Additionally you must have the |.cal| file for your device in the current
1415
% folder.

help/html/PicoVNA_S_Parameter_Example.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!--
77
This HTML was auto-generated from MATLAB code.
88
To make changes, update the MATLAB code and republish this document.
9-
--><title>PicoVNA S-Parameter Example</title><meta name="generator" content="MATLAB 8.6"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2018-02-12"><meta name="DC.source" content="PicoVNA_S-Parameter_Example.m"><style type="text/css">
9+
--><title>PicoVNA S-Parameter Example</title><meta name="generator" content="MATLAB 8.6"><link rel="schema.DC" href="http://purl.org/dc/elements/1.1/"><meta name="DC.date" content="2018-02-13"><meta name="DC.source" content="PicoVNA_S_Parameter_Example.m"><style type="text/css">
1010
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}:focus{outine:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
1111

1212
html { min-height:100%; margin-bottom:1px; }
@@ -66,7 +66,7 @@
6666

6767

6868

69-
</style></head><body><div class="content"><h1>PicoVNA S-Parameter Example</h1><!--introduction--><p>This is an example of setting up the connection with the Pico Technology PicoVNA Vector Newtwork Analyzer, loading calibration data, making measurements and collecting the log magnitude data for S11, S12, S21 and S22 parameters.</p><p>To run this example session, type the name of the file, <tt>PicoVNA_S-Parameter_Example</tt>, in the MATLAB Command Window.</p><p>The file, <tt>PicoVNA_S-Parameter_Example.m</tt> must be on your MATLAB Path. For additional information on setting your MATLAB path, see <a href="matlab:doc('addpath')">addpath</a></p><p>Additionally you must have the <tt>.cal</tt> file for your device in the current folder.</p><p><b>Example:</b> PicoVNA_S-Parameter_Example;</p><p><b>Description:</b> Demonstrates how to connect to the VNA, load in a calibration, make measurements and collect data for S11, S12, S21 and S22 parameters. The S-parameters are plotted onto auto-scaled plots. The measurement and data collection is looped until the user stops the process.</p><p><b>Copyright:</b> &copy; 2017-2018 Pico Technology Ltd. See LICENSE file for terms.</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Clear workspace, command window and close figures</a></li><li><a href="#2">Connect to VNA</a></li><li><a href="#3">Load Calibration</a></li><li><a href="#4">Stop button for exiting loop</a></li><li><a href="#5">Capture and plot data</a></li><li><a href="#6">Disconnect VNA</a></li></ul></div><h2>Clear workspace, command window and close figures<a name="1"></a></h2><pre class="codeinput">clear;
69+
</style></head><body><div class="content"><h1>PicoVNA S-Parameter Example</h1><!--introduction--><p>This is an example of setting up the connection with the Pico Technology PicoVNA Vector Newtwork Analyzer, loading calibration data, making measurements and collecting the log magnitude data for S11, S12, S21 and S22 parameters.</p><p>To run this example session, type the name of the file, <tt>PicoVNA_S_Parameter_Example</tt>, in the MATLAB Command Window.</p><p>The file, <tt>PicoVNA_S_Parameter_Example.m</tt> must be on your MATLAB Path. For additional information on setting your MATLAB path, see <a href="matlab:doc('addpath')">addpath</a>.</p><p>Additionally you must have the <tt>.cal</tt> file for your device in the current folder.</p><p><b>Example:</b> PicoVNA_S-Parameter_Example;</p><p><b>Description:</b> Demonstrates how to connect to the VNA, load in a calibration, make measurements and collect data for S11, S12, S21 and S22 parameters. The S-parameters are plotted onto auto-scaled plots. The measurement and data collection is looped until the user stops the process.</p><p><b>Copyright:</b> &copy; 2017-2018 Pico Technology Ltd. See LICENSE file for terms.</p><!--/introduction--><h2>Contents</h2><div><ul><li><a href="#1">Clear workspace, command window and close figures</a></li><li><a href="#2">Connect to VNA</a></li><li><a href="#3">Load Calibration</a></li><li><a href="#4">Stop button for exiting loop</a></li><li><a href="#5">Capture and plot data</a></li><li><a href="#6">Disconnect VNA</a></li></ul></div><h2>Clear workspace, command window and close figures<a name="1"></a></h2><pre class="codeinput">clear;
7070
clc;
7171
close <span class="string">all</span>;
7272
</pre><h2>Connect to VNA<a name="2"></a></h2><pre class="codeinput">picoVNACOMObj = connectVNA;
@@ -224,10 +224,11 @@
224224
% the log magnitude data for S11, S12, S21 and S22 parameters.
225225
%
226226
% To run this example session, type the name of the file,
227-
% |PicoVNA_S-Parameter_Example|, in the MATLAB Command Window.
227+
% |PicoVNA_S_Parameter_Example|, in the MATLAB Command Window.
228228
%
229-
% The file, |PicoVNA_S-Parameter_Example.m| must be on your MATLAB Path. For
230-
% additional information on setting your MATLAB path, see <matlab:doc('addpath') addpath>
229+
% The file, |PicoVNA_S_Parameter_Example.m| must be on your MATLAB Path. For
230+
% additional information on setting your MATLAB path, see
231+
% <matlab:doc('addpath') addpath>.
231232
%
232233
% Additionally you must have the |.cal| file for your device in the current
233234
% folder.

0 commit comments

Comments
 (0)