Keysight Pathwave 89600 VSA .NET API
CopyFrom Method
See Also  Example
Agilent.SA.Vsa.CustomIQ.Interfaces Assembly > Agilent.SA.Vsa.CustomIQ Namespace > ConstellationStateCollection Class : CopyFrom Method


sourceCollection
the source object that will copy from

Glossary Item Box

Copy ConstellationState from a ConstellationStateDescription IEnumerable object. If the current ConstellationStateCollection don't have enough constellation state items then create the need ones and copy it from the ConstellationStateDescription IEnumerable object.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub CopyFrom( _
   ByVal sourceCollection As IEnumerable(Of ConstellationStateDescription) _
) 
C# 
public virtual void CopyFrom( 
   IEnumerable<ConstellationStateDescription> sourceCollection
)
C++/CLI 
public:
virtual void CopyFrom( 
   IEnumerable<ConstellationStateDescription>^ sourceCollection
) 

Parameters

sourceCollection
the source object that will copy from

Example

This example shows you how to copy ConstellationState from a ConstellationStateDescription IEnumerable object
C#Copy Code
//Create a constellation state struct list
List<ConstellationStateDescription> sourceConstellationStates = new List<ConstellationStateDescription>();
            
//Add new constellation state struct to the list
double real = 1.0;
double imaginary = 0.0;
int symbol = 0;
sourceConstellationStates.Add(new ConstellationStateDescription(real, imaginary, symbol));
                
//Copy ConstellationState from a ConstellationStateDescription IEnumerable object.
ConstellationStates.CopyFrom(sourceConstellationStates);

Requirements

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

Minimum Software Version Requirement: Keysight PathWave 89600 VSA Ver 24.20

See Also