Steps to Build a Test Picture

Overview

Use the steps below to create two data links in Configuration Hub that point to the following tags that contain simulation data from the IGS driver:

  • A DI tag named Fix32.FIX.PUMP_STAT.A_CV, associated with the Simulation Examples.Functions.User3 I/O address.
  • An AI tag named Fix32.FIX.PUMP_SPEED.F_CV, associated with the Simulation Examples.Functions.User2 I/O address.

After you create the tags in Configuration Hub, you can create your picture in the iFIX WorkSpace. We will insert two real-time data links into that picture, along with a trend chart to display the historical data for one of the tags. Then, we will put the picture in run mode to view simulated data.

Create Two Tags in Configuration Hub

Add Two Datalinks to a Test Picture in the iFIX WorkSpace

Add a Trend Chart to a Test Picture in the iFIX WorkSpace

Create Two Tags in Configuration Hub

To create two test tags in Configuration Hub, follow these steps:

  1. Open Configuration Hub: from the iFIX WorkSpace, click the Applications tab, and then Configuration Hub.

    The Chrome browser should open with the Welcome screen displayed, as shown in the following figure.

  2. In the user name field, enter ch_admin and then the password you entered for the client secret for the Proficy Authentication user when you installed the Common Components with the integrated Proficy installer.
  3. Click Sign in. Configuration Hub screen appears.
  4. In the Navigation pane, select iFIX and then Database.

  5. Click the New button to add a new tag.
  6. For the name, enter PUMP_STAT, and for the Tag Type select DI - Digital Input.

  7. Click Create.
  8. With PUMP_STAT selected, on the Details pane, set the I/O Driver to IGS and the I/O Driver Address to Simulation Examples.Functions.User3.

  9. Click Save to save your database changes.
  10. With PUMP_STAT still selected, in the Limits and Scaling details, set Open Tag to STOPPED and Close Tag to RUNNING.

  11. With PUMP_STAT still selected, in the Historian details, set Collect to YES.

  12. Click Save to save your database changes.
  13. Click the New button again to add the second new tag.
  14. For the name, enter PUMP_SPEED, and for the Tag Type select AI - Analog Input.

  15. Click Create.
  16. With PUMP_SPEED selected, on the Details pane, set the I/O Driver to IGS and the I/O Driver Address to Simulation Examples.Functions.User2.

  17. Click Save to save your database changes.
  18. With PUMP_SPEED still selected, in the Historian details, set Collect to YES.

  19. Click Save to save your database changes.
  20. In the Navigation pane, click the Publish button to send your local changes to the iFIX database.

    The Publish dialog box appears.

  21. Click the Publish button. A message box appears when the publishing completes.

  22. Click Done. Now, you will be able to add these tags into an actual iFIX picture.

Add a Trend Chart to a Test Picture in the iFIX WorkSpace

The following steps describe how to add a Line Multiline chart to a new picture in the WorkSpace so that you can test your Historian connection.

  1. To insert a trend chart with a historical tag, from the iFIX WorkSpace, click the Insert tab.

  2. Select Line Multiline Chart. The cursor again turns into a cross-hair.
  3. Draw a rectangle where you want the chart to appear in the picture.
  4. Double-click the chart. The Line Chart Customization dialog box appears.

  5. On the General tab, set the Duration Time to 10 minutes.
    Tip: If you want to see the line move on the chart when the picture appears in the run mode, try changing the Historical Update Rate to 5 seconds, for example. Otherwise, be aware that the chart will appear as a snapshot in time.
  6. Click the Data Sources tab.
  7. In the Data Sources area, click the button to add a data source.

  8. Next, click the browse (…) button to open the Expression Builder.
  9. From the Expression Builder, click the Historian tab. If it does not show up, click the drop-down in the far right of the tab areas and select Historian there.

  10. From the Servers drop-down list, select the Historian server name.
  11. Select the PUMP_SPEED.F_CV tag and then click OK.

    You will return to the Data Sources tab on Line Chart Customization dialog box, with the historical data source you just selected, appearing in the list.

  12. With the data source selected, press Enter. (This releases the focus so that fields on the Time tab can be edited.)
  13. On the Data Sources tab, click the Time tab.
  14. In the Start Time area, change the Duration Before Now to 10 minutes.

  15. Click OK to return to the iFIX picture.
  16. Press Ctrl+S to save your picture. From the dialog box that appears, provide a name for the picture and then click Save.
  17. On the Home tab, click Switch to run to confirm that you can view the real-time and historical data with changing values.

    Tip: Ctrl+W toggles between Configure and Run mode.
    The following example shows a picture in run mode with changing values.

    Congratulations, you completed your quick start!