NI-VNA

Using the Sweep Settings Configuration File

  • Updated2023-02-21
  • 2 minute(s) read

NI-VNA allows you to create a custom configuration file to save settings for sweep measurements. You can use the niVNA Load Sweep Settings Data From File VI or the niVNA_LoadSweepSettingsDataFromFile function to load the configuration file in NI-VNA.

The format of the configuration file is very specific. If you do not use the correct format, NI-VNA cannot read the file and returns the error NIVNA_ERROR_INVALID_CFG_FORMAT.

Note Note  The file extension of the configuration file must be .cfg.
Tip Tip  NI-VNA installs an example configuration file, exampleSweepConfiguration.cfg, to <NIDocDir>\NI-VNA\. You can use and modify this example configuration file as necessary. Refer to the NI-VNA Readme for the location of <NIDocDir> on your computer.

The configuration file is made up of settings, and each setting contains two top-level parameters: numPorts and segments.

A configuration file can contain as many settings as possible, but you can only load one in NI-VNA at a time.

Related Information

Specifying Sweep Settings

Specifying Setting Parameters

Segment Types

Possible Errors