Client item's data type
DataType
indicates the data type of the item as stored in the
daitem
object in the MATLAB® workspace. You can specify the data type when the item is created
using the additem
function. If you do not specify
a data type, or if the requested data type is rejected by the server, the canonical
(native) data type is used. If the client associated with the item is not connected,
the data type is set to 'unknown'
until the client is
connected.
The OPC server uses this data type to store the item value. The CanonicalDataType
property of a daitem
object
provides information on the canonical data type of that item on the server.
OPC communication uses COM Variant data types to send information between the
server and client. These are automatically translated to an equivalent MATLAB data type for the COM Variant types defined below. Any data type not
included in this list is returned as 'unknown'
.
OPC Toolbox™ Data Type |
COM Data Type |
MATLAB Data Type |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Empty array ( |
Access |
Read-only while logging |
Applies to |
|
Data type |
character vector |
Values |
|