Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

Error: NS #287 lcaErrNsLmobjInUse

Issue

The specified LonMarkObject is in use, and at least one of its member network variables is bound.

Environment

LonMaker
NL220
Vista
LNS

Cause

This error may be thrown if you use the Remove or RemoveByIndex methods to delete a LonMarkObject with the lcaLonMarkObjectRemoveNVs (1) option set as the removalFlags element, and that LonMarkObject contains bound network variables.

Resolution

The bound network variables must be disconnected before the LonMarkObject can be deleted. You can disconnect the network variables by specifying the lcaLonMarkObjectRemoveAndDisconnectNVs (3) option as the removalFlags element when you call the Remove or RemoveByIndex methods

Tags (1)
Labels (1)
Version history
Revision #:
1 of 1
Last update:
3 weeks ago
Updated by: