asiSelectAnalysisSource
asiSelectAnalysisSource(s_analysiss_field[t_prompt] ) => t / nil
Description
Lets the user select a source from the schematic to be used as input for the specified field for the specified analysis. If the user selects any other object, the system ignores the selection and beeps.
The property source should be set to
t in the simInfo of the component to be selected with this function.Arguments
Value Returned
Examples
Lets the user select a source from the schematic to use as input for the outVsrc field for a noise analysis.
asiSelectAnalysisSource( 'noise 'outVsrc "Select output voltage source ..." )
procedure( almCreateSimInfo_<comp>_<yourSimulator>() '( nil
netlistProcedure comp
otherParameters ( fundname noisefile
FNpairs F1 N1 F2 N2 F3 N3 F4 N4 F5 N5
F6 N6 F7 N7 F8 N8 F9 N9 F10 N10 )
instParameters ( dc mag phase type xfmag pacmag pacphase val0
val1 period delay rise fall width tc1 tc2
tnom )
termOrder ( PLUS MINUS )
termMapping ( nil PLUS \:p MINUS "(FUNCTION minus(root('PLUS')))" )
propMapping ( nil dc vdc mag acm phase acp val0 v1 val1 v2
period per delay td rise tr fall tf
width pw xfmag xfm pacmag pacm
pacphase pacp type srcType )
componentName vsource
source t
)
)
Return to top