This sample page requests the array of memories defined in JMRI, via the JMRI JSON WebSocket server. The server responds with the array, and enables listeners that will resend the array if memories are added or deleted. This page adds/updates table rows for these entries. It also requests each memory individually, for which the server sets up an update listener and sends any changes for that memory.
The IMCURRENTTIME memory is updated each fast-time minute, so these changes will show automatically as the clock changes. You can also test by adding or deleting memory values in JMRI, and by changing the value of memories.
NOTE: this page contains considerable logging, so it is advised to run it while watching the javascript console, using Chrome's DevTools or similar.
| System Name | User Name | Value | Comment | S | U | V | C |
|---|