Echelon LNS Manual de usuario Pagina 222

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 368
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 221
LNS Programmer's Guide
208
Property Name Description
UseBoundUpdates
If set to True, this property enables implicit binding.
With implicit binding enabled, LNS will attempt to
create connections without user intervention. Changing
this option through the CurrentOptions property does
not have an effect.
Before using this property, you should review the Using
Network Variable Monitor Points section, which
describes different ways you can use implicit binding.
This property must be set to False for temporary monitor
sets and points.
Default Value: False
NOTE: In the NvMonitorOptions object accessed through the DefaultOptions
property of a network variable monitor point, the PollInterval and
ThrottleInterval properties will initially be set to lcaDefaultMcpInterval (-1).
The GenerateInitialFetch, ReportByException, ResetPollingIfUpdated, and
SuppressPollingIfBound properties will be initially set to lcaDefaultMcpOption(-
1). This causes the values of those properties to always match the corresponding value
stored in the monitor set’s NvOptions object. As noted previously, the values of all the
other properties of the monitor set’s NvOptions object are only applied to monitor points
as they are added to the set, and so changes to the monitor set’s NvOptions object are
not retroactively applied to the monitor points already contained in the set for any other
properties.
Message Monitor Point Options
To recap the previous discussion in this chapter, you should follow these steps when
setting the monitoring options for your message monitor points:
1. Set the defaults for the monitor set by writing to the MsgOptions
property of the MonitorSet object. The following code sample sets the
default values for the FilterByCode, and FilterBySource properties.
Dim MsgMonitorPointOptions As LcaMsgMonitorOptions
Set MsgMonitorPointOptions = MyMonitorSet.MsgOptions
MsgMonitorPointOptions.FilterBySource = True
MsgMonitorPointOptions.FilterByCode = True
Set MyMonitorSet.MsgOptions = MsgMonitorPointOptions
For descriptions of the properties of the MsgMonitorOptions object, see
MsgMonitorOptions Object on page 209.
2. If you do not want a message monitor point in the monitor set to use the
default options established in step 1, set its defaults by writing to the
message monitor point’s DefaultOptions property. Note that these
changes will not be applied to a monitor point that is in an open monitor
set until the monitor set is closed and re-opened.
Echelon recommends that you set the DefaultOptions property in the
same transaction that you create the message monitor point whenever
possible. The following code sample sets the default values for a message
Vista de pagina 221
1 2 ... 217 218 219 220 221 222 223 224 225 226 227 ... 367 368

Comentarios a estos manuales

Sin comentarios