Instrument Control Toolbox | ![]() ![]() |
The propinfo Function
You can use the propinfo
function to return the characteristics of Instrument Control 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 display the property characteristics for the EOIMode
property associated with the GPIB object g
:
g = gpib('ni',0,1); EOIinfo = propinfo(g,'EOIMode') EOIinfo = Type: 'string' Constraint: 'enum' ConstraintValue: {2x1 cell} DefaultValue: 'on' ReadOnly: 'never' InterfaceSpecific: 1
This information tells you that
on
To display the property value constraints:
![]() | The instrhelp Function | The Instrument Control Session | ![]() |