Haydar
New Member
Offline
Posts: 8
Portland, OR
|
I test this under the Tools->CDF->Edit tab, not through skill code.
I tried some more and have somewhat puzzling results: For a resistor which has parameters p1, p2, p3 added, I make the resistor value r dependent on parameter values via a conditional and observe these:
(iPar("p1")==1)?10:20 -> Works (iPar("p1")==1)?iPar("p2"):20 -> Works (iPar("p1")==1)?iPar("p2"):iPar("p3") -> Doesn't work
When it doesn't work, Virtuoso schematic shows "*Error*" on the schematic, otherwise it shows the actual evaluated value.
Thanks,
-Haydar
|