Keysight Pathwave 89600 VSA .NET API
SetData Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > MeasurementData Class : SetData Method


sourceArray
source data array
sourceIndex
offset into the source data array.
destinationIndex
offset into the destination array.
length
length of source data array to copy.
destinationSize
length of the destination array.

Glossary Item Box

Sets a portion of the Y data points from a float or double array

Syntax

Visual Basic (Declaration) 
Public Overridable Sub SetData( _
   ByVal sourceArray As Array, _
   ByVal sourceIndex As Integer, _
   ByVal destinationIndex As Integer, _
   ByVal length As Integer, _
   ByVal destinationSize As Integer _
) 
C# 
public virtual void SetData( 
   Array sourceArray,
   int sourceIndex,
   int destinationIndex,
   int length,
   int destinationSize
)
C++/CLI 
public:
virtual void SetData( 
   Array^ sourceArray,
   int sourceIndex,
   int destinationIndex,
   int length,
   int destinationSize
) 

Parameters

sourceArray
source data array
sourceIndex
offset into the source data array.
destinationIndex
offset into the destination array.
length
length of source data array to copy.
destinationSize
length of the destination array.

Remarks

The destination array is resized to the destinationSize, retaining any old data in the array.

Requirements

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

See Also