How to save .meas results in a text file using PyQSpice?

I am trying to run a qspice simulation through python. I can run the simulation and plot traces from my script. I am facing an issue with the .meas statements. I can see the results in the output window, but can’t save them for future use. How can I save those output window results in a text file using my python script?

We just had a discussion few days ago about using system command. Please review if it help. In general, you can search this forum if similar question has been asked.

It worked! Thank you, Kelvin.

1 Like