Quantcast
Channel: Jason Andrews Blog
Viewing all articles
Browse latest Browse all 33813

RE: getData returns nil

$
0
0
Hi Nicolas, For a start, you almost certainly need to specify ?result to tell it which analysis to get the result from (e.g. getData("/OUT" ?result 'tran)) - otherwise it doesn't know. In ADE XL you're running multiple simulations, and ADE will open the results for each individual simulation one at a time, but I think that only happens if you're plotting something (otherwise it doesn't need to do this) - and so which one you get will be whatever was opened last, which is somewhat arbitrary. You can certainly use getData in an output expression (you'll need to specify ?result though), but if you want to use getData arbitrarily in the CIW, you'll have to call openResults() or specify ?resultDir to explicitly state the directory. Regards, Andrew.

Viewing all articles
Browse latest Browse all 33813

Trending Articles