Issue
The specified network variable is not dynamic.
Environment
LonMaker
NL220
Vista
LNS
Cause
This exception may be thrown if you attempt to assign a static network variable to a LonMarkObject with the AssignNetworkVariable method, unassign a static network variable from a LonMarkObject with the UnassignNetworkVariable method, or delete a static network variable with the Remove method.
Resolution
You can determine if a network variable is dynamic or not by reading its IsDynamic property.