Compatibility of State File

Other topics about Data Output

Overview

As mentioned in Saving and Recalling Instrument State, you can save the instrument state of the E5061B into a file on the mass storage and then recall it later to reproduce that state.

Alternatively, you can use the state file saved in E5061A and E5062A in a similar way.

Compatibility of Files (Saving and Recalling)

Compatibility from  E5061A/E5062A and other ENA series products

State files from E5061A/E5062A can be converted to E5061B compatible state file. This can be performed by using the State File Converter Software. However, there is no compatibility of state files between E5061B and other ENA series products.

Files saved with the E5061A, E5062A and the other ENA series products cannot be recalled with the E5061B. Similarly, files saved with the E5061B cannot be recalled with the E5061A and E5062A.

 Compatibility between  different options

Compatibility between different frequency models

 

 

 

 

Saved file by E5061B

Recalling by E5061B

Opt. No

3L5

3L4

3L3

235

215

135

115

237

217

137

117

3L5

Y

N

N

N

N

N

N

N

N

N

N

3L4

Y

Y

N

N

N

N

N

N

N

N

N

3L3

Y

Y

Y

N

N

N

N

N

N

N

N

235

Y

N

N

Y

N

N

N

N

N

N

N

215

Y

Y

N

Y

Y

N

N

N

N

N

N

135

Y

N

N

Y

Y

Y

N

N

N

N

N

115

Y

Y

N

Y

Y

Y

Y

N

N

N

N

237

N

N

N

N

N

N

N

Y

N

N

N

217

N

N

N

N

N

N

N

Y

Y

N

N

137

N

N

N

N

N

N

N

Y

Y

Y

N

117

N

N

N

N

N

N

N

Y

Y

Y

Y

Y: Recall is possible, N: Recall is not possible.

Compatibility when the Firmware revision is different

Compatibility when the system spec. version (available with ":SERV:SREV?") is different

State File Converter

The State File Converter software converts the state files from E5061A/E5062A to E5061B compatible state file.

Most state file settings from E5061A/E5062A can be converted to be used in E5061B except:

User calibration data cannot be converted by the State File Converter. Even if the E5061A/62A state file has calibration data, the calibration data is ignored and is not converted.

Multiport test set settings are not converted. This is because unlike E5061A/62A, the E5061B does not support multiport test sets. Hence, the below settings are not converted:

        : SENSe [1-4]: CORRection: MULTiport: COLLect: METHod

        : SENSe [1-4]: CORRection: MULTiport: SELF [: STATe]

        : SENSe [1-4]: CORRection: MULTiport: SELF: TIMer

        : SENSe [1-4]: CORRection: MULTiport [: STATe]

        : SENSe [1-4]: MULTiport: PORT [1-2]: SELect

        : SENSe [1-4]: MULTiport: PROPerty

        : SENSe [1-4]: MULTiport [: STATe]

Executing State File Converter (UI)

The State File Converter is located in the E5061B at D:\Agilent\E5061A_StateFileConverter.vba. This vba software is a sort of user interface and  it calls the main program named "StateFileConverter.exe" shown below.

To execute this converter file:

  1. Press Macro Setup button.

  2. Click Load Project... from the Macro Setup menu.

  3. Select D:\Agilent\E5061A_StateFileConverter.vba file and click Open.

  4. Click Select Macro from the Macro Setup menu and select Module1 main option.

  5. The E5061A/62A State File Converter shows.

  1. At Input file name (E5061A/62A state file), select the state file from E5061A or E5062A that you want to convert.

  2. At Output file name (E5061B state file), enter the name of the new state file or select an existing state file to be overwritten.

  3. Once both input and output file names are selected, the Convert button is activated.

  4. Click Convert to execute the conversion.

  5. Once the conversion process is completed, the Recall output file button is activated.

  6. Click Recall output file to recall the output file. This is a shortcut method to recall the output file instead of Save/Recall > Recall State > File Dialog.

Executing State File Converter (.exe)

The executable file of the State File Converter is located in the E5061B at C:\Program Files\Keysight\E5061B\StateFileConverter\StateFileConverter.exe. To execute this converter file using command prompt:

  1. Go to Command Prompt.

  2. Go to C:\Program Files\Keysight\E5061B\StateFileConverter location.

  3. Type StateFileConverter.exe -i:<input.sta> -o:<output.sta>.

Mandatory Option

-I:<input file path> (E5061/62A state file)

-O:<output file path> (E5061B state file)

No space after the colon

Return code

0: no error

1: no error (cal data discarded)

10: read file error

20: write file error

You can create the batch file as shown below.

Convert.bat

@echo off

if not exist E5061B mkdir E5061B

for %%i in (*.sta) do (

echo Converting %%~fi

"C:\Program Files\Keysight\E5061B\StateFileConverter\StateFileConverter.exe" -i:"%%~fi" -o:"%~dp0E5061B\%%~nxi"

if errorlevel 20 (

echo     Write File Error

) else if errorlevel 10 (

echo     Read File Error

) else if errorlevel 1 (

echo     Convert Success without Cal Data

) else if errorlevel 0 (

echo     Convert Success

)

How to execute the batch file

The batch file allows you to convert multiple state files at once.

To execute the batch file:

  1. Place convert.bat and all the state files in the same folder.

  2. Go to Command Prompt.

  3. Go to the location where convert.bat and state files are stored.

  4. Type convert.bat.

  5. A sub-folder named E5061B is created automatically where all the converted state files are placed.

State File Converter Messages

Below are the messages that may prompt during state file conversion:

Conversion is successfully completed and the original CAL data is deleted.

The system cannot understand the file path as the folder or file name is in Asian characters (fonts), or the file is not a state file created by E5061A/62A.

The system cannot understand the file path as the folder or file name is in Asian characters (fonts).