@aGlance Client Example: Configure the Slots
Slots are the IDX data placeholders for incoming/outgoing tag data. Slots are a shared resource, meaning any DM can read and write values to a slot. For this scenario, there are five tags which must be read from the @aGlance server and shared to an OPC Server to server OPC clients. Therefore, five slots must be configured with data types corresponding to those on the OPC servers. In this scenario, the remote data is represented locally by SLOT_1, SLOT_2, SLOT_3, SLOT_4 and SLOT_5. SLOT_1 and SLOT_2 are BIT values, SLOT_3 is a STRING value, SLOT_4 is a FLOAT value and SLOT_5 is an INTEGER value.
· Select the DB Slots tab. The main window list under this tab lists all the slots currently defined for the AAG_GATEWAY service. In this case, none have been defined so the list is empty.
· Start adding slots by entering a slot name in the Name of Slot field. Choose the DB Slot Type that corresponds to the required tag types. For this scenario, SLOT_1 and SLOT_2 will be added as BITs, SLOT_3 is a STRING, SLOT_4 is a FLOAT and SLOT_5 is an INTEGER.
· The added slots are listed in the slot list window. Double click on each slot to define slot properties , such as description, units and initial values.