# :FUNCtion:PARameters:INTerpolate:FACTor

Interpolation Parameters Commands

- :FUNCtion:PARameters:INTerpolate:FACTor
- :FUNCtion:PARameters:INTerpolate:METHod

## Command Syntax

    :FUNCtionN:PARameters:INTerpolate:FACTor <factor>

<factor> is an int.

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:INTerpolate:FACTor?

## Description

Specifies a factor that determines the number of points in the output of an Interpolation operator (`:FUNCtion:FOPerator`). To select the interpolation method, use the `:FUNCtion:PARameters:INTerpolate:METHod` command. The relationship between the number of input and output waveform points is shown in the following equation:

- output waveform points = A X − A + 1

where, X is the number of input waveform points and A is the interpolation factor, which can be set to values of 2, 4, 8, 16, 32,or 64. As an example, specifying an interpolation factor of 8 for a 100 sample-point waveform results in a 793 point output waveform:

- output waveform points = 8(100) − 8 + 1 = 793

In the following figure show an output waveform constructed using an interpolation factor of 8. The input waveform (1) is shown with 13 sampled green points. The red points show the output waveform (F1)..

## Example Command Sequence

    :FUNCtion2:FOPerator INTerpolate
    :FUNCtion2:PARameters:INTerpolate:METHod SINC
    :FUNCtion2:PARameters:INTerpolate:FACTor 8
    :FUNCtion2:COLor TCOLor4
    :FUNCtion2:DISPlay ON
    *OPC?
    …  //  Your code to synchronize execution timing.