I'm trying to import some expressions into ADE-XL test environment using OCEAN. I created a SKILL file (foo.il) with the following:
session1 = axlCreateSession("foo") handle1 = axlSetMainSetupDB(session1 "./data.sdb") print "About to import outputs..."
axlOutputsImportFromFile(session1 "./outputs.csv" ?operation "overwrite") axlSaveSetup() exit
Then I run ocean (126.96.36.1990.2) using ocean < foo.il
Here's what I get:
ocean> "About to import outputs..."nil ocean> *Error* asiGet: no applicable method for the class - list(symbol)
If I invoke ocean in the interactive mode and enter the above command, it works fine.
Any help will be appreciated!
If I do this (in IC616 ISR4, at least):
sess = axlCreateSession(getCurrentTime())axlSetMainSetupDBLCV(sess "mylib" "ampTest" "adexl")axlOutputsImportFromFile(sess "outputs.csv" ?operation "overwrite")
Then it works fine, even without a window open.
I also tried what you did (the data.sdb didn't exist, so it was a bit silly) - for me it "works" (although it complains that it couldn't import the output because it didn't know anything about the test or the signal involved.
Thanks a lot for reply and help.
I think I got the error because I did not invoke the ocean in the design root.
Thank you very much again and Merry Christmas :)