The scan data and channel data exist at the same time. Is it possible to display the channel data block in a list at present? Can the scan data block also be displayed in a list at the same time?

On Mon, Jun 16, 2025 at 10:34 AM Tommy Z <tommy83033@gmail.com> wrote:
How should I implement lists of different data blocks? For example, the scan list has about 60 pieces of data, each with about 10 fields. It is different from the channel list, but I can't find a component to display the list data.

On Fri, Jun 13, 2025 at 11:00 PM via Developers <developers@lists.chirpmyradio.com> wrote:
It looks to me likes this is supported with banks, and you would want to use:
 
NamedBank(Bank)
     This is "Zone" in your radio
     Implement get/set name functions for 'Zone Alias"


BankModel(MappingModel)
    This is where you map the channels that belong in each NamedBank
    Implement the prototypes found in class MappingModel
  
-ascendr
 
Sent: Thursday, June 12, 2025 at 6:54 PM
From: "Tommy Z via Developers" <developers@lists.chirpmyradio.com>
To: "A list for discussion of chirp development" <developers@lists.chirpmyradio.com>
Cc: "Tommy Z" <tommy83033@gmail.com>
Subject: [developers] Re: how to load the secondary menu in the settings, or how to display other arrays in lists after the channel list
I read about the use of bank, and it seems that the channel is divided into several blocks for display, but the field names of my different data blocks are different. It seems that I cannot use bank, or I have not fully understood the use of bank.
image.png
 
On Wed, Jun 11, 2025 at 11:29 AM via Developers <developers@lists.chirpmyradio.com> wrote:
I'm assuming you are describing what Chirp calls bank memory where channels are assigned to banks. I've not implemented banked memory so someone else can probably offer more specifc advice. From what I can see it looks like you need to do a few things:
 
Tell the UI that you will have memory banks by setting radio feature: rf.has_bank = True.
If your radio has named banks set: rf.has_bank_names = True 

>From here you will need to implement a BankModel class, there are a couple to choose from depending on whether your memory is staticly assigned to a bank (StaticBankModel), present in 0 or more banks (BankModel), or members of multiple banks (MTOBankModel). Unless you have a StaticBankModel you will need to implement the BankModel (MappingModel) functon prototypes. 
 
You will also need to implement a Bank class, if your Banks have names the NamedBank class is what you want. 
 
The class references can be found in chirp_common: 
 
This driver was helpful to me as a reference for implementation: 
 
-ascendr
 
 
Sent: Wednesday, June 11, 2025 at 3:00 AM
From: "Tommy Z via Developers" <developers@lists.chirpmyradio.com>
To: "A list for discussion of chirp development" <developers@lists.chirpmyradio.com>
Cc: "Tommy Z" <tommy83033@gmail.com>
Subject: [developers] Re: how to load the secondary menu in the settings, or how to display other arrays in lists after the channel list
I'm sorry, I didn't express it clearly. I need to load data for a zone list, which has approximately 64 entries. Each entry needs to be loaded and support selecting multiple channels. I'm not sure how to achieve this in Chirp.
 
On Tue, Jun 10, 2025 at 10:24 PM via Developers <developers@lists.chirpmyradio.com> wrote:
 
It's not entirely clear what you want to accomplish. 
> how to load the secondary menu in the settings
Are you asking how to add extra settings to memory/channels or how to populate the Settings tab of the radio? 
>  display other arrays in lists after the channel list 
this will depend on the first question
 
-ascendr 
 
 
Sent: Tuesday, June 10, 2025 at 2:18 AM
From: "via Developers" <developers@lists.chirpmyradio.com>
To: developers@lists.chirpmyradio.com
Cc: tommy83033@gmail.com
Subject: [developers] how to load the secondary menu in the settings, or how to display other arrays in lists after the channel list
I am new to python, I want to add HA1G radio model to chirp, but I don't know how to load the secondary menu in the settings, or how to display other arrays in lists after the channel list. Please help me
_______________________________________________
Developers mailing list -- developers@lists.chirpmyradio.com
To unsubscribe send an email to developers-leave@lists.chirpmyradio.com
 
 
_______________________________________________
Developers mailing list -- developers@lists.chirpmyradio.com
To unsubscribe send an email to developers-leave@lists.chirpmyradio.com
_______________________________________________ Developers mailing list -- developers@lists.chirpmyradio.com To unsubscribe send an email to developers-leave@lists.chirpmyradio.com
 
 
_______________________________________________
Developers mailing list -- developers@lists.chirpmyradio.com
To unsubscribe send an email to developers-leave@lists.chirpmyradio.com
_______________________________________________ Developers mailing list -- developers@lists.chirpmyradio.com To unsubscribe send an email to developers-leave@lists.chirpmyradio.com
 
 
_______________________________________________
Developers mailing list -- developers@lists.chirpmyradio.com
To unsubscribe send an email to developers-leave@lists.chirpmyradio.com