MSEspice, new GUI for ngspice

2012-12-01
2013-06-12
  • Hi,
    There is a first beta for the new GUI for ngspice MSEspice.
    My text has been rejected because it "looks like spam", please read the post in ngspice-devel mailinglist.

    Martin

     
  • marcel hendrix
    marcel hendrix
    2012-12-01

    Works great!

    The fonts (for the controls) are tiny and can not be resized?

    When I do View->Charts the definitions for RC AC, RC DB, and RC TRAN are still there, although I defined a new project. Clicking on these items generates an exception.

    Params are also remembered from a previous project.  That doesn't seem to be a good idea.

    When I define my own output chart, it is called chart 4 and I can not change the name. When I save the project and reopen it, I see Chart 4 and another Chart 4?

    How do I set line-widths, background color, and a grid? Can I 'measure' voltages by doing  mouse manipulations? How do I know what the names of internal nodes are (a drop down list of traces saved in de raw file would help).

    -marcel

     
  • The fonts (for the controls) are tiny and can not be resized?

    The fonts of MSEgui applications can be defined at commandline by
    -fontalias=<alias>,<fontname>[,<fontheight>[,<fontwidth>[,<options>]]]
    Example "./msespice -fontalias=stf_default,,14" to switch to 14 pixel height. msespice currently is not yet optimized for variable font heights. I'll care about.

    When I do View->Charts the definitions for RC AC, RC DB, and RC TRAN are still there, although I defined a new project. Clicking on these items generates an exception. Params are also remembered from a previous project. That doesn't seem to be a good idea.

    Probably not. ;-) I'll have a look.

    When I define my own output chart, it is called chart 4 and I can not change the name.

    Press 'Enter' in textfield in order to switch to edit mode.

    When I save the project and reopen it, I see Chart 4 and another Chart 4?

    Steps? Can you send the *.msp file?

    How do I set line-widths, background color,

    Not yet implementated.

    and a grid?

    Grid lines can be defined by 'div1,'line','div2' columns.

    Can I 'measure' voltages by doing mouse manipulations?

    Not yet, already on wishlist.

    How do I know what the names of internal nodes are (a drop down list of traces saved in de raw file would help).

    Hmm, the nodes stored in the raw are defined by a 'write' statement…

    * RC Lowpass
    Vin in gnd DC 1 AC 1
    R1 in out 10k
    C1 out  gnd 100n
    R2 out gnd 33k
    .param rrr=1k
    .control
     set curplot = new
     set curplot = unknown1
     let b0 = @c1[c]
     let a0 = 0.21972245773362
     let n = 0
     dowhile unknown1.n <= 5
      alter @c1[c] = 5E-008*exp(unknown1.n*unknown1.a0)
      ac dec 10 1 1000
      let unknown1.n = unknown1.n + 1
      let p0e1=DB(V(OUT)/V(IN))
      let p0e2=V(OUT)
     end
     alter @c1[c] = unknown1.b0
     tran 1 0.005 0 uic
     let p1e1=V(OUT)
     write /home/mse/packs/standard/git/mseuniverse/tools/msespice/examples/mse_rclowpass.raw.tmp
    +  ac1.p0e1 ac1.p0e2
    +  ac2.p0e1 ac2.p0e2
    +  ac3.p0e1 ac3.p0e2
    +  ac4.p0e1 ac4.p0e2
    +  ac5.p0e1 ac5.p0e2
    +  ac6.p0e1 ac6.p0e2
    +  tran6.p1e1
    .endc
    .END
    
     
  • marcel hendrix
    marcel hendrix
    2012-12-01

    >> The fonts (for the controls) are tiny

    Your fix works (14 pixels is just bearable, >14 makes them partly invisibe)

    >> When I do View->Charts

    This problem went away after opening a closing the file once more (although I did NOT allow to save the project).

    > Press 'Enter' in textfield in order to switch to edit mode.

    OK, I did not expect that, it works. Maybe renaming is also the reason that the other chart defs went away?

    Grid lines work indeed.

    >> How do I know what the names of internal nodes are (a drop down
    >> list of traces saved in the raw file would help).

    > Hmm, the nodes stored in the raw are defined by a 'write' statement…

    Ok. Apparently, one can access node data also with ngspice names:
    "let p0e1=I(V.XMOT.VSENSE1)
    let p0e2=I(V.XMOT.VSENSE2)"

    Both p0e1 and X.XMOT.VSENSE1 work, that's nice, but especially for nodes inside subcircuits (weird syntax) a drop-down list would be even better.

    -marcel

     
  • Clicking on these items generates an exception. Params are also remembered from a previous project.

    Fixed in git master 8abdc50e11b2596a876ad241b1ec291d2afd1fd6.
    http://gitorious.org/mseuniverse/mseuniverse

     
  • Version 0.8.2 has been released, new with Monte Carlo stepping and save vector defines.