Instrument Control Toolbox | ![]() ![]() |
Specify data that you want to associate with an instrument object
Description
You configure UserData
to store data that you want to associate with an instrument object. The object does not use this data directly, but you can access it using the get
function or the dot notation.
Characteristics
Usage |
Any instrument object |
Read only |
Never |
Data type |
Any type |
Values
The default value is an empty vector.
Example
Suppose you create the serial port object associated with the serial port COM1.
You can associate data with s
by storing it in UserData
.
![]() | Type | ValuesReceived | ![]() |