Forum Home › Forums › Understanding the Software › Archive Mask and Select Archives – How are they related?
- This topic has 8 replies, 3 voices, and was last updated 1 month, 3 weeks ago by
Mikhail.
-
AuthorPosts
-
July 13, 2026 at 7:36 pm #18137
Andi
ParticipantHello Mikhail,
while working on my Rapid SCADA project I noticed something that I do not fully understand regarding channel archives.
Every channel contains an Archive Mask value (for example 17 or 81) and there is also a Select Archives button.
However, when I click the Select Archives button, the dialog always opens with:
-Decimal value = 0
-all archive bits clearedThis happens even for channels whose Archive Mask column already contains values such as 17 or 81.
Nevertheless, the historical values are correctly written into PostgreSQL by ModArcPostgreSql, and Grafana displays them without any problem.
Therefore I would like to understand:
1. What is the difference between Archive Mask and Select Archives?
2. Which setting actually controls whether a channel is archived by ModArcPostgreSql?
3. Is it expected that the Select Archives dialog opens with all bits cleared although the channel table already contains Archive Mask values?
Thank you very much for your help!
July 14, 2026 at 9:00 am #18142
manjey73ParticipantThe presence of checkboxes should be present when you click on the Archive Selection with the specified mask.
I didn’t check, maybe you set the archive, but didn’t assign it a bit for the mask, as a result of which you lose the checkboxes? But in theory, if the bit is not assigned, then it will simply be missing from the list when selecting the archive in the channel.July 14, 2026 at 9:04 am #18143July 14, 2026 at 9:34 am #18146
MikhailModeratorHello,
In the Channels table, there are 4 columns (related to the question):
Archive Mask,
Select Archives,
Event Mask,
Select Events.If the Archive Mask cell contains, for example, 81, when you click the Select Archives button, the popup form should contain 81 and some checkboxes are checked.
If it doesn’t work, please provide screenshots.
July 14, 2026 at 6:01 pm #18148Andi
ParticipantHello Mikhail,
Thank you for your explanation.
Unfortunately, this is exactly the behaviour that I observe.
For example:
-The channel table shows Archive Mask = 17 (or 81 for a writable channel).
-When I click Select Archives, the popup always opens with:
-Decimal value = 0
-no checkboxes selected.I have attached screenshots that demonstrate this behaviour.
So it seems that the Archive Mask value is not transferred into the selection dialog.
Is there anything else I should check?
Thank you very much!
July 14, 2026 at 6:14 pm #18149Andi
ParticipantThank you very much, Manjey73, for your reply and for taking the time to provide the screenshot. It is a great help.
July 15, 2026 at 11:31 am #18151
MikhailModeratorHello,
In the screenshot provided, 17 is the event mask, while the clicked button is for archive mask.July 15, 2026 at 5:18 pm #18152Andi
ParticipantHello Mikhail,
Thank you for your clarification. You were absolutely right – I had mixed up the Event Mask and the Archive Mask. That explains why I was looking at the wrong value.
I then performed some tests with a single channel.
Results:
– If the Archive Mask is empty, the channel is written to the default archives, including the PostgreSQL minute copy (mincopy_historical), and Grafana receives the data.
– If I explicitly select only “Daily archive copy”, the data immediately stops appearing in Grafana because it is no longer written to the PostgreSQL minute archive.
– If I select only “Minute archive copy”, the data is written to PostgreSQL again and Grafana continues normally.
– If I select only “Minute archive” (without “Minute archive copy”), the data is still stored in the internal Rapid SCADA minute archive, but it is no longer copied to PostgreSQL, so Grafana no longer receives it.
These tests helped me understand how the archive selection works.
Thank you very much for your help!
July 16, 2026 at 11:15 am #18153
MikhailModeratorHello Andi,
Thanks for the detailed report 🙂 -
AuthorPosts
- You must be logged in to reply to this topic.