01-11-2024 11:55 AM
Hello,
I have a very complex code that is running into memory issues, so I am trying to improve how I handle certain events to improve memory. One aspect of the code is 8 waveform graphs that have cursors set up, and if the user changes the location of one cursor, the others cursors will automatically change in kind. I created a simplified code, which I will post, that shows how I handled this, which involved a lot of property nodes. I believe property nodes are known to take up memory, so I wanted to see if there was a better way to get all the cursors to match across the graphs.
I appreciate your input!
(I am using labview 18 if that matters)
Solved! Go to Solution.
01-11-2024 12:25 PM - edited 01-11-2024 12:26 PM
You only seem to be interested in the x position, so all you probably need is one event case for all:
(Make sure the cursor events for all graphs are set to 1 even history)
And no, none of this has anything to do with "memory problems" (sic). If you want to solve memory problems, we would need to see the rest of the code.
01-11-2024 05:18 PM
Thanks for this. This is much cleaner. I'll implement this. It's unfortunate that this wont help me with using less memory, but it still should help clean everything up.