# :FUNCtion:PARameters:DEConvolve:PORDer

Remove S2P Parameters Commands

- :FUNCtion:PARameters:DEConvolve:ALIGn
- :FUNCtion:PARameters:DEConvolve:BANDwidth
- :FUNCtion:PARameters:DEConvolve:BANDwidth:AUTO
- :FUNCtion:PARameters:DEConvolve:BLIMit
- :FUNCtion:PARameters:DEConvolve:BSPan?
- :FUNCtion:PARameters:DEConvolve:CFRequency
- :FUNCtion:PARameters:DEConvolve:FMODel
- :FUNCtion:PARameters:DEConvolve:FNAMe
- :FUNCtion:PARameters:DEConvolve:FRELoad
- :FUNCtion:PARameters:DEConvolve:NGAin
- :FUNCtion:PARameters:DEConvolve:PEXTract
- :FUNCtion:PARameters:DEConvolve:PORDer

## Command Syntax

    :FUNCtionN:PARameters:DEConvolve:PORDer {PORDer1234 | PORDer1324}

Where N identifies one of up to 64 possible operators {1:64} that can be defined as part of a math function. The operators are numbered in the order that they were originally added to the function.

## Query Syntax

    :FUNCtionN:PARameters:DEConvolve:PORDer?

## Description

Specifies the order of the S-parameter file's ports to ensure that the data is properly interpreted by an Remove s2p operator (`:FUNCtion:FOPerator`). The following table shows the relationship between the three commands used to define and extract the 2-port data from the S-parameter file.

The `:FUNCtion:PARameters:DEConvolve:PORDer` and `:FUNCtion:PARameters:DEConvolve:PEXTract` commands are only available after an 4-port S-parameter file has been opened using the `:FUNCtion:PARameters:DEConvolve:FMODel` command.

Arguments and Dialog-Box Settings for 4-Port S-Parameters Files
Port Configuration in s4p File | 4 Port Numbering Argument (PORDer) | 2 Port Extraction Argument (PEXTract) | Flip Model Argument (FMODel)
--- | --- | --- | ---
| PORDer1324 | (1⇔2)TPORt1 (3⇔4)TPORt2 | OFF
| PORDer1234 | (1⇔3)TPORt1 (2⇔4)TPORt2 | OFF
| PORDer1324 | (1⇔2)TPORt1 (3⇔4)TPORt2 | ON
| PORDer1234 | (1⇔3)TPORt1 (2⇔4)TPORt2 | ON

## Example Command Sequence

    :FUNCtion2:FOPerator DEConvolve
    :FUNCtion2:PARameters:DEConvolve:FNAMe "C:\Users<user_name>\Documents\Keysight\Infiniium\S-Parameter Data\DUT_4.s4p"
    :FUNCtion2:PARameters:DEConvolve:FMODel ON  // Flips  S-parameters ports
    :FUNCtion2:PARameters:DEConvolve:PORDer PORDer1234  // Port order in file
    :FUNCtion2:PARameters:DEConvolve:PEXTract TPORt2  // Extract port data
    :FUNCtion2:COLor TCOLor4
    :FUNCtion2:DISPlay ON
    *OPC?
    …  //  Your code to synchronize execution timing.