Attributes Class Help
This class contains functions you can use to create and access DataSocket object attributes.
Each DataSocket object stores a single data value and a set of attributes. Each attribute of a DataSocket object is also a DataSocket object. You can create a customized DataSocket object by defining its set of attributes.
For example, you might want to use a DataSocket object to transfer a waveform. In addition to the waveform data values, you might want to transfer the sample rate and a time stamp. You can add these values as attributes to the DataSocket object.
When you write to a DataSocket object that has attributes, you typically open the DataSocket object in Write mode rather than in WriteAutoUpdate mode. When you use Write mode, you can make multiple function calls to change the DataSocket object's data value and all of its attributes and then call DS_Update to send all of the changed values to the DataSocket data source in a single operation.
Library: DataSocket