![]() |
AccessMode








Public Data Item |
Declared in: NiBinding.h |
Declaration
AccessModes AccessMode;
Description
Specifies the access mode for the connection.
Pass one of the values listed below.
- CNiBinding::Read - read once when you establish the connection. Call the Update function to cause subsequent reads.
- CNiBinding::ReadAutoUpdate - read once when you establish the connection and automatically read again when the data at the data source is updated. This mode is valid only for DSTP and logos data sources.
- CNiBinding::Write - write the data once when you establish the connection. Call the Update function to cause subsequent writes.
- CNiBinding::WriteAutoUpdate - write the data once when you establish the connection. The CNiDataSocket object writes the data automatically when the value or any attribute changes. This mode is valid only for DSTP and logos data targets.