Troubleshoot Working with Persistent Variables
When running the getPersistentVariables
function or setPersistentVariables
function, this error appears:
Cannot parse the file that stores persistent variables from target computer. To clear the issue, delete all persistent variables on target computer. For more information, see Troubleshoot Working with Persistent Variables.
What This Issue Means
This error message indicates that the file on the Speedgoat® target computer that stores the persistent variable values is corrupted or unreadable.
Try This Workaround
To resolve this issue, clear the persistent variable values that are stored on the target computer.
On the development computer, create a
Target
objecttg
and connect to the target computer.tg = slrealtime; connect(tg);
Use the
setPersistentVariables
function to clear the persistent variable values that are stored on the target computer.setPersistentVariables(tg,[]);
See Also
getPersistentVariables
| setPersistentVariables
| Persistent
Variable Read | Persistent
Variable Write