propinfo
(To be removed) Property information for OPC objects
Support for the OPC Data Access (DA) standard will be removed in a future release. Instead use OPC Unified Architecture (UA). See Version History.
Syntax
Out = propinfo(Obj)
Out = propinfo(Obj,'PropName')
Description
Out = propinfo(Obj)
returns a structure
array with field names given by the property names for Obj
. Each
property name in the output contains a structure with the fields shown below.
Field Name | Description |
---|---|
| Data type of the property. Possible values are
' |
| Type of constraint on the property value. Possible values
are |
| List of valid character vector values or a range of valid values |
| Default value for the property |
| Condition under which a property is read-only:
|
Out = propinfo(Obj,'PropName')
returns a
structure array, Out
, for the property specified by
PropName
. If PropName
is a cell array of
character vectors or an array of strings, then the function returns a cell array of
structures for each property.
Examples
da = opcda('localhost','Dummy.Server'); allInfo = propinfo(da) serverIDInfo = propinfo(da,'ServerID')