Error: NS #285 lcaErrNsLmobjNotDynamic

Issue

The specified LonMarkObject is not dynamic.

Product Line

TAC Vista

Environment

LonMaker
NL220
Vista
LNS

Cause

This exception may be thrown if you attempt to assign a network variable to a static LonMarkObject with the AssignNetworkVariable method, unassign a network variable from a static LonMarkObject with the UnassignNetworkVariable method, or delete a static LonMarkObject with the Remove method.

Resolution

You can determine if a LonMarkObject is dynamic or not by reading its IsDynamic property.