How do I generate an output file for .meas?

Does anyone know how to generate an output file for the .meas?
Feels like the .system with QPOST and switch -o could be used but I haven’t been able to figure it out.

1 Like

It can be done more directly if the entire process is performed in command mode, as QUX.exe always converts *.qsch into a *.cir (netlist in text) where .meas are all included in the *.cir as text format. QPOST.exe loads .meas from a text file, either from the *.cir or the script file you created. However, to run it from the GUI, as the *.cir is not stored, the only option is to load .meas from a script file.

Here is an example of how you can use .system to save post-processing data into a file called “QPostResult.out”

.system - ExportQPost.qsch (1.1 KB)
meas-script.txt (158 Bytes)

Thanks for the explanation.

I was hoping to get away with something like

.system %QPOST% "%DECK%" -r "%RAWFILE%" -o "test.out"

Too bad that the *.cir file isn’t saved.

I really don’t want to keep the .meas statements in a different file so I guess I won’t be generating a .meas output file then.

You can use the %DECK% syntax if you run your simulation from the netlist. But there are additional few clicks in running simulation from netlist. The netlist have to save into a .cir.

.system - ExportQPost-Netlist.qsch (1.5 KB)