Calling the "slrt" command from within App Designer does not seem to work.
I have an App created in App Designer to interface with SLRT machines. One of the buttons initiates the connection with the target by calling:
Then I check the connection with
However this always returns false. It seems like when the "slrt" command is called from within an App Designer callback, the connection does not seem to be made. However when I call the same command in the base workspace, it does create the connection with the target and everything works.
For an example to reproduce the issue, refer to the attached app "connectApp.mlapp".
1. Open "connectApp"
2. Click the "Connect" button
3. The connection status should be green if connected, red if not. You can also check in "slrtexplr".
4. Note that you can only change connection status by running "slrt" in the Command Window but not in the app callback.