# How to get all device driver types and driver name by script?

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-all-device-driver-types-and-driver-name-by-script/61927>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [July 15, 2022, 1:15am UTC](https://forum.inductiveautomation.com/t/how-to-get-all-device-driver-types-and-driver-name-by-script/61927 "2022-07-15T01:15:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [July 15, 2022, 1:15am UTC](https://forum.inductiveautomation.com/t/how-to-get-all-device-driver-types-and-driver-name-by-script/61927/1 "2022-07-15T01:15:47Z")

</div>

As title, I’d like to add device by script [system.device.addDevice - Ignition User Manual 8.1 - Ignition Documentation (inductiveautomation.com)](https://docs.inductiveautomation.com/display/DOC81/system.device.addDevice) manually, I don’t know what driver types avaiable on hand.  
Driver types and names as following

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/4/24ea47d7feaace9a52c4856d1521308d21fd57b9.png)

We are allowed to access gateway by

```auto
from com.inductiveautomation.ignition.gateway import IgnitionGateway
gateway = IgnitionGateway.get()

```

I have no idea what method to call next

Any ideas will be appreciated.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 15, 2022, 9:58am UTC](https://forum.inductiveautomation.com/t/how-to-get-all-device-driver-types-and-driver-name-by-script/61927/2 "2022-07-15T09:58:23Z")

</div>

These are internal details of the OPC Server implementation. I doubt you will be able to make this work for anything but the documented devices.

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [July 18, 2022, 6:33am UTC](https://forum.inductiveautomation.com/t/how-to-get-all-device-driver-types-and-driver-name-by-script/61927/3 "2022-07-18T06:33:22Z")

</div>

😂
