This dialog allows to define new [JSup tag|tags] or to edit existing ones. It can be accessed from: * [JSup Tag list dialog|Tag list dialog]; * [JSup Alarm list|Alarm list] by pressing the ''Edit tag'' button or with a double click over an alarm; * [JSup IOHook list|I/O Hook list] with a double click on an [IOHook|I/O Hook] row. The ''Tag dialog'' allows defining all the aspects of a [JSup tag|tag]: * '''Domain''': define if the tag belongs to the [JSup domains|Shared or User domain]. * '''Tag name''': the unique name of the [JSup tag|tag] (the name must be unique along all [JSup Replaceable objects|Replaceable objects]). When the edited [JSup tag|tag] is about to be renamed a warning message like [img:///img/JSup/tag_dialog_tagRenameW.png] is displayed: to avoid tag rename when a [#Cloning a tag|clone] was desired. * '''Description''': A brief description of the [JSup tag|tag] usage/meaning. For boolean [JSup tag alarms|alarm tags] this is also the default alarm description (can be customized with the @B [JSup Using tag properties|property]). * '''Alarm group''': define the [JSup alarm groups|alarm group] the [JSup tag|tag] and its [JSup tag alarms|alarms] belong to. * '''Tag class''': a [JSup tag|tag] can inherit many properties from its [JSup Tag classes|tag class]. It's another way to classify [JSup tag|tags], even if they (currently) don't need properties; and a convenient way to quickly change the [JSup Using tag properties|properties] of a group of [JSup tag|tags]. * '''Array dimensions''': if you need to define a [JSup Tag arrays|tag array] you have to specify its dimension size(es) in these fields. For a mono dimensional [JSup Tag arrays|tag array] only a dimension have to be entered (the number of elements of the array). For a multi dimensional (up to 3) [JSup Tag arrays|tag array] enter a comma separated list of dimensions. * '''Type specific properties''': A set of properties that is specific for the [JSup Tag type|type of the tag]. The '''alarm definition''' is also defined (in this area) if the [JSup Tag type|tag type] support [JSup tag alarms|alarms] (see [JSup boolean tag alarm definition|boolean tag alarm definition] and [JSup analog tag alarm definition|analog tag alarm definition]). ((([img:///img/JSup/tag_dialog.png]))) * '''Flags''' area: a set of check boxes to set some advanced [JSup tag|tag] features and behaviours: {| | | |width=30% valign=top| * [JSup Read only tags|Read only] * [JSup Alarm only tags|Alarm only] * [JSup Shared only tags|Shared only] * [JSup Mailbox tags|Mailbox] |valign=top| * [JSup Linkable tags|Linkable] * [JSup Retentive tags|Retentive] * [JSup Logged tags|Log] * Tag used: informative only; checked when the [JSup tag|tag] seems to be used and cannot be [JSup Deleting tags|deleted] (see [JSup Updating tag usage status|Updating tag usage status]). |} * '''I/O Hooks''': this list shows and defines the tag [IOHook|I/O Hooks] to communicate with remote device. When an [IOHook|I/O Hook] of an existing [JSup tag|tag] is changed a warning message like [img:///img/JSup/tag_dialog_ioChangedW.png] is showed to avoid existing tag edit instead of a [#Cloning a tag|tag cloning]. * '''Properties''': allows to define [JSup Using tag properties|tag properties] and to override properties inherited from the [JSup Tag classes|tag class]. You can define language specific properties (for a [JSup Multilanguage support|multilanguage application]). * '''Edit tag classes''': a quick access to the [JSup Tag classes|tag class] definition so new one can be created (or an existing one can be edited) without leaving the tag definition. === Saving tag === By pressing the '''Ok''' button the [JSup tag|tag] is saved in the [JSup tag database|tag database] of the [JSup application|application] and the ''Tag dialog'' will be closed. By pressing the '''Save''' button the [JSup tag|tag] is saved in the [JSup tag database|tag database] of the [JSup application|application] and the ''Tag dialog'' remain opened, so more changes can be done to the [JSup tag|tag] or the saved tag can be '''cloned'''. === Cloning a tag === After the ''Tag dialog'' is just opened to edit an existing [JSup tag|tag], or after the edited/added [JSup tag|tag] is just saved (with the ''Save'' button) the displayed '''[JSup tag|tag] can be cloned''' (by pressing the ''Clone'' button) to create a new [JSup tag|tag] starting from the current [JSup tag|tag] definition. At least the tag name must be changed and then cloned [JSup tag|tag] can be saved (with the ''Ok'' button if no more clones are needed, with the ''Save'' button if you want to create more clones). When the current [JSup tag|tag] definition has to be saved (because of some changed field) no [JSup tag|tag] clone is possible.