ScrSetExternalExcitations

Directs SIwave to use external (non-linear) excitation files containing current or voltage source frequency response data.

UI Command:   From the Simulation menu, click either Compute Frequency Sweep, Compute Far Field, or Compute Near Field. Select the Use sources defined in an external file check box and specify the source of the excitations.
Syntax:   obj.ScrSetExternalExcitations(<filePath>)
Parameters:  

BSTR filePath

Return Value:  

None.

VB Example:  

' set current/voltage sources to reference I(f)/V(f) data in "C:/sources.txt"

obj.ScrSetExternalExcitations "C:/sources.txt"

' set current/voltage sources back to linear magnitude/phase values

obj.ScrSetExternalExcitations "

IPY Example:  

oDoc.ScrSetExternalExcitations('C:/sources.txt')