# Programmable Device Simulator - any way to configure via script?

**URL:** <https://forum.inductiveautomation.com/t/programmable-device-simulator-any-way-to-configure-via-script/55385>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [January 25, 2022, 11:00pm UTC](https://forum.inductiveautomation.com/t/programmable-device-simulator-any-way-to-configure-via-script/55385 "2022-01-25T23:00:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveRNeal](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@DaveRNeal](https://forum.inductiveautomation.com/u/DaveRNeal)\
**Post date:** [January 25, 2022, 11:00pm UTC](https://forum.inductiveautomation.com/t/programmable-device-simulator-any-way-to-configure-via-script/55385/1 "2022-01-25T23:00:59Z")

</div>

Good Afternoon,

I’m attempting to use a Programmable Device Simulator in my gateway in order to simulate various patterns for equipment we work with out in the field. Ideally I’d like to allow a user to configure the values through the vision client and have those configurations (BrowsePath, ValueSource, TimeInterval, etc.) be uploaded to the Programmable Device Simulator via a script, rather than having to manually log into the gateway configurations page and upload a .csv file. Is this at all possible?

Thanks!

---

<div class="post-metadata">

**Author:** ![jdahlinger](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jdahlinger/32/15735_2.png) [@jdahlinger](https://forum.inductiveautomation.com/u/jdahlinger)\
**Post date:** [January 25, 2022, 11:31pm UTC](https://forum.inductiveautomation.com/t/programmable-device-simulator-any-way-to-configure-via-script/55385/2 "2022-01-25T23:31:57Z")

</div>

No that isn’t possible now, but we do have an internal ticket open for eventually adding that capability to the `system.device.addDevice` function.

---

<div class="post-metadata">

**Author:** ![jdahlinger](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jdahlinger/32/15735_2.png) [@jdahlinger](https://forum.inductiveautomation.com/u/jdahlinger)\
**Post date:** [January 26, 2022, 12:00am UTC](https://forum.inductiveautomation.com/t/programmable-device-simulator-any-way-to-configure-via-script/55385/3 "2022-01-26T00:00:13Z")

</div>

I should add that it’s not entirely clear at this point if custom programs will be supported when that work is complete, or just those that are pre-defined. However I can say that it’s definitely under consideration and knowing that there’s value in it could make a difference. I’ve added your scenario to the ticket for when that work begins.

---

<div class="post-metadata">

**Author:** ![DaveRNeal](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@DaveRNeal](https://forum.inductiveautomation.com/u/DaveRNeal)\
**Post date:** [January 26, 2022, 1:47pm UTC](https://forum.inductiveautomation.com/t/programmable-device-simulator-any-way-to-configure-via-script/55385/4 "2022-01-26T13:47:25Z")

</div>

Thanks for letting me know. Yeah, if there was a way to input a csv file or a dataset to a Programmable Device Simulator through script that would be perfect. I’ll find a workaround for the time being.
