Currently, we can trim data forward and backwards in time. But we cannot currently delete entire channel readings. For example, I have a saved capture file with an analog channel. I want to remove the analog channel as it doesn’t give any useful information for my purposes and I want to reduce the file size down. Currently, I would need to perform another capture to make this change. I feel like this should be a feature that can be added to a capture file.
One could also consider a situation where a certain captured channel may have exposing information in it and should be deleted before being sent to a client.
Actually, it would be great if we could make some generic changes to a capture and either allow us to save or save as.
In my cases, there are times I want to update which LLA or HLA analyzers are included in the capture. Or slight variant need to update the information as I am developing the LLA or HLA and something changes, like maybe I introduced a new setting, which then causes the HLA error out each time I then load it, so have to then delete it and re add it each time I load the capture.
Thanks, next time I need to work with the USB capture stuff I will have to try the save as again.
I tried it a long time ago in the beta cycle and it did not work then, but maybe I screwed up.
As I mentioned above It has been a long time since I last did this, so maybe it is no longer an issue.
But at the time when I added a new option to an HLA,. It would cause the HLA to error out when the HLA is used by an older saved SAL file. That is suppose that I have a saved setup with the HLA that has:
class Hla(HighLevelAnalyzer):
# List of settings that a user can set for this High Level Analyzer.
DisplayFormat = ChoicesSetting(
label='Display Format',
choices=('Dec', 'Hex')
)
DisplayLevel = ChoicesSetting(
label='Outputs',
choices=('Data', 'All')
)
HCIChannel = NumberSetting(label='HCI Channel', min_value=-1, max_value=3)
...
And I have saved out several captures. And then I decide to update the HLA and add a new setting, like maybe sometimes I would like the capture to include start of frame information, so I add:
Something like:
That at least before If I loaded a saved capture that used this HLA, the python code would error out, and I would need to remove the usage and add it back in… Wish instead it would load up and run and fill in the new option with a default value…
But it has been a long time and maybe that already happens?
@KurtE Sorry for the wait. I just confirmed the issue on my end. Having said that, this is a fairly niche situation that would likely not occur too often, though I could be wrong. Do you find yourself adding and deleting settings often in between loading capture files that use them?
I did end up adding a comment to the idea post below, since it seems most similar.
The main feature request in the above forum post would likely be the priority however, since it’s a more common situation.
In the case of the USB one, I would hit it more often as I would more often find situations where maybe I want a new option. Although it then settles down.