Hello,
Using the Overlay Simulation function of Qspice has brought me a lot of convenience. However, I want to ask if there is a way to offset the time of the imported waveforms. For example, the Vdrain waveform in the figure is from the csv data measured by my oscilloscope. This way, I can align different waveforms. Additionally, can’t the range of the time axis be modified after running the simulation? For example, I want to change it from 0 - 20us to 0 - 100us.
Not aware of any method to align data by the x-axis using the waveform viewer. But if you not mind to prepare your .csv data as two-column data [time, data] without a header and load it with a PWL V-source with the instance parameter Trigger. Here is an example and an explanation of how this method works.
Vsource - Trigger - PWL File.qsch (2.8 KB)
data-RemoveHeaders.csv (1.8 KB)
Thank you for the provided solution. It does work. However, it would be more convenient if we could directly edit the time offset of the imported data in the waveform viewer in the future!
The V-source PWL has a TD (time delay) attribute you can use.
I’ve used it. Try it. It works when replacing “trigger=(time>60m)” with “TD=60m” in Kelvin’s example sim.
Len
PS: A negative TD also works if you need it!


