Network:Access Type Property

Short Name: Network.AccessType

Requires: Base Development System

Class: Variable Properties

To Use: Create a property.

Specifies whether a shared variable reads, writes, or reads and writes data.

Valid values are 0 (read only), 1 (write only), and 2 (read/write).

If you set this property to 0 (read only) or 1 (write only), you can create shared variables that are configured only to read data or write data, respectively. When you right-click a shared variable that is bound to a source that is read or write only, the Change to Write and Change to Read options are disabled in the shortcut menu.

An error occurs if you attempt to set this property when the VI is running.

This property is similar to the Access Type option on the Variable page of the Shared Variable Properties dialog box.

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead/Write
Available in Run-Time EngineNo
Available in Real-Time Operating SystemNo
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes