Data Acquisition Toolbox | ![]() ![]() |
The propinfo Function
You can use the propinfo
function to return the characteristics of Data Acquisition Toolbox properties. For example, you can find the default value for any property using this function. propinfo
returns a structure containing the fields shown below.
For example, to return the characteristics for all the properties associated with the analog input object ai
created in the preceding section
The characteristics for the TriggerType
property are displayed below.
AIinfo.TriggerType
ans =
Type: 'string'
Constraint: 'Enum'
ConstraintValue: {3x1 cell}
DefaultValue: 'Immediate'
ReadOnly: 0
ReadOnlyRunning: 1
DeviceSpecific: 0
This information tells you that
Immediate
.
To display the property value constraints
![]() | The daqhelp Function | The Data Acquisition Session | ![]() |