Export waveform directly from schematic in a simple way?

Hi,

I want to export V(b) for example. I am wondering if is possible to export directly from the schematic with a simple command like .export V(a) csv or something like that. Do you think will be possible something like that?

Export can be done with a command. What’s interesting is that in the latest Qspice update, Mike implemented the .system command, which allows Qspice to execute a command once the simulation completes. [Refer to Qspice Help > Simulator > Command Reference > Execute System Commands (.system)]

Here, I have set up an example that uses this command to export a CSV file directly from the schematic. Did you submit this request to Mike? Prior to this .system command, there was no way for a direct export through the schematic.

system-exportCSV.qsch (2.2 KB)

Hi Kelvin, Right now I wanted to write you :slight_smile: because I didn’t know how exactly to do the correct export (it’s new for me too), but now I see your example, I will try it. Thanks.

Yes, I emailed Mike 2 days ago, I presented to him what I would like to obtain (what I also wrote here in this topic), and Mike found it interesting, and then implement this. Thanks too, Mike.

Kelvin,

Is it not possible to export and when making parameter stepping?

Is it not possible right now to have the values ​​for each three V(out) in the exported excel?

I have no issue in running a .step with .system… move your schematic file to other path and retry?

system-exportCSV(step).qsch (2.3 KB)

1 Like

Its ok now. It works also at me. Thanks.
I had opened the generated csv file in the same time when I ran the qspice schematic, that’s why that “error” appeared in qspice: could not create output file…

@KSKelvin how to export in csv file these (multiple) differential signals: V(out,a) and V(in,out)?
system-exportCSV.csv (32.2 KB)


I think there is a problem even if I try to export the waveforms from File->Export


After clicking ok:

The issue is not with exporting, but with Qspice reading back a .csv file that was exported with a format like “V(A,B)” for the differential channel. Qspice appears to read the header line with “,” as a separator and with a format like “V(A,B)”, it interprets it as V(A and B), leading to errors in parsing the line. However, this is just my speculation. Please consider sending this to Mike for review.