http://www.linear.com/solutions/1815
The above web-page explains how to export the waveform data to a text file. You basically run the LTspice simulation, clicking on the waveform window, go to File>>Export
, chose the variable to be exported and then specify the filename (usually a .txt
is convenient). I am looking for a spice directive (or any other command) to automate this process.
I can run the spice file through LTspice using the command line. However, to export the waveform data, I still need to access the GUI. This is botching up my plan to use a python script to simulate the circuit for varying parameters. Any insights are appreciated.
.WAVE
might be worth a look, then maybe you could read that using Python. \$\endgroup\$