Issue
Using "Add All" can save time when making bindings in LonMaker.
Product Line
TAC Vista
Environment
- LonMaker
- SNVT Bindings
Cause
Multiple SNVT bindings in LonMaker can be time consuming to create but you can speed up the process significantly on some of your one-to-many bindings.
Resolution
For example say you have one Occupancy signal to pass to all or most of your controllers. After selecting your hub connection (the nvo_occupancy) in the Network Variable Connection dialog, and clicking "Add FB/SN's..." you'll see your subsystems. Select a subsystem that you know you want the SNVT to be passed to, right click on that subsystem and select "select all."
Once you have added the functional blocks to the Target window and clicked on one of the target inputs, you can select the "Add All" option to select every network variable that matches the currently selected target in all of the other functional blocks. This process will verify that the variables are the correct variable type and direction.
Now that you have a one-to-many binding you need to determine which of them need to be removed, e.g. the nviOccupancy on the controller whose nvo was the hub. After a final pass through you can select the "OK" button to complete the binding process.