Load a trend template from a button using the invoke command

If you are setting up only one, or two buttons on a display, use the invoke command option.
TIP:
If loading a template created in version 6.1 or earlier, the Model information (
FactoryTalk Historian SE
server name) on the
Pens
tab of the
Trend Properties
dialog box will be blank. Running the trend after the older template is loaded does one or more of the following:
  • If the
    FactoryTalk Historian SE
    server name does not exist, but there are
    FactoryTalk Historian SE
    servers configured in
    FactoryTalk Directory
    , the assumption is that the data is from the first
    FactoryTalk Historian SE
    server configured and the trend will read the data from that server.
  • If the
    FactoryTalk Historian SE
    server name does not exist, and there are no
    FactoryTalk Historian SE
    servers configured in
    FactoryTalk Directory
    , the trend will not read data from any other
    FactoryTalk Historian
    servers.
To load a trend template from a button using the invoke command:
  1. Add a button to a graphic display, and then click the
    Action
    tab.
  2. Click the browse button next to the
    Release Action
    box.
  3. In the right pane of the Command Wizard, click
    Invoke
    , and then click
    Next
    .
  4. From the
    Display
    list, select the name of the graphic display where the trend object is
    .
  5. In the
    Object
    box, type the name of the trend (the default name is
    Trend1
    ).
  6. In the
    Property
    , or
    Method
    box, type
    LoadTemplate
    .
  7. In the
    Method Parameters
    box, type the name of the template you want to load, enclosed in quotation marks.
  8. Click
    Invoke method in object
    .
  9. Click
    Finish
    .
  10. Click
    OK
    to close the
    Button Properties
    window.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal