Waveform name alias feature

Hi All and @KSKelvin

New feature is just added to add a waveform name alias. I requested this to have improved publication grade waveform capture.

Any suggestion? I will relay it to Mike

2 Likes

I was actually thinking of this very thing earlier today. Like why does “I()” and/or “V()” have to be displayed along with the waveform object label.

This is definitely a very good upgrade. :slightly_smiling_face:

However, this should be by default, and not by way of an added feature.

nobody mentioned this to him since LTspice time till now I suppose…

@physicboy

Let me show you one confusing example :slight_smile:
If anyone setup .param and .func with the same name…
Without parentheses () in waveform viewer for .func, my major concern is that how we suppose can differentiate that expression is a parameter name or function name. As these two schematics now return the expression alias as different meaning. Of course, this confusion only occur if someone define both .param and .func with same name, but it actually quite possible in having this type of setup.

In this example : alias is .param alias
.func and .param 1.qsch (931 Bytes)

In this example : alias is .func alias()
.func and .param 2.qsch (933 Bytes)

Here is an example illustrating why V() and I() are required. A current source and a net can share the exact same name; without these prefixes, it would be impossible to differentiate between them.
Normally,

  • V(<name>) is a net voltage
  • I(<name>) is current through that device
  • <name> is .param
  • <name>() is .func
    It is possible to setup a schematic by using having exact same name for all four.

V and I.qsch (3.0 KB)

My point is that traditional SPICE was designed so that anything displayed in the waveform viewer is immediately identifiable—whether it’s a net voltage, device current, parameter, or .func. Currently, if you see a label like Itest, it’s unclear whether it represents a .param or a .func without reviewing the schematic.
V and I and param and func.qsch (3.1 KB)

Hi all,

I have recently wrote to Mike with some of my suggestions that I believe are relevant to this topic.
If you could also support some of these ideas, then we could convince him to consider implementing them.

See my suggestion below:

Suggestion 1 – Alternative placement of plot legends

In one of my typical use cases, I need to inspect multiple generated PWM signals. For this, I use the Plot_N + 1.1*N technique to vertically separate the signals. As shown in the attached screenshot, this works well, but the legend on the left side consumes a considerable amount of plotting area. It would be very useful to have the option to display the legend above the waveforms, similar to LTspice. Ideally, both layouts could remain available, allowing the user to select the preferred legend position.

Suggestion 2 – Labels for individual plot panes

For documentation purposes, it is often necessary to add labels or titles to individual plot panes.

It would be very helpful to have a built-in option to add a custom title or label to each plot pane.

Suggestion 3 – Text callouts and annotations

Another useful feature for documentation would be the ability to place text callouts or annotations, optionally with arrows, at arbitrary positions within a plot.

This would make it much easier to highlight specific operating conditions, events, transitions, or other points of interest directly on the waveform.

Suggestion 4 – Persistent grid setting

It would be useful to have an option in the settings to enable or disable the waveform grid permanently. Currently, when the grid is enabled, the setting appears to apply only to the current session, and QSPICE does not retain the preference for subsequent simulations.

Suggestion 5 – Improved cursor visualization and measurements

When two cursors are placed on the same plotted signal, it would be helpful if both cursors matched the color of the corresponding waveform while using different markers or styles to clearly distinguish Cursor 1 from Cursor 2.

Additionally, when two cursors are enabled and a plot pane is active, it would be very useful to always display the ΔX and ΔY values.

Suggestion 6 – Automatic waveform measurements

If possible, enable the plotting of the calculated average, minimum, maximum, peak-to-peak, RMS, and similar quantities instead of just writing the result to the measurement window. Having these measurements readily available in the waveform viewer would simplify many common analysis tasks.

First, I agree with many of your suggestions. Based on my experience with feature requests, here are a few tips:

  1. Submit feature requests one at a time (prioritizing your most important item), exercise patience, and wait for the right timing.
  2. Clearly explain how the feature benefits Qspice users. Provide a screen capture or an example schematic to demonstrate why the current behavior needs modification.
  3. Consider whether the feature is actually feasible to implement, and be specific.

For example, regarding suggestion 1, this is more of a personal preference; I guess it is hard to get prioritized. Suggestion 2 can be done if you copy the plot and paste it into PowerPoint, so it also seems hard to get prioritized. I am not saying these are not good suggestions, as adding plot label is available in LTspice; but just keep in mind that Mike is busy, and modifications are normally accepted only if they are worth prioritizing.

If you move the cursor to the background, you always get the cursor delta. In Qspice, cursor 1 is always the last active marker. I fully agree that it would be helpful to better distinguish the cursors, because when you copy the chart, it’s hard to tell which one is cursor 1 (last active) and which one is cursor 2. Additionally, cursor labels can overlap. Since there are multiple cursor-related items, I suggest breaking your request down and request one by one.

1 Like

I suppose its better not to mess around with duplicate name even for different purpose…

My request is simply to have an extra option to show different name, and I suppose Mike just do it by path of least resistance. I suppose this and many quirks in Qspice that only veterans will know are basically coming from same reason.

@toms Those are great suggestion, I love the suggestions 1 & 2. Anyway, as @KSKelvin said, we need to be strategic with our request.

1 Like

@KSKelvin Thanks for your tip. I will keep it in mind for next time.
Since I already sent these suggestions to Mike I guess it will be spamming if I sent him again the same requests one by one.

Maybe some of the other users who like some of the suggestions could consider sending a request to Mike.

Number 5, to automatically set the color of the cursors to the same color with its corresponding plot would help a lot many new users. If you try for example to put 4 cursors in 2 panes (2 per pane) they all have red color and it is difficult to distinguish between them.

In the updated version of Qspice, having a function name (with no arguments) match a parameter name now triggers an error. This resolves the potential confusion I previously raised regarding the waveform name alias feature.

Great …

Even for pushing request collaboration is needed…

1 Like