Creating and Configuring Twitter Account Device

Scenario: You want to configure the Twitter Account Device.

 

Reference: For background information, see the reference section.

 

Workflow diagram:

 

 

Prerequisites:

  • Created Twitter Account, Notification Application Registration, and Twitter Application Settings.
  • System Manager is in Engineering mode.
  • System Browser is in Management View.

 

Steps:

1 – Create and Start a Twitter Driver
  1. Depending on where to add the Twitter driver, select one of the following:
  • Project > Management System > Servers > Main Server > Drivers
  • Project > Management System > FEPs > [FEP Station] > Drivers
  1. In the Object Configurator tab, click New and select New Twitter Driver.
  1. In the New object dialog box, enter a unique description.
  1. Click OK.
  • The Twitter driver displays in System Browser and is selected by default.
  1. In the Operation tab, navigate to the Driver Status property and click Start.
  • The Twitter Driver is created and started.

 

2 – Configure a Twitter Driver
  1. In System Browser, select the Twitter driver and click the Driver Editor tab.
  1. (Optional) In the Driver Settings expander, modify the description.
  1. In the Configuration Properties expander, proceed as follows:
  • In the Device Request Timeout field, enter 30000 (value in milliseconds).
  • In the Check Status Rate field, enter 300000 (value in milliseconds).
  1. In the Notification Integration expander, proceed as follows:
  • In the Batch Size field, set the value as 10 (default is 100). Batch size specifies the size in which the request is processed by the driver. The batch size displays the number of devices to which Notification interacts in one instant. For example, if there are 100 devices on which a message has to be displayed and a batch size of 10 is entered, Notification will send the message to batches of 10 devices each.
  • Enter a value into the Expected delivery time field (default is 5 seconds).
    NOTE: Notification does not guarantee that the message delivery will be completed within the time entered here. This value is solely used to compute delivery statistics indicating whether the message delivery to Twitter was on-time or not.
  1. Click Save .
  • The parameters are configured for the Twitter driver.

 

3 – Create a Twitter Account Field Network
  1. Select Project > Field Networks.
  • The Object Configurator tab displays in the Primary pane.
  1. Click New and select New Twitter Account Field Network.
  1. In the New Object dialog box, enter a name and description.
  1. Click OK.
  • The Twitter Account Field Network node displays under the Field Networks node.
  • The Twitter driver is automatically associated to the field network. In the Network Editor tab, under the Network Settings expander, you can see that the values are preselected, and the driver is already assigned.

 

4 – Create Twitter Account Device
  1. Navigate to Project > Field Networks > Twitter Account Field Network.
  1. Click the Network Editor tab.
  1. Click Create .
  1. In the New object dialog box, enter a name and description.
  1. Click OK.
  1. In the Device Editor tab that displays, proceed as follows:
  • In the Device Settings expander, enter a description.
  • In the Configuration Properties expander, configure the parameters as detailed in Twitter Account Device Workspace.
  1. Click Save .