# Single Tag Import from Controllogix AOI's

**URL:** <https://forum.inductiveautomation.com/t/single-tag-import-from-controllogix-aois/10286>\
**Category:** Ignition\
**Created:** [July 28, 2015, 7:25pm UTC](https://forum.inductiveautomation.com/t/single-tag-import-from-controllogix-aois/10286 "2015-07-28T19:25:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DSI600](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@DSI600](https://forum.inductiveautomation.com/u/DSI600)\
**Post date:** [July 28, 2015, 7:25pm UTC](https://forum.inductiveautomation.com/t/single-tag-import-from-controllogix-aois/10286/1 "2015-07-28T19:25:41Z")

</div>

Anyone have a better way to import tags into Ignition besides the xml format and drag and dropping.

All of my Alarms are in an AOI - and all I need is just one bool out of the AOI to tie an alarm too. So it does not make sense to drag and drop the whole AOI which would alot of tags. If I drag and drop the single “alarm” bool I have to edit it and rename it and with around 1000 alarms to import would be a lot of work. I find the xml format clunky and hard to deal with. If I forgot to copy the exact lines correctly the import fails and I have to search through it to find where the problem is.

It would be nice to export the tags out of CLX to .csv and import them some how.

---

<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 28, 2015, 7:48pm UTC](https://forum.inductiveautomation.com/t/single-tag-import-from-controllogix-aois/10286/2 "2015-07-28T19:48:54Z")

</div>

For these sorts of things I usually use PHP: start with a single XML entry you wish to import, wrap it in a PHP looping construct, and place the substitutions in the body of the XML. Presumes some knowledge of PHP, but it is wicked fast. Just run PHP from the command line and save the output to a new XML file for import.

---

<div class="post-metadata">

**Author:** ![DSI600](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@DSI600](https://forum.inductiveautomation.com/u/DSI600)\
**Post date:** [July 28, 2015, 7:56pm UTC](https://forum.inductiveautomation.com/t/single-tag-import-from-controllogix-aois/10286/3 "2015-07-28T19:56:42Z")

</div>

Thanks for the reply - But I am not sure what PHP is…lol

---

<div class="post-metadata">

**Author:** ![DSI600](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@DSI600](https://forum.inductiveautomation.com/u/DSI600)\
**Post date:** [July 28, 2015, 8:22pm UTC](https://forum.inductiveautomation.com/t/single-tag-import-from-controllogix-aois/10286/4 "2015-07-28T20:22:50Z")

</div>

I found that it can take an .csv import - so I was able to take all of my tags from the CLX .csv and create some excel CONCATENATE to get the tags to format and tie to the PLC the way I wanted. Just doesnt allow any alarming config through the CSV import.
