This interface can be used to read/write certain properties of the active DSS object. The structure of the interface is as follows:


int32_t VSourcesI(int32_t Parameter, int32_t Argument);


This interface returns an integer number with the result of the query according to the value of the variable Parameter, which can be one of the following:


Parameter 0: VSources.Count

This parameter returns the number of VSource objects currently defined in the active circuit.


Parameter 1: VSources.First

This parameter sets the first VSource to be active; returns 0 if none.


Parameter 2: VSources.Next

This parameter sets the next VSource to be active; returns 0 if none.


Parameter 3: VSources.Phases read

This parameter gets the number of phases of the active VSource.


Parameter 4: VSources.Phases write

This parameter sets the number of phases of the active VSource.