Hello Mango's Community,
I'm creating a BACnet based control system for databases built by a software we built.
In that "design" software we say which devices are in the system (instance ids, objects identifiers, types, etc..)
And in the "control" system I want to show the devices and their status and be able to control them.
I am using MA, I've based my main.js script on the bacnetTest.js file.
Whenever I get an IAmReceived, I check if it's in the database and add a field to a node with its objects (i.e. d0001_b01 for device_id 1:binary 1)
And then on the JSP Page, I created a function that inserts the addViewFunction script with the appropriate node and field name.
The system is now working, but working very slow.
Writing input to the devices is very slow (writeProperties is a blocking method) and I can't do a lot of commands in a row.
The polling sometimes fail because of high delay (everything is running sequentialy)
I'm afraid that bigger configuration will cause the system to not function at all.
Do you have any other methods I could try to accomplish my goal?
Or maybe change something about the way I'm inquisting?
Thanks,
Eli.
TriDiNetworks