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
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