It is currently Mon Sep 01, 2014 10:33 am




Post new topic Reply to topic  [ 9 posts ] 
 Check If a Tag Is Used Before Deleting or Renaming 
Author Message
General
General

Joined: Wed Jul 29, 2009 10:55 pm
Posts: 171
Location: Ireland
Post Check If a Tag Is Used Before Deleting or Renaming
Hi

Not sure if this is possible but it would be useful if a check would be done to see if a tag is used in the project before Deleting or Renaming

Aidan

_________________
Regards

Aidan


Wed May 16, 2012 11:34 pm
Profile WWW
General
General

Joined: Tue May 31, 2011 6:27 am
Posts: 313
Location: Minnesota
Post Re: Check If a Tag Is Used Before Deleting or Renaming
Alternatively could we generate a list or highlight orphaned tags that aren't being used?


Thu May 17, 2012 6:17 am
Profile
General
General

Joined: Wed Jul 29, 2009 10:55 pm
Posts: 171
Location: Ireland
Post Re: Check If a Tag Is Used Before Deleting or Renaming
That is another good request. I suppose what I am looking for is similar to what a Control Logix can do. It will not allow a Tag to be deleted that is in use and also it will generate a list of all unused tags

Aidan

_________________
Regards

Aidan


Fri May 18, 2012 12:39 am
Profile WWW
Sergeant
Sergeant

Joined: Fri Aug 13, 2010 1:29 pm
Posts: 58
Post Re: Check If a Tag Is Used Before Deleting or Renaming
I think it would be impossible to make an accurate list of which tags are used or not used since tagnames can be constructed on the fly within scripts and through parameter passing to template windows.


Fri May 18, 2012 11:00 am
Profile
General
General

Joined: Tue May 31, 2011 6:27 am
Posts: 313
Location: Minnesota
Post Re: Check If a Tag Is Used Before Deleting or Renaming
jay wrote:
I think it would be impossible to make an accurate list of which tags are used or not used since tagnames can be constructed on the fly within scripts and through parameter passing to template windows.


I think you might be confusing the difference between a variable and a tag...


Mon May 21, 2012 4:49 am
Profile
General
General

Joined: Tue Mar 24, 2009 9:14 am
Posts: 880
Location: Hudson, MI
Post Re: Check If a Tag Is Used Before Deleting or Renaming
gbuehler wrote:
I think you might be confusing the difference between a variable and a tag...
Not necessarily. An example is here where tags are created via scripting. The problem that I see is that a tag can be used anywhere, across projects and even across servers, making it difficult to know exactly where a tag is being used.

_________________
Jordan

Duct tape is like The Force. It has a light side, a dark side, and it holds the universe together.


Mon May 21, 2012 5:02 am
Profile
General
General

Joined: Tue May 31, 2011 6:27 am
Posts: 313
Location: Minnesota
Post Re: Check If a Tag Is Used Before Deleting or Renaming
JordanCClark wrote:
gbuehler wrote:
I think you might be confusing the difference between a variable and a tag...
Not necessarily. An example is here where tags are created via scripting. The problem that I see is that a tag can be used anywhere, across projects and even across servers, making it difficult to know exactly where a tag is being used.


I retract my previous statement :oops:


Mon May 21, 2012 5:42 am
Profile
General
General

Joined: Tue Mar 24, 2009 9:14 am
Posts: 880
Location: Hudson, MI
Post Re: Check If a Tag Is Used Before Deleting or Renaming
Don't sweat it. I'll admit that it was an odd duck of an application. But it does show that if it can be done externally (not necessarily through Ignition) to a database, it can also happen to a tag. Learned that one the hard way, once. I had one script to giveth a tag and one script to taketh away. :lol:

_________________
Jordan

Duct tape is like The Force. It has a light side, a dark side, and it holds the universe together.


Mon May 21, 2012 8:17 am
Profile
Trooper
Trooper

Joined: Thu Mar 01, 2012 5:41 pm
Posts: 20
Post Re: Check If a Tag Is Used Before Deleting or Renaming
bump!!


PLEASE!!!!!!!! what this is absolutely necessary, and listed by project too!!!!


Fri Jun 13, 2014 1:01 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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: