Memory Slots

Pathfinder Core Pro's Memory Slots provide a named location for storing data that can be used in Logic Flows. You can create and view Memory Slots via this link. You can also monitor the slot’s changes in real-time and alter the value of a memory slot directly from this page.

Add a memory slot by clicking the plus icon on the bottom-right corner of the memory slot list.

Pathfinder Core PRO has six different types of Memory Slots. Each one has its own options and properties:

  • Memory Slot: This is the traditional memory slot into which any kind of data may be stored

  • Latching Memory: This memory slot can only have a value of True or False; its write-only property is called Trigger; using a Logic Flow end point, you can set the trigger property to true and the slot value will toggle from true to false, or from false to true; see the latching example in the Logic Flows section of this manual for more details

  • Numeric Memory Slot: This memory slot only accepts numbers; its write-only properties are increment and decrement; use this in Logic Flows where you need to increment or decrement the value in the memory slot

  • Sap Property Memory Slot: This slot allows you to assign any property in the system to this memory slot; when this property value changes, the slot is updated with that value; the ellipsis button can be used to select the property to be used with this slot; it will present a property selection dialog similar to that of the dialog in Logic Flow endpoint editing

  • String Builder Memory Slot: This slot allows you to build a string based on values in other Memory Slots; the “IncludedSlots” field is used to enter a comma-delineated list of memory slot names to use in the builder; the pattern field is a text pattern with bracketed numbers used where slot values from the comma-delineated list should be inserted, for example:

In this case {0} will be replaced with the value of slot A and {1} will be replaced with the value of slot B. If Slot A’s value is "Fred" and Slot B’s value is "Telos Alliance", the value of this new memory slot called MyBuiltSlot would be: The Name is Fred and it is located at Telos Alliance. The value of this slot will update whenever Slot A or Slot B updates. This slot can be used to build text which is then used as labels on buttons or commands to generic emulators. When the included slot list contains slots that are Sap Property Memory Slots, this memory slot type can become even more powerful.

  • Time Stamp Memory Slot: This slot can be used to grab time stamps, which can be useful in displaying the last time something happened in a user panel

When you first create a time stamp memory slot, you will probably not apply a value. The pattern field can also be left blank. It can be used to specify the format of the time stamp which we will describe in more detail below. After creating the timestamp memory slot, it can be used in Logic Flows by applying an endpoint to the SetTimeStamp write-only property of the memory slot. For example:

This Logic Flow will set the memory slot to the current date and time every time the specified GPIO pin goes low.

The format of the date time stamp can be changed using the pattern field. If you edit the memory slot again you will see that the default format has been assigned to the memory slot:

Startup State Drop-down

The startup state drop-down applies to each of the memory slot types above and requires some explanation. This option allows you to determine the value of the slot when the system first starts up and before any flows are executed. It can be blank, a fixed value as defined when you create the slot, or last known. It is important to understand the last known option will attempt to store the state in the database each time the memory slot state changes. This can be more CPU- and time-intensive because of the compact flash storage within the Pathfinder Core PRO. As a result, this option should not be used in situations where the existing state of Axia devices will reset the memory slot to the correct state via the flows as the flows start-up anyway.

Last updated