y = ComplexSetArray(x)
Converts a variant type or double floating point type array x that contains complex numbers using 2 elements to store each complex number in the order of the real part and imaginary part to complex type array y.
x : Variant type (Variant) array or Double precision floating point type (Double) array
y : Complex type (Complex) array
Dim a as Variant, b as Complex
a = SCPI.CALCulate(1).SELected.DATA.SDATa
b = ComplexSetArray(a)