Hello All,
As mentioned in another thread, I've taken on the task of updating the
LTSpice ULP to work under Linux and Mac. In the other thread I committed
to posting at least once a week on my progress.
My goal with this thread besides keeping everyone informed of the
progress, is to document the basic process of updating an existing ULP
and to collect my thoughts as I go through the process.
With that out of the way here's what I got so far:
This is a large ULP consisting of approx. 4600 lines. Almost 5 times
larger than the biggest ULP I've worked on to date (dxfimport approx.
1000 lines).
Alfred, the original author of this ULP deserves a lot of credit for
writing this, it took him almost a year of work IIRC to get it done. The
code is pretty well commented (much of it in German
) and after
looking through it I've formed a basic idea of how it's structured.
In order to make it more manageable, I've split the ULP into sections
using Alfred's comments as a guide. Here's the table of contents:
Lines Contents
-
-
1-300 Documentation
300-693 Global Variables
533-656 Syntax Definition Symbol
695-847 File Functions
849-4140 Export-Import Functions
889-1874 Export
1877-4024 Import
2247-2862 Parse Library Lines
2865-3858 Parse Schematic Lines
3859-4024 Import Setup Menu
4026-4140 Export Menu
4142-4596 Main
4232-4337 main export
4339-4596 main import
4365-4488 import a library
4490-4573 import a schematic
4574-4596 main diagnostic
My plan for now is to traverse these main sections searching for
functions that are OS dependent and then see how I can change them to
not be.
I figure that a lot of the code will be unchanged since the functions
that process the contents of the LTSpice file will run directly inside
EAGLE. That's what I'm hoping anyway.
Best Regards,
Jorge Garcia