Skip to main content
InSource Solutions

TN IT365 Cycling Through Images While In Runtime

InSource_Logo_Transparent.png

Description

 

This article from InSource shows how cycle between multiple images that you have saved locally to your machine using the bitmap object while in runtime.

  • Author: Justin Benton
  • Published: 12/5/2019
  • Applies to: System Platform 2014 R2 SP1 and Above

Details

  1. In WindowMaker, select the bitmap object and move it to your window.

 clipboard_ef9645e44513134456ff3baaaca55c08a.png

  1. You'll need a memory message tag for this. You can use one you already have created or create a new one. For this example, I created one called "Messagetag"

clipboard_e77033754c79a92bf6212da0de2d850a9.png

  1. Double click the bitmap object to open its properties, then select Value Display String and add the tagname of the memory message tag you created.

clipboard_efcf1fa941f24961a687dc7f411bcb0ec.png

  1. Click the text input icon on the drawing pane, near the bitmap icon, and add it to the window using # as a place holder. The sizing may have to be adjusted.

clipboard_e5b938b8d5988eb29eadc57b74ae1aa0e.png

  1. Double click the text to open its properties, then select User Inputs | String.

clipboard_e73e5c0aeef4ba64cf1e11114b3d1aa3f.png

  1. Add the tagname of the memory message tag to the field. You can leave the rest of the options as default.

clipboard_ef1e2f00f7f63a3e8b1cd7a6692b2df96.png

  1. Save and go to Runtime.
  2. Enter the file path of your image into the text input field, and it should render in the bitmap object space.

clipboard_e0038190edf72b34ef5ae5f052656d679.png

 

  • Was this article helpful?