Home > Community > Forums > Custom IC SKILL > Error when importing outputs into ADE-XL using OCEAN

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Error when importing outputs into ADE-XL using OCEAN 

Last post Mon, Dec 23 2013 9:57 AM by hapn. 2 replies.
Started by hapn 30 Oct 2013 10:01 AM. Topic has 2 replies and 2936 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, Oct 30 2013 10:01 AM

    • hapn
    • Not Ranked
    • Joined on Wed, Oct 30 2013
    • Posts 9
    • Points 105
    Error when importing outputs into ADE-XL using OCEAN Reply

    Hi,

    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 (6.1.6.500.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!

    Thanks,

    hpan.

    Filed under: , , , ,
    • Post Points: 20
  • Fri, Dec 20 2013 11:38 PM

    Re: Error when importing outputs into ADE-XL using OCEAN Reply

    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.

    Regards,

    Andrew.

    • Post Points: 20
  • Mon, Dec 23 2013 9:57 AM

    • hapn
    • Not Ranked
    • Joined on Wed, Oct 30 2013
    • Posts 9
    • Points 105
    Re: Error when importing outputs into ADE-XL using OCEAN Reply

     Hi Andrew,

     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 :)

    Best,
    Haiyang

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by hapn at 30 Oct 2013 10:01 AM. Topic has 2 replies.