Keysight Pathwave 89600 VSA .NET API
SetInput Method
See Also 
Agilent.SA.Vsa.NewRadio.Interfaces Assembly > Keysight.SA.Vsa.ContextExtensions.NewRadio Namespace > NewRadioDirectCalculation Class : SetInput Method


inputData
Input data array either in time domain or in ofdm domain. When InputDataDomain is InputDataDomain.Time, this float array contains complex data points in the order of I0, Q0, I1, Q1, etc.. When InputDataDomain is InputDataDomain.Ofdm, this float array contains complex data points in all the RequirementsForOfdmDomainInputData.NumberOfSymbols and RequirementsForOfdmDomainInputData.NumberOfSubcarriers in the order of I0, Q0, I1, Q1, etc.. The data point begins from the first subcarrier RequirementsForOfdmDomainInputData.FirstSubcarrierIndex of the first OFDM symbol RequirementsForOfdmDomainInputData.FirstSymbolIndex, goes through all the subcarriers of the first symbol; then it starts from the first subcarrier RequirementsForOfdmDomainInputData.FirstSubcarrierIndex of the second OFDM symbol, goes through all the subcarriers of the second symbol; It repeats the mapping for all the OFDM symbols RequirementsForOfdmDomainInputData.NumberOfSymbols.
isDataReset
a value indicating whether to reset the input data vector. If it is true, the input data vector is reset, and the inputData is written to the beginning of the input data vector. If it is false, the inputData is appended at the end of input data vector until the input data vector size meets the required data points.

Glossary Item Box

Sets the input data.

Syntax

Visual Basic (Declaration) 
Public MustOverride Function SetInput( _
   ByVal inputData() As Single, _
   ByVal isDataReset As Boolean _
) As Long
C# 
public abstract long SetInput( 
   float[] inputData,
   bool isDataReset
)
C++/CLI 
public:
abstract int64 SetInput( 
   array<float>^ inputData,
   bool isDataReset
) 

Parameters

inputData
Input data array either in time domain or in ofdm domain. When InputDataDomain is InputDataDomain.Time, this float array contains complex data points in the order of I0, Q0, I1, Q1, etc.. When InputDataDomain is InputDataDomain.Ofdm, this float array contains complex data points in all the RequirementsForOfdmDomainInputData.NumberOfSymbols and RequirementsForOfdmDomainInputData.NumberOfSubcarriers in the order of I0, Q0, I1, Q1, etc.. The data point begins from the first subcarrier RequirementsForOfdmDomainInputData.FirstSubcarrierIndex of the first OFDM symbol RequirementsForOfdmDomainInputData.FirstSymbolIndex, goes through all the subcarriers of the first symbol; then it starts from the first subcarrier RequirementsForOfdmDomainInputData.FirstSubcarrierIndex of the second OFDM symbol, goes through all the subcarriers of the second symbol; It repeats the mapping for all the OFDM symbols RequirementsForOfdmDomainInputData.NumberOfSymbols.
isDataReset
a value indicating whether to reset the input data vector. If it is true, the input data vector is reset, and the inputData is written to the beginning of the input data vector. If it is false, the inputData is appended at the end of input data vector until the input data vector size meets the required data points.

Return Value

Additional data points needed to have enough data for calculation.

Remarks

This function will copy the input data array into the direct calculation engine, and the data points to be copied depends on whether fillSettlePointsWithZero is true or false. If fillSettlePointsWithZero is false, the data points to be copied is RequiredInputDataPoints. If fillSettlePointsWithZero is true, the data points to be copied is RequiredInputDataPoints minus RequiredSettlePoints.

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also