# Load Configuration file programatically

**URL:** <https://tech-community.robotics.abb.com/t/load-configuration-file-programatically/8977>\
**Category:** RAPID Programming\
**Tags:** automation, configurations, robotstudio-sdk\
**Created:** [July 18, 2019, 4:42pm UTC](https://tech-community.robotics.abb.com/t/load-configuration-file-programatically/8977 "2019-07-18T16:42:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jseward](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jseward](https://tech-community.robotics.abb.com/u/jseward)\
**Post date:** [July 18, 2019, 4:42pm UTC](https://tech-community.robotics.abb.com/t/load-configuration-file-programatically/8977/1 "2019-07-18T16:42:09Z")

</div>

Is there a way to programatically load a new configuration/parameters file through RAPID or the C# API?

---

<div class="post-metadata">

**Author:** ![lemster68](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/lemster68/32/1945_2.png) [@lemster68](https://tech-community.robotics.abb.com/u/lemster68)\
**Post date:** [July 18, 2019, 5:10pm UTC](https://tech-community.robotics.abb.com/t/load-configuration-file-programatically/8977/2 "2019-07-18T17:10:38Z")

</div>

Not the whole file, AFAIK. You can use WriteCfgData to modify parameters though.

---

<div class="post-metadata">

**Author:** ![jseward](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jseward](https://tech-community.robotics.abb.com/u/jseward)\
**Post date:** [July 18, 2019, 6:17pm UTC](https://tech-community.robotics.abb.com/t/load-configuration-file-programatically/8977/3 "2019-07-18T18:17:45Z")

</div>

Awesome! that may help move in the right direction. Can WriteCfgData be used to also create new parameters? Say I wanted to add a new DIO that my module would need for the test?

---

<div class="post-metadata">

**Author:** ![lemster68](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/lemster68/32/1945_2.png) [@lemster68](https://tech-community.robotics.abb.com/u/lemster68)\
**Post date:** [July 18, 2019, 6:26pm UTC](https://tech-community.robotics.abb.com/t/load-configuration-file-programatically/8977/4 "2019-07-18T18:26:50Z")

</div>

I don’t think so, but you could start off with spares or placeholder IO which you could then change.
