Short Name: Network.BuffSize
Requires: Base Development System
Class: Variable Properties
To Use: Create a property.
Gets or sets the size of the network buffer.
LabVIEW returns the size of the buffer in bytes. However, if the buffer data type is an Integer, such as an 8-bit signed integer, an 8-bit unsigned integer, a 16-bit signed integer, a 16-bit unsigned integer, and so on; a Boolean; a single-precision floating-point or double-precision floating-point; a 16-bit integer of waveforms or double waveforms; a 1D array of all types; or strings, LabVIEW returns the buffer size in those data types. For example, for a 16-bit integer, LabVIEW returns the number of 16-bit integers. For a 1D array, LabVIEW returns the number of arrays.
An error occurs if you attempt to set this property when the VI is running.
Use the Network:Element Size property to set the size of arrays or strings, and use the Network:Points Per Waveform property to set the size of waveforms.
This property is similar to the Size option on the Network page of the Shared Variable Properties dialog box.
LabVIEW uses the Network:Buffer Size, Network:Element Size, and Network:Points Per Waveform properties as appropriate to calculate the network buffer size for a network-published shared variable.
The following table lists the characteristics of this property.
Data type | |
Permissions | Read/Write |
Available in Run-Time Engine | No |
Available in Real-Time Operating System | No |
Settable when the VI is running | No |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access allowed | Yes |