card

Top-level container for a device within an XML or OGD file. Encapsulates a device within a .frame file. Note this tag should not be used as a container within an OGLML document.

Syntax

<card autosave="auto-save"
online="true" slot="slotno" sourceframe="frame-node-id"
sourceframename="device-name" sourceid="card-node-id"
status="status-level" statustext="status-text" version="2.0">

Attributes

Attribute

Values

Restrictions

Description

autosave

true

false

 

If true, DashBoard will automatically save contents of the resources specified in the file from data store periodically.

online

true

false

 

Sets the device’s online status. Normally should be set to true.

slot

Integer

 

Defines the slot-id for the device. 

sourceframe

String

 

node-id of the frame or device.

sourceframename

String

 

Name of the device. This is the top-level name shown in the DashBoard Tree

sourceid

String

 

The original node-id of the virtual device (used when saved as the offline configuration of a real device)

status

0

Not required for PanelBuilder

Status OK

1

Status WARN

2

Status ERROR

statustext

String

Not required for PanelBuilder

Status text for the node.

version

String

 

Set to 2.0.

Default values shown in bold.

Example

The following example defines a device (openGear card) installed in a frame called “Demo Frame”, slot 10. The device’s node id is “172.16.7.230:5253(Slot10)SPG-8260”.

<card online="true" slot="10" sourceframe="172.16.7.230:5253"
sourceframename
="Demo Frame"
sourceid="172.16.7.230:5253&lt;br>Slot 10&lt;br>SPG-8260"
status="0" statustext="OK" version="2.0">

</card>