05-19-2010 12:33 PM
Could someone please let me know how can i use commands like .save ,.plot , .print through the netlists. I'm trying to import a SPICE netlist in multisim which ends like
.tran =1u 2m
.plot v(0) v(2)
.save v(0) v(2)
but these lines are simply getting ignored while multisim parses the netlist. Could someone please suggest the correct way of doing this?
05-19-2010 01:02 PM
Hi Priti,
You are correct, any dot command is ignored in the SPICE netlist. This does not include .subckt or .ends, etc. The easiest way is to perform you analyses through Multisim (Simulate>>Analyses>>Transient Analysis). The results will automatically be drawn to the Grapher View window. Once you see the results in the Grapher View, you can save the graph in a variety of formats such as plain text, LVM, TDM, CSV or DLM.
Hope that helps.
05-20-2010 09:33 AM
When one gives these commands through the GUI...there must be a netlist that is generated and sent to the graph viewer..that has all parameters and outputs..... is there a way to view that netlist?
Also Im looking for exact the netlist syntax for voltage source and the specification for output voltages to save...do you know how they are specified?
Thanks!
05-20-2010 12:37 PM
Viewing the SPICE netlist is easy in Multisim. Click View>>SPICE Netlist Viewer.
There are no netlist equivalents to these actions you execute in the GUI.
05-20-2010 01:03 PM
05-20-2010 02:43 PM
You can use the XSPICE Command Line Interface (Simulate>>XSPICE Command Line Interface). You can use the source command to load a SPICE netlist from disk. You can find more about SPICE commands from here:
http://newton.ex.ac.uk/teaching/CDHW/Electronics2/userguide/
I'll warn you that not all things that you can execute in Multisim's GUI you can execute in the CLI. YMMV. Good luck!
05-20-2010 11:05 PM
05-21-2010 02:13 AM
Hi Yi,
Using the XSPICE Command line I am trying to load my my netlist using the 'source file' command...but the circuit is not getting loaded..the netlist file is a .cir file.... I can only run other commands once my circuit is loaded..could you suggest a way to do that through the XSPICE command line interface..is there a specific file type that it accepts?
Thanks,
Priti
05-21-2010 03:49 PM
Try this:
That should generate for you some pretty plots. Hope that helps.
05-22-2010 02:45 AM
Thanks Yi...will try this
Regards,
Priti