Main Page | Features | Central Services | csv-Files | Types | Transfer | Access | API-C | API-VB/ActiveX | API-Java | Examples | Downloads
TINE Data Access and Flags

Below is a list of the available data access flags

A TINE data request is accompanied by an access code. At the client-side, the request might be made by specifying any combination of CA_READ access and CA_WRITE access. Note that by default, any data exchange will automatically carry the CA_READ access bit. TINE servers are also open to CA_READ access from any client on the network. Data requests specifying CA_WRITE access must pass through the TINE security mechanism (see the discussion concerning users.csv, ipnets.csv, and ipxnets.csv). It is generally suggested that those data-exchange requests which involve commands to change hardware settings or otherwise directly access front-end hardware always require CA_WRITE access. The server equipment module can then examine the access code in the data request. At the server-side, the following access bits can be checked against the data access list shown below.

The scope bits CA_FIRST and CA_LAST can be quite useful, as the initial data access for a particular contract (which is being polled) might trigger some activity which is not needed in subsequent requests. Likewise, the final data request (when the contract is being canceled) might also be used to terminate related background activities. Of course, single commands will always carry both the CA_FIRST and the CA_LAST bits, as the request is merely transient and is coming into scope and going out of scope at the same time.

The access bit CA_CONNECT is entirely analogous to the transfer mode bit CM_CONNECT (please see the discussion there). It is offered as an access bit in the case of synchronous calls using ExecLink(), in which case there is no possibility to otherwise modify the transfer mode (de-facto CM_SINGLE).

List of data acquisition access flags


Generated for TINE API by  doxygen 1.5.8