element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Test & Tools
  • Technologies
  • More
Test & Tools
Blog Working with the FPC1500 and Touchstone (S-Parameter) Files
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 5 Sep 2021 1:24 AM Date Created
  • Views 2784 views
  • Likes 9 likes
  • Comments 2 comments
  • s-parameters
  • s2p
  • r&s fpc1500
  • touchstone
  • vector network analyzer
  • s_parameter
  • instrumentview
  • vna
  • fpc1500
  • scikit-rf
  • s-parameter
  • s1p
Related
Recommended

Working with the FPC1500 and Touchstone (S-Parameter) Files

shabaz
shabaz
5 Sep 2021
  • Introduction
  • 1. Save the Data
  • 2. Transfer the Data to the PC
  • 3. Export the Data in CSV Format
  • 4. Convert to .s1p Touchstone Format
  • Example: Viewing using Python scikit-rf
  • Summary

 

2024 Update: The latest versions of InstrumentView support Touchstone .s1p format, so you can skip step 4 below.

Introduction

When working with the FPC1500 in Vector Network Analyzer (VNA) mode, it can be handy to transfer the captured data into math programs and other PC software.

Fortunately, that's very easy to do; there is an in-built file system and data can be transferred across easily. I find using the supplied PC software, InstrumentView, to be very handy for this.

This very short blog post describes how the data can be converted into a Touchstone format file, which is very popular for working with all sorts of RF software applications.

There's not much to it, it merely requires a couple of dozen lines of code to re-format content. The code is available on GitHub

 

1. Save the Data

Once the VNA shows what you wish to capture, press the Save/Recall button on the keypad on the instrument, then hit the Save soft-key that will appear, and then scroll to the Public\Datasets folder and then click the Save soft-key again.

The file will be saved with a name such as Dataset001.set and this can be viewed using the free InstrumentView software as shown below.

 

 

2. Transfer the Data to the PC

Start up InstrumentView and select Instrument->File Transfer. Transfer across the Dataset00x.set file as shown in the screenshot.

Then, with the dataset selected on the right portion of the display, click on the 'eye' icon labeled View (see screenshot).

image

 

 

3. Export the Data in CSV Format

After clicking on the View icon in the previous step, you should now see the data displayed graphically.

image

 

Click on Save on the left side, as shown above. Save the file in CSV format, to any suitable location.

image

 

4. Convert to .s1p Touchstone Format

Copy or rename the file to input.csv and then run Python code as shown here:

 

python ./csv2sparam.py

 

It will show some output like this:

 

Start of dataset found
Completed 201 entries (2000000 - 3000000000 MHz)
output.s1p generated.
Bye.

 

The transformation is complete, and now the output file can be used with any suitable RF software.

 

Example: Viewing using Python scikit-rf

The output.s1p Touchstone file was generated in the last step.

To view it, install matplotlib and scikit-rf Python packages to your PC, and then you can type the following within the Python command line, or in a .py program:

 

import matplotlib.pyplot as plt
import skrf as rf
n=rf.Network('output.s1p')
n.plot_s_smith()
plt.show()

 

If all goes well, the following should be displayed:

image

 

Summary

With little effort, data captured from the FPC1500 VNA mode can be exported and transformed into a format compatible with a lot of software.

Example files are attached if anyone wishes to examine them, or play with them without access to a VNA.

 

I confirmed the file can be opened successfully with the following software:

  • Python scikit-rf library
  • Iowa Hills Smith Chart
  • SPARGraph

It did not open in RFOffice, but I have sent them an e-mail to find out why.

Attachments:
example-files.zip
  • Sign in to reply

Top Comments

  • geralds
    geralds over 3 years ago +2
    Hi shabaz , Thank you! It's bookmarked now. Best Regards Gerald ---
  • shabaz
    shabaz over 1 year ago

    Update: The latest versions of InstrumentView now support saving directly in .s1p format! No need to do step 4 anymore.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • geralds
    geralds over 3 years ago

    Hi shabaz ,

     

    Thank you!

    It's bookmarked now.

     

    Best Regards

    Gerald

    ---

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube