On 11/24/2017 12:55 PM, fredvs wrote: > Re-hello Martin. > > For those that do not find back their crystal ball (like me), what are > MSErun, " MSErun Copyright (c) 2015-2017 by Martin Schreiber
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.2014-09-19 mse MSErun is a unit test and program group compile tool. Command line paramers: --macrogroup=<n> Use 'Macros'-'Active group' number <n>, <n> = 1..6. --macrodef=<name>,<value>{,<name>,<value>} Macro definition, will be overridden by 'Macros'. Example: --macrodef=MAC1,abc,MAC2,def defines ${MAC1} with value 'abc' and ${MAC2} with value 'def'. --fontalias=<alias>,<fontname>[,<fontheight>[,<fontwidth>[,<options>[,<xscale>] [,<ancestor>]]]] Change the used fonts. <alias> can be stf_default, stf_menu or mseide_source. Predefined macros: ${FILE} the file path of the current item. Macro functions: ${MAC_IFDEF(macroname)} returns the macro value if defined. ${MAC_IFDEF(macroname,notdefinedvalue)} returns the macro value if defined, notdefinedvalue otherwise. ${MAC_IFDEF(macroname,notdefinedvalue,definedvalue)} returns definedvalue if macroname is defined, notdefinedvalue otherwise. Environment macros: ${ENV_VAR(variablename)} returns the macro value if defined. ${ENV_VAR(variablename,notdefinedvalue)} returns the variable value if defined, notdefinedvalue otherwise. ${ENV_VAR(variablename,notdefinedvalue,definedvalue)} returns definedvalue if variablename is defined, notdefinedvalue otherwise. File path macros, format is ${FILE_*(fileparameter)} or ${FILE_*("fileparameter")}: FILE_MSE convert to MSE format. FILE_SYS convert to sys format. FILE_PATH absolute path. FILE_FILE no trailing path delimiter. FILE_DIR trailing path delimiter. FILE_NAME no directory part. FILE_NAMEBASE no directory and no name extension part. FILE_EXT file name extension. FILE_NONAME directory part only. FILE_NOEXT no file name extension. " MSEspice " MSEspice, GUI for Ngspice Version 2.2.0 2017-11-23 - Download and install ngspice from http://sourceforge.net/projects/ngspice/ Note: The Windows standard download is the GUI-version of ngspice. With the GUI-version there is a ngspice message window at every simulation run which must be closed by pressing Enter. The console version of ngspice for Windows does not suffer from that problem. Currently there is no compiled console version available. - Download msespice_* for your system from http://sourceforge.net/projects/mseuniverse/ - Extract the archive into a directory of your choice (MYDIRECTORY). - On Linux cd in MYDIRECTORY/msespice_*, start msespice, on Windows cd in MYDIRECTORY\msespice_*, start msespice.exe. - 'File'-'Open Project', select 'examples/rclowpass.msp'. - Pess F9. If the ngspice program is not in path select it in 'Options'-'Global'-'Ngspice Program'. How to compile MSEspice ----------------------- MSEspice is made with MSEide+MSEgui cross platform development environment for Free Pascal: http://sourceforge.net/projects/mseide-msegui/ Source is here: https://gitlab.com/groups/mseide-msegui repository mseide-msegui First step is to install Free Pascal and MSEide+MSEgui 1. Download and install FPC 3.0.4 or FPC 3.0.2, you can get it from http://www.freepascal.org/download.var 2. Download mseide_msegui_src_4_0.zip and the mseide_* archive for your system. http://sourceforge.net/projects/mseide-msegui/files/mseide-msegui/4.0/ 3. Extract them to a directory of your choice ('yourdirectory') . 4. Run 'yourdirectory/bin/mseide' on linux or 'yourdirectory\bin\mseide.exe' on windows. 5. In 'Settings'-'Configure MSEide'-'${MSEDIR}' select 'yourdirectory/msegui'. 6. In 'Project'-'Open' select 'yourdirectory/msegui/apps/demo/demo.prj'. 7. 'Target'-'Continue'. If that works get the MSEspice sources from here: https://gitlab.com/groups/mseuniverse repository mseuniverse, tools/msespice. In MSEide 'Project'-'Open', select tools/msespice/msespice.prj, press F9. The project will be compiled and started in debugger. Command line parameters: --macrodef=<name>,<value>{,<name>,<value>} Example: --macrodef=MAC1,abc,MAC2,def defines ${MAC1} with value 'abc' and ${MAC2} with value 'def'. --fontalias=<alias>,<fontname>[,<fontheight>[,<fontwidth>[,<options>[,<xscale>] [,<ancestor>]]]] Change the used fonts. <alias> can be stf_default, stf_menu or mseide_source. Predefined macros: ${PROJECNAME} ${NETLIST} Macro functions: ${MAC_IFDEF(macroname)} returns the macro value if defined. ${MAC_IFDEF(macroname,notdefinedvalue)} returns the macro value if defined, notdefinedvalue otherwise. ${MAC_IFDEF(macroname,notdefinedvalue,definedvalue)} returns definedvalue if macroname is defined, notdefinedvalue otherwise. Environment macros: ${ENV_VAR(variablename)} returns the macro value if defined. ${ENV_VAR(variablename,notdefinedvalue)} returns the variable value if defined, notdefinedvalue otherwise. ${ENV_VAR(variablename,notdefinedvalue,definedvalue)} returns definedvalue if variablename is defined, notdefinedvalue otherwise. File path macros, format is ${FILE_*(fileparameter)} or ${FILE_*("fileparameter")}: FILE_MSE convert to MSE format. FILE_SYS convert to sys format. FILE_PATH absolute path. FILE_FILE no trailing path delimiter. FILE_DIR trailing path delimiter. FILE_NAME no directory part. FILE_NAMEBASE no directory and no name extension part. FILE_EXT file name extension. FILE_NONAME directory part only. FILE_NOEXT no file name extension. Have a lot of fun! Martin " and MSEkicadBOM ? https://gitlab.com/mseide-msegui/mseuniverse/wikis/msekicadbom/MSEkicadBOM " MSEkicadBOM Copyright (c) 2016-2017 by Martin Schreiber *********** Version 0.8.2 MSEkicadBOM is a component database and document/production files generator for KiCad based on MSEide+MSEgui. Database is Firebird 3.0, license is GPL. Wiki: https://gitlab.com/mseide-msegui/mseuniverse/wikis/msekicadbom/MSEkicadBOM Predefined macros: Project macros ************** prjectname Component macros **************** value value1 value2 footprint footprintident footprintlibrary footprintdescription manufacturer description parameter1 parameter2 parameter3 parameter4 Component-kind macros ********************* k_footprint k_footprintident k_footprintlibrary k_footprintdescription k_manufacturer k_description k_parameter1 k_parameter2 k_parameter3 k_parameter4 Macro functions *************** ${MAC_IFDEF(macroname)} returns the macro value if defined. ${MAC_IFDEF(macroname,notdefinedvalue)} returns the macro value if defined, notdefinedvalue otherwise. ${MAC_IFDEF(macroname,notdefinedvalue,definedvalue)} returns definedvalue if macroname is defined, notdefinedvalue otherwise. Environment macros ****************** ${ENV_VAR(variablename)} returns the variable value if defined. ${ENV_VAR(variablename,notdefinedvalue)} returns the variable value if defined, notdefinedvalue otherwise. ${ENV_VAR(variablename,notdefinedvalue,definedvalue)} returns definedvalue if variablename is defined, notdefinedvalue otherwise. String macros ************* Macro format is ${STR_*(text)}. STR_TRIM Trim whitespace from the ends of text. STR_TRIMLEFT Trim whitespace from the beginning of text. STR_TRIMRIGHT Trim whitespace from the end of text. STR_COALESCE Return first not empty value. Format is ${STR_COALESCE(text[,text...])} or ${STR_COALESCE("text"[,"text"...])} File macros *********** Macro format is ${FILE_*(fileparameter)} or ${FILE_*("fileparameter")}. FILE_MSE convert to MSE format. FILE_SYS convert to sys format. FILE_PATH absolute path. FILE_FILE no trailing path delimiter. FILE_DIR trailing path delimiter. FILE_NAME no directory part. FILE_NAMEBASE no directory and no name extension part. FILE_EXT file name extension. FILE_NONAME directory part only. FILE_NOEXT no file name extension. Have a lot of fun! Martin " Martin ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk