Retrieve and configure Historian tag attributes
This procedure describes how to read from and configure attributes for a tag on an Historian server.
Procedure
- Add a workflow that will be used to configure the attributes of an Historian tag.
- In the navigator, click .
- In the Workflows list, select the resource you want to work with.
- In the Displays panel, click .
- Click the Workflow Editor tab.
- Insert an activity:
- At the workflow level:
- From the Standard Activities panel, click and drag the activity you want to insert to a drop point.Note: Activities can exist only between the presubprocess and postsubprocess.
- From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
- At the subprocess level:
- Double-click the local subprocess you want to add the activity to.
- From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
- At the workflow level:
- On the activity configuration panel, click Configure Method.The Configure Method dialog box appears, displaying a list of the available call method service providers.
- Double-click IProficyHistorian to display the list of available call methods.
- Click GetTagAttributes, and then click Finish.
- Configure the call method as follows:
- In the Historian Address field, click the ellipsis button, and then select the Historian server with the tag whose attributes you want to retrieve.
- In the Tag Name field, enter the name of the Historian tag whose attributes you want to retrieve.
- For each tag attribute you want to change, insert a Write activity into the workflow, after the call method, and then configure it as follows:
- Repeat steps 7 through 11.
- Click SetTagAttributes, and then click Finish.
- Configure the call method as follows:
- Click Save.
- Run the workflow, or, on the Test/Debug tab, test the workflow to ensure that your input parameters are configured correctly.