Open Variable Connection
- Updated2025-03-14
- 3 minute(s) read
Opens a connection to a shared variable.
You cannot buffer data that you read or write with this function. To enable buffering, use the Open and Verify Variable Connection or Open Variable Connection in Background function instead.

Inputs/Outputs
![]() ![]() data type specifies the data type of the shared variable or I/O variable container. For I/O variable containers, you must specify an array data type. This input is available only if the data type has not been previously specified. You can specify a data type by placing a checkmark in the Specify Data Type checkbox on the Configuration page of the Properties dialog box for the variable refnum. If you specify the data type upon opening the connection, this terminal is unavailable on subsequent read and write functions. ![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() access specifies read access and write access settings for the shared variable connection.
![]() ![]() error out contains error information. This output provides standard error out functionality. |