Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.

Data File Options Dialog Box: Raw Data Format Tab

The Data File Options dialog box Raw Data Format tab allows you to specify the format used to read data from imported raw data files. The raw data format reads data as rows and columns of data in a text file. To access this tab, right-click the Data Files node in the Project Browser and choose Options. This dialog box contains the following options:

Field Description
Data Type Specify the type of data in raw data files. You can select S-, Y-, or Z-parameters.
Reference Impedance, Normalization Impedance If the data file is an S-parameter file, then the reference impedance for the S-parameters also needs to be specified. The default value of 50 ohms is the most common value for S-parameter data. If the data file is a Y-parameter or Z-parameter file, then the normalization impedance needs to be specified. The default value is 50 ohms. For non-normalized Y- or Z-parameters, use a value of one for the normalization impedance.
Matrix Size Specify allows you to specify the number of ports for the N-port file or One Matrix per Line allows the program to determine the number of ports by assuming that all the entries in the N-port matrix are written on a single row. If all the matrix entries are written on a single row, then the first entry in the row must be the frequency point for the N-port matrix. If you specify the size of the matrix, then the first item in the first row is the frequency point for the first N-port matrix. The entries for the first N-port matrix then follow the frequency point starting from the second column in the first row. Following the first N-port matrix will be the frequency point for the second N-port matrix, followed by the second N-port matrix entries (and so on). By specifying the size of the matrix, the entire matrix does not have to be written to a single line. Also, the number of columns in each row does not have to be the same, and the frequency value for each matrix does not always have to be in the first column.
Format Allows you to specify the format of the N-port matrix entries. Complex numbers are read in as two real numbers in adjacent columns in the same row. Real-valued data can be read as a single number. The following data types can be used:
Real/Imag: x+j*y written as x y
Mag/Angle (polar): x*exp(j*theta) written as x theta
Real: x written as x
dB: 20*log(x) written as 20*log(x)
Data Order Specifies the relationship between the order of the data in the file and the position of each entry of the N-port matrix. The data read from the raw data file is always read by row. The data can be inserted into the N-port matrix by row (the same as the data file) or by column. The two options follow:
Row Major: An N-port file read using row major format will read the data into the N-port matrix by row. For example a 2-port S-parameter file would be read into the project in the following order: S11, S12, S21, S22.
Column Major: An N-port file read using column major format will read the data into the N-port matrix by column. For example a 2-port S-parameter file would be read into the project in the following order: S11, S21, S12, S22.
File Units Specifies the units that are assumed in the data file (not the units that are used by the project). For example, if Frequency is specified as kHz, then the frequency point 10 would be converted to 10,000 Hz when it is read into the project. The Angle units are only used if the data format uses angles (i.e. magnitude angle). Click on the arrows to the right of the option to select the correct unit.

Please send email to awr.support@ni.com if you would like to provide feedback on this article. Please make sure to include the article link in the email.

Legal and Trademark Notice