Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Is there a way to batch-update tag names for controls?
PostPosted: Tue Jun 04, 2019 12:35 am 

Joined: Wed Nov 07, 2018 6:08 am
Posts: 5

Offline
Hi,

The tags in our iX projects are prefixed with the PLC name, e.g. "S1". We recycle a lot of our iX programs, but often the tags will have to be renamed or re-imported.

Is it possible to batch-replace e.g. "S1_" with "S2_" in the tag names used in panel controls, like numerical fields, buttons etc., instead of doing so manually?
Tag and alarm lists can easily be updated in Excel with search and replace, but there is a lot of manual work in updating the tag of every control object.


 Profile  
 
 Post subject: Re: Is there a way to batch-update tag names for controls?
PostPosted: Tue Jun 04, 2019 12:33 pm 
User avatar

Joined: Thu Nov 16, 2017 3:32 pm
Posts: 82

Offline
If you're just updating a tag name from Tags.S1_<tagname> to Tags.S2_<tagname> on each screen, you can do a search and replace in the XAML page on each screen.

Its not as ideal as an import, but it a bit easier than clicking each object on each screen. (See below for the example of an XAML page)
Attachment:
xaml_tags.png
xaml_tags.png [ 188.52 KiB | Viewed 486 times ]

_________________
iX Quick Links:
iX Reference Manual: https://www.beijerelectronics.com/en/Support/Help___online?docId=68072
iX Video Tutorials: https://www.beijerelectronics.com/en/Products/software/ix-hmi-software/Vimeo___video___page


 Profile  
 
 Post subject: Re: Is there a way to batch-update tag names for controls?
PostPosted: Thu Sep 05, 2019 5:52 am 

Joined: Wed Nov 07, 2018 6:08 am
Posts: 5

Offline
Russ C. wrote:
If you're just updating a tag name from Tags.S1_<tagname> to Tags.S2_<tagname> on each screen, you can do a search and replace in the XAML page on each screen.

Its not as ideal as an import, but it a bit easier than clicking each object on each screen. (See below for the example of an XAML page)
Attachment:
xaml_tags.png


Thank you Russ, that is very helpful.

Needless to say, I am now long past that particular task, but I will keep it in mind for next time.


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron