Ok, I am not a beginner but definitely not great at OSI-PI ether. I am currently working on a project at work where we are gathering information from several tags and currently displaying them in a listbox using VBA. However we have run into a couple of "bugs" that I could use some help in solving.
1. We currently only run the script when that display file is open. This causes us to loose any data that would have shown up in the listbox while the window was closed(hidden). Is there a way to have a script running in the background as long as the whole ProcessBook file is open/active? (I guess i would be looking for something similar to a global or public script.)
2. It kind of follows the first question except that I am wondering if there is a way to actually write the data strings that we are creating (currently for the listbox) to a txt file instead, and just have the listbox populate itself from that txt file when the associated display file is opened for viewing?
I hope that makes sense. And thank you for any help in advance.