I am trying to run adexl simulations using axl commands as below.
hsdb_session=axlSetMainSetupDBLCV(axlsession "testlib" "top" "adexl" ?mode "r")
runID = axlRunAllTestsWithCallback( axlsession "Single Run, Sweeps and Corners" "PostProc()" )
axlExportOutputView(axlsession "/tmp/export.csv" "Detail" ?history "Interactive.0")
This creates an empty file. Any idea what could be going wrong?
My end goal is export the measurement name and values to a text file using axl command.
Other options I tried:
1) axlWriteDatasheet(axlsession axlGetHistoryEntry(hsdb_session "Interactive.0"))
It doesn't create it propertly. Probably because I am opening ADEXL in "r" mode.
2) a = axlGetHistoryResults(axlGetRunData(axlsession runID))
This opens a table with measurement and variable values. But I don't find an option to export this to file.
3) a = axlGetHistoryResults(axlsession runID))
axlOpenResDB(a) ~> ?
This returns options which I could use to retrieve measurement values but they are of type "funcobj". Not sure how to read it.