02-01-2018 10:19 PM
Hello!
I am using a MATLAB script node in my LV2017 application. (Which I compile to an EXE). It works great!
However, one very large annoyance that I'm running into is that after a certain period of time of inactivity, the MATLAB command window will time out as shown in the screenshot:
After this times out, there is no mechanism (known to me) to start a new session. This forces me to restart the LabVIEW EXE. (ouch)
Does anyone have any suggestions for me here? I'll take either:
Thanks!
Solved! Go to Solution.
02-01-2018 10:39 PM
An idea just popped into my head --> I can write a LabVIEW daemon to make small (basically no-op) call to a MATLAB script node every 60 seconds to prevent the session from timing out.
This is hokey, but it will atleast serve my purpose here until somebody potentially offers a better solution.
Thanks!
02-01-2018 11:16 PM
Whelp, I'm dumb.
Apparently, any call to the MATLAB script node will open up a new session if the previous session timed out.
Nothing to see here folks, move along