# MappView Alarm ,Audit Export

**URL:** <https://community.br-automation.com/t/mappview-alarm-audit-export/12155>\
**Category:** HMI & Visualization\
**Tags:** mapp-services, mapp-audit\
**Created:** [July 31, 2026, 12:59pm UTC](https://community.br-automation.com/t/mappview-alarm-audit-export/12155 "2026-07-31T12:59:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elanthamilan.arumuga](https://avatars.discourse-cdn.com/v4/letter/e/FF8800/32.png) [@elanthamilan.arumuga](https://community.br-automation.com/u/elanthamilan.arumuga)\
**Post date:** [July 31, 2026, 12:59pm UTC](https://community.br-automation.com/t/mappview-alarm-audit-export/12155/1 "2026-07-31T12:59:02Z")

</div>

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

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/9/98049b560c98c3f567bfcc29ed6dee002284fb4e.png)

 ![image](https://europe1.discourse-cdn.com/brcommunity/original/2X/9/917d65892f3d11d4854626993a1024509e7fb776.png)

I have configured MpAlarmX,MpAlarmXHistory , **MpAuditTrail** and the Audit widget in mappView. The audit history ,alarm history is displayed correctly on the HMI mappview.

When I click the **Export** button:

- **In Simulation:** Export works correctly and the CSV file is created.
- **Runtime on the Windows Panel PC 3100:** Export fails with the following error:

```auto
-1064124498 : mpAUDIT_ERR_WRITE_EXPORT_FILE
Error writing export file

```

My file device configuration is:

```auto
Name : Alarms
Path : C:\Users\BLOKOMATIC\Desktop\Blokomatic\Alarm

```

The folder exists on the Windows Panel PC, and the application has write permission.

I have configured:

```auto
DeviceName := 'Alarms'

```

and I am exporting to the **Alarms** file device.

1. Are there any additional settings or permissions required for exporting audit files .alarm history?
2. Is there any difference between Simulation and Runtime regarding `MpAuditExport` file devices?

Any suggestions or examples of a working configuration would be greatly appreciated.

---

<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:** [July 31, 2026, 1:34pm UTC](https://community.br-automation.com/t/mappview-alarm-audit-export/12155/2 "2026-07-31T13:34:50Z")

</div>

Hi Elanthamilan,

This works in simulation because ARSim is running within Windows, so files can export to your Windows C:\ drive\*\*. However once you transfer your application to a real target, Automation Runtime only has access to its own disk partitions. Even if you’re running Hypervisor (Windows and AR both running on the same PC), the runtime side will only be able to access its own files. In order to make the export work, you’ll need to change the file path to something on the USER partition. You can use the keyword `USER_PATH` for this. For example, your file device configuration could be:

> Name : Alarms  
> Path : USER\_PATH\Alarm

\*\* This is only supported in AS 4.x, it is not allowed in AS 6.

---

<div class="post-metadata">

**Author:** ![david.nytko](https://avatars.discourse-cdn.com/v4/letter/d/FF8800/32.png) [@david.nytko](https://community.br-automation.com/u/david.nytko)\
**Post date:** [July 31, 2026, 8:14pm UTC](https://community.br-automation.com/t/mappview-alarm-audit-export/12155/3 "2026-07-31T20:14:05Z")

</div>

Hello,  
Usually these files are exported to the User Partition as Marcus has mentioned.  
You can then use the FileIO library and set up a USB connection to copy the files over to a USB when troubleshooting.  
If you would like to save the files onto a Windows folder then I would recommend setting up an FTP connection.  
On the Automation Runtime side you can use/reference this project to set up a network device [GitHub - br-automation-community/AS-NET: Sample application for mounting a network share on a B&R PLC · GitHub](https://github.com/br-automation-community/AS-NET)  
This community repo has other resources that may be beneficial to you as well such as setting up a USB file device or a mappview file explorer [GitHub - br-automation-community/awesome-B-R: A curated list of awesome B&R frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff. · GitHub](https://github.com/br-automation-community/awesome-B-R) .

---

<div class="post-metadata">

**Author:** ![kovarj](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/kovarj/32/537_2.png) [@kovarj](https://community.br-automation.com/u/kovarj)\
**Post date:** [August 24, 2026, 6:17am UTC](https://community.br-automation.com/t/mappview-alarm-audit-export/12155/4 "2026-08-24T06:17:41Z")

</div>

Hi @elanthamilan.arumuga what is status of your topic? can you update us and [Help Us Keep the Community Organized](https://community.br-automation.com/t/help-us-keep-the-community-organized/12197)

---

<div class="post-metadata">

**Author:** ![kovarj](https://dub1.discourse-cdn.com/brcommunity/user_avatar/community.br-automation.com/kovarj/32/537_2.png) [@kovarj](https://community.br-automation.com/u/kovarj)\
**Post date:** [September 6, 2026, 11:51am UTC](https://community.br-automation.com/t/mappview-alarm-audit-export/12155/5 "2026-09-06T11:51:04Z")

</div>

closed due to inactivity
