6

Bug Report - Channel Names not saved in Preset

  • Held for moderation
  • Live

Avatar
Tim

Users have recently reported that channel names sometimes do not get saved when saving settings as a Preset.
support.saleae.com/user-guide/using-logic/saving-loading-and-exporting-data

We unfortunately cannot reproduce the issue. If you are experiencing this issue, please let us know! Video evidence would also be extremely helpful.

For video reference, here is our attempt at reproducing the issue (we couldn't reproduce it):
MacOS: vimeo.com/542857980/a5991d082f
Win10: vimeo.com/552591859

UPDATE 5/19/21:
It looks like we were able to reproduce the issue following comment #60560 below:
MacOS successful reproduction (towards end of video): vimeo.com/552611502
- Note: this is not the exact same issue as in #60560, since the user reported that the channel names would reset upon re-enabling the channel. This wasn't the case here. In our case, the channel names reset upon closing and re-opening the sw. We logged this anyways in case this is related

A

Activity Newest / Oldest

S

Sean

Hi Tim. This issue occurs under other circumstances, too, often very basic scenarios:

1) Open Logic (currently 2.3.38) -> Observe that *some* preset gets loaded - channels are named according to some naming scheme I've given them in the past, though *not* most recently.
2) Ensuring all this is done with tab "Session 0" active (according to a previous bug identification): change channel names.
3) Save Preset.
4) Close and re-open Saleae - Observe the first-mentioned channel names are displayed, not those that I thought I was saving.

If I open the preset file in a text viewer, I see something curious: my desired channel name JSON/dictionary entries *are* present, but they are followed by those that keep being displayed when I don't expect them to and these unexpected channels are noted as being *ANALOG* channels, even though no Analog channels are enabled in my capture configuration. It looks like the Saleae app displays the last 16 channel entries in the preset file, even if they're labelled as analog and there are no analog channels configured. If I create a second session tab and *then* load my preset, I see the first tab populated with the unexpected channel names but the new, second tab shows the channel names that I thought I'd saved in my preset.

I tried to attach the preset file that I refer to but I'm allowed to upload images only, it seems - you can still see the issue in the attached image, though.

Note that the preset I tried to save has only 15 (not 16) active channels - perhaps this is relevant.


Avatar

Tim

Thanks! I've got your observations added to our internal notes on this bug. I don't think we'll need your preset file for now since we're able to reproduce this, but I'll let you know in case we change our mind on that. This is still on our backlog to fix.


Avatar

Tim

We've implemented a fix in v2.3.39! Can you try it out below?
www.saleae.com/downloads/


S

Sean

v2.3.37 still has this issue. As per other users, I'm not doing anything particularly fancy; I name the channels, save a preset, take some measurements, restart PC, reload the preset - channel names are not default but nor are they what they were when preset was created.

I do double-hyphenate some channel names (e.g. "SS - CTP4 - MOD"). Could this be causing encoding/compression issues and the preset storage is actually being silently rejected due to poor formatting/invalid characters?


Avatar

Tim

We'll retest this on our end. In the meantime, can you confirm if it helps to remove the hyphens? Also, do you find that the issue only occurs when you restart the PC? What happens if don't restart? I'll keep you updated on our findings.


S

Sean

Hi Tim. Thanks for such a speedy response.

I believe I've found the issue.

Saving a preset while Session n is the active tab (n > 0) only allows you to apply that preset when Session m is active (m >0). Saving a preset when Session 0 is active allows you to apply the preset to ANY active tab. If you do not save your preset from Session 0, you will not be able to apply it to Session 0.

e.g. 1) Create a second tab ("Session 1"), 2) re-label channel(s), 3) Save to preset, 4) Activate tab 1 ("Session 0"), 5) Load preset - FAIL, 6) Activate tab 2 ("Session 1"), 7) Load preset - SUCCESS.

There is no issue with the label formatting - spaces, hyphens do not cause this bug.


Avatar

Tim

Oh interesting. That certainly sounds like it could be a bug. Thanks for the detailed steps. I'll be in touch again once we tested this out more.


S

Sean

Thanks Tim.

For now, you might want to advise users to create and save presets from "Session 1" tab as a temporary workaround.


Avatar

Tim

Hi Sean, bug confirmed! I'll get this on our backlog.


S

Sean

Thanks Tim.


Avatar

Tim

Status changed to: Live

Avatar

Tim

(#60660)
"The issue is the Channel names. I changed the names of all channels. As you can see the default names are coming up for you. After three or 4 loads along with running and stopping a recording they come up.

So the issue is the channel preset names are not loading on the first attempt."


Avatar

Tim

(#60684)
"With the new version of Logic 2, I can save a preset, but the names for the channels are lost. That is very annoying, to type again 16 channels with new names !"


Avatar

Tim

(#60650)
"Presets may loose channel names"


R

Romain

Hi Tim,
For the moment I am not able to say if I am doing anything special... just open Saleae (analyser already plugged), load preset and sometimes the channel names are loaded, sometimes not. When not, I have to rename channels and replace the preset.

Configuration: WIN10, Saleae 2.3.27, Logic Pro 8, 6 digital channels enabled, SPI analyzer


Avatar

Tim

(#60560)
"SW forget the channel name, even if set and saved as preset, after a while, if the channel is not used, when reactivated both the name and the voltage scale is reset"


Avatar

Tim

"I could reproduce it the following way:
1. Start logic SW
2. Load saved preset (CH A0-A5, 12.5MS/s, 8GB buffer, specific names for each channel) (added in the mail)
3. Begin acquisition, leave it until memory buffer full. – all fine (max sample is at 12.5MS/s)
4. Disable three or more channels, increase the sample to max (50MS/s)
5. Begin new acquisition, leave it until memory buffer full. – all fine
6. Enable one or more of the disabled channels
7. The new enabled channels now have the naming removed and are back to Channel x
By following the above, the problem will appear after a while, but quite often"


Avatar

Tim

(#60177)
"Hello, when I use Logic 2.3.26 and save preset, next time when I load the preset or restart the Logic, only Analog channel names are restored and all digital are back to ChannelXX names. Eg. I use 16 digital channels and 2 of them display as analog too. After restart it remembers only the names on 2 analog channels. Could you look at it, please?"


Avatar

Tim

(#60325)
"I am using the latest alpha release 2.3.26.
When I restart, the channel names are lost. Even when I try to save these in a preset, the preset reloads everything except the channel names. What can I do?"


Avatar

Tim

"- A video of the problem (showing all the steps you took to reproduce it)

Unfortunately I cannot reproduce it today, I did install the latest version last week however.

- Is the issue reproducible 100% of the time by following the steps shared above and in your video?

Yes, it was 100%. Even saving and loading it to and from a preset did not restore the names. The names were OK in the preset file though. Looks like a loading problem.

- Did you also happen to have any other Saleae logic analyzer connected to your PC at the time? If so, what model were they?

No, only 1 Saleae."


Avatar

Tim

"I know now how to reproduce it:
* Give the channels a name
* Enable/disable some channels in the channel selection
* Move some channels up or down
* Exit
* Start again: channel names are lost"


Avatar

Tim

(#60074)
"All channels are named in the preset. But when loading the preset, only some of the names are restored. I tried renaming all the channels and updating the preset; this did not help. Making a completely separate new preset does work, however."


Avatar

Tim

discuss.saleae.com/t/lost-labels/1014
"Often, when I close Logic 2, the labels on the signals get lost, and revert to the default channel x values. Should these be saved on change, or do I need to take specific action?"


Avatar

Tim

From another idea post, currently unpublished:
ideas.saleae.com/b/feature-requests/save-capture-settings-as-presets/

"Has this been fixed? Else voting up. Have been adding the names to each channel the x15th time now. Starting to piss me off :o)
...
Hi. I did the following
1. Change channel names.
2. Save a preset
3. Turn of Logic2 (2.3.26)
4. Start Logic2
5 Load preset
Channel names still Channel 2.... saved names not loaded
...
Hi Tim,
Sorry for late reply, super busy at work those days.
Im using Logic Pro 16 on Lenovo T15p Windows 10 PC.
This seems to be working now for some reason just when I was about to make video for you.

Will make video when I see this again.

Thanks for superb support.
Stefan"