¿ªÔÆÌåÓý

Re: .MEAS Failure


 

On Mon, Feb 24, 2025 at 05:38 PM, Tony Casey wrote:
By default, the .raw file is written with single precision; this option enables double precision (and approximately doubles the .raw file size).
Although that is true for voltages and currents, time values are always saved to the .raw file with double precision.? Time is special in that way.
?
What probably happened here is that the Waveform Cursor pop-up window itself displays the numbers with less precision than they are saved in the .raw file.
?
You can probably see that effect in a couple of ways:
  1. Export the waveform data to a text file.? Then open the text file and examine the data.? The first column (time) should have enough precision to reveal that the two time values are distinct.? (Not guaranteed, but likely.)
  2. Offset the time axis in the waveform viewer.? Right-click on the X axis labels and change the Quantity Plotted from "time" to "time-8.0469636m".? That shifts those time values close to 0 in the plot, allowing the Waveform Cursor pop-up to display them with better precision.
?
I am certain there was no simulated point where the voltage data was exactly ==2.? The .MEAS statement is not lying.? It knows that it was on one side of 2 at one point, and on the other side of 2 on the next point, so it must have crossed 2.00000000000 between those two, but not a point that was simulated.? It has to interpolate.
?
Andy
?

Join [email protected] to automatically receive all group messages.