# How to Alarm history in Mapp view running PPc2100 Linux OS

**URL:** <https://community.br-automation.com/t/how-to-alarm-history-in-mapp-view-running-ppc2100-linux-os/7266>\
**Category:** HMI & Visualization\
**Tags:** mapp-alarmx\
**Created:** [June 11, 2025, 1:37pm UTC](https://community.br-automation.com/t/how-to-alarm-history-in-mapp-view-running-ppc2100-linux-os/7266 "2025-06-11T13:37:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![veeresh.suranagi](https://avatars.discourse-cdn.com/v4/letter/v/FF8800/32.png) [@veeresh.suranagi](https://community.br-automation.com/u/veeresh.suranagi)\
**Post date:** [June 11, 2025, 1:37pm UTC](https://community.br-automation.com/t/how-to-alarm-history-in-mapp-view-running-ppc2100-linux-os/7266/1 "2025-06-11T13:37:00Z")

</div>

Hi All,

couldn’t be able to store the alarm in alarm history Mappview running @ PPC2100 ,

Operating System: Linux,

Please help on this

---

<div class="post-metadata">

**Author:** ![rafael.laury](https://avatars.discourse-cdn.com/v4/letter/r/FF8800/32.png) [@rafael.laury](https://community.br-automation.com/u/rafael.laury)\
**Post date:** [June 11, 2025, 5:41pm UTC](https://community.br-automation.com/t/how-to-alarm-history-in-mapp-view-running-ppc2100-linux-os/7266/2 "2025-06-11T17:41:54Z")

</div>

Hi Veeresh,  
In order to use MpAlarmXCore and MpAlarmXHistory in mapp View, you need to do the following:

1. Add the configurations ([B&R Online Help](https://help.br-automation.com/#/en/6/services/mapp_services/mpalarmx/config/konfiguration.html)) for MpAlarmXCore and MpAlarmXHistory in the mapp Services package under your processor in the Configuration View.  

2. Configure any alarms in the MpAlarmXCore configuration.

3. In mapp View, if you are trying to use the [AlarmList](https://help.br-automation.com/#/en/6/visualization/mappview/widgets/data/alarmlist/widgets/alarmlist.html) and [AlarmHistory](https://help.br-automation.com/#/en/6/visualization%2Fmappview%2Fwidgets%2Fdata%2Falarmhistory%2Fwidgets%2Falarmhistory.html) widgets, you will need to add the MpServer library. To do this, go to the Logical View \> Libraries, double-click the “B&R Libraries” in the toolbox, and select “MpServer”. This will add it to your used libraries.  

4. Navigate to your mapp View Alarms page and add the AlarmHistory widget. Bind it to your MpAlarmXHistory MpLink.  

5. Add and configure as many AlarmHistoryItems as you would like to monitor.  

Please follow up with any questions or further issues you may have.

---

<div class="post-metadata">

**Author:** ![veeresh.suranagi](https://avatars.discourse-cdn.com/v4/letter/v/FF8800/32.png) [@veeresh.suranagi](https://community.br-automation.com/u/veeresh.suranagi)\
**Post date:** [June 11, 2025, 11:31pm UTC](https://community.br-automation.com/t/how-to-alarm-history-in-mapp-view-running-ppc2100-linux-os/7266/3 "2025-06-11T23:31:35Z")

</div>

[Alarm History not saved in linux OS-ppc2100.docx](https://community.br-automation.com/uploads/short-url/61OPQoo2cYayFB1Nq5dka0gF2PZ.docx) (204.9 KB)

Hi ,  
All above already done.

In simulation its working fine but in pc its alarm history did not come.

I have one doubt, how to mention file name in our Automation studio created in linux OS.

This is the right path?

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/0/01b0a14c5a86ba11cb364413dd4c3ce6a23ab035.png)

fyr

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/6/69f433c36a443fcf9cb7a6b0dcebd2924f94fed4.png)  
 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/f/f051b01615c20dfca451b5f15dfb8f5fadc2cfbd.jpeg)

---

<div class="post-metadata">

**Author:** ![pavel.vavra](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/pavel.vavra/32/9893_2.png) [@pavel.vavra](https://community.br-automation.com/u/pavel.vavra)\
**Post date:** [June 13, 2025, 5:49am UTC](https://community.br-automation.com/t/how-to-alarm-history-in-mapp-view-running-ppc2100-linux-os/7266/4 "2025-06-13T05:49:59Z")

</div>

Hello,

If I understand correctly, the issue is that you can only access the Automation Runtime file system using File devices in a CPU configuration.

One possible solution would be to use an FTP server on Linux. You can create a file device that represents this FTP server using the [DevLink](https://help.br-automation.com/#/en/4/libraries/fileio/fbks/devlink.html) FUB.

---

<div class="post-metadata">

**Author:** ![marcusbnr](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/marcusbnr/32/256_2.png) [@marcusbnr](https://community.br-automation.com/u/marcusbnr)\
**Post date:** [June 13, 2025, 7:14pm UTC](https://community.br-automation.com/t/how-to-alarm-history-in-mapp-view-running-ppc2100-linux-os/7266/5 "2025-06-13T19:14:11Z")

</div>

The easiest way to start (especially if you want to get something working) is to just use the default file device with Name USER and path USER\_PATH. This will point to the User partition and works in both simulation and a real target. In simulation, files will be stored in your project’s Temp directory. On a real target, they will end up on the F:\ partition.

How does Linux factor into this test? If you are working with file devices on a PPC2100, then I assume the PC has Automation Runtime installed, which means that you can access files within the AR file system. In this case, “/home/” doesn’t point anywhere; you need to reference everything from the User partition. Do you mean that you have Automation Studio installed into a Linux OS and you’re trying to run ARSim from Linux? This is not officially supported (Automation Studio is only supported in Windows) so while this may be possible somehow, I imagine you could run into weird issues (like files not being where they’re expected to be).

---

<div class="post-metadata">

**Author:** ![s4gia](https://avatars.discourse-cdn.com/v4/letter/s/FF8800/32.png) [@s4gia](https://community.br-automation.com/u/s4gia)\
**Post date:** [June 15, 2025, 10:02am UTC](https://community.br-automation.com/t/how-to-alarm-history-in-mapp-view-running-ppc2100-linux-os/7266/6 "2025-06-15T10:02:34Z")

</div>

Dear @marcusbnr,

In relation to your question

> How does Linux factor into this test?

please take a look at this [thread](https://community.br-automation.com/t/how-to-display-mappview-screens-in-5ap1120-1505-0000-ppc/7142/11). It seems like _both_ threads refer to the _same_ PPC2100 device and configuration.

Hope this clarifies a few things…

Thank you and Best Regards,  
AK

---

<div class="post-metadata">

**Author:** ![marcusbnr](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/marcusbnr/32/256_2.png) [@marcusbnr](https://community.br-automation.com/u/marcusbnr)\
**Post date:** [June 16, 2025, 12:50pm UTC](https://community.br-automation.com/t/how-to-alarm-history-in-mapp-view-running-ppc2100-linux-os/7266/7 "2025-06-16T12:50:49Z")

</div>

Yes, that does help. Thanks for the info, Alexander!

In a Hypervisor system, Linux and AR are running independently on the same hardware. They have their own CPU cores, RAM allocation, and drive partitions. You cannot use a file device to write to a Linux file path directly from AR, so I still recommend using the USER\_PATH variable to start. You can then access your files via FTP using the [internal Ethernet interface](https://help.br-automation.com/#/en/4/automationruntime/targets/hypervisor/isc.html) since they will be stored on a drive partition used by AR, not Linux.

As Pavel said, another option is to mount the FTP connection using DevLink. However, for the purposes of this thread, I’d say it makes sense to ensure your Alarm History configuration and export code is working before you make the process more complicated.
