| Contents | Index |
Base Property Reference | Alphabetical List |
Base properties apply to all supported hardware subsystems of a given type (analog input, analog output, or digital I/O). For example, the SampleRate property is supported for all analog input subsystems regardless of the vendor.
The properties are categorized according to these subsystems:
|
Depending on the hardware device you are using, additional property names or property values might be present. The additional property names are described in Device-Specific Properties — Alphabetical List. For example, only analog input and analog output objects associated with a sound card have a BitsPerSample property. The additional property values are also device-specific but are included in this chapter. For example, all supported devices have an InputType property, but the value AC-Coupled is unique to analog input objects associated with a sound card.
The analog input common properties are grouped into the following categories based on usage.
| SampleRate | Specify per-channel rate at which analog data is converted to digital data, or vice versa |
| SamplesPerTrigger | Specify number of samples to acquire for each channel group member for each trigger that occurs |
| TriggerType | Specify type of trigger to execute |
| LogFileName | Specify name of disk file information is logged to |
| Logging | Indicate whether data is being logged to memory or disk file |
| LoggingMode | Specify destination for acquired data |
| LogToDiskMode | Specify whether data, events, and hardware information are saved to one or more disk files |
| InitialTriggerTime | Absolute time of first trigger |
| ManualTriggerHwOn | Specify hardware device starts at manual trigger |
| TriggerChannel | Specify channel serving as trigger source |
| TriggerCondition | Specify condition that must be satisfied before trigger executes |
| TriggerConditionValue | Specify voltage value(s) that must be satisfied before trigger executes |
| TriggerDelay | Specify delay value for data logging |
| TriggerDelayUnits | Specify units in which trigger delay data is measured |
| TriggerFcn | Specify callback function to execute when trigger occurs |
| TriggerRepeat | Specify number of additional times trigger executes |
| TriggersExecuted | Indicate number of triggers that execute |
| TriggerType | Specify type of trigger to execute |
| Logging | Indicate whether data is being logged to memory or disk file |
| Running | Indicate whether device object is running |
| SamplesAcquired | Indicate number of samples acquired per channel |
| SamplesAvailable | Indicate number of samples available per channel in engine |
| ChannelSkew | Specify time between consecutive scanned hardware channels |
| ChannelSkewMode | Specify how channel skew is determined |
| ClockSource | Specify clock that governs hardware conversion rate |
| InputType | Specify analog input hardware channel configuration |
| SampleRate | Specify per-channel rate at which analog data is converted to digital data, or vice versa |
| DataMissedFcn | Specify callback function to execute when data is missed |
| InputOverRangeFcn | Specify callback function to execute when acquired data exceeds valid hardware range |
| RuntimeErrorFcn | Specify callback function to execute when run-time error occurs |
| SamplesAcquired | Indicate number of samples acquired per channel |
| SamplesAcquiredFcn | Specify callback function to execute when predefined number of samples is acquired for each channel group member |
| SamplesAcquiredFcnCount | Specify number of samples to acquire for each channel group member before samples acquired event is generated |
| StartFcn | Specify callback function to execute before device object runs |
| StopFcn | Specify callback function to execute after device object runs |
| TimerFcn | Specify callback function to execute when predefined time period passes |
| TimerPeriod | Specify time period between timer events |
| TriggerFcn | Specify callback function to execute when trigger occurs |
| BufferingConfig | Specify per-channel allocated memory |
| BufferingMode | Specify how memory is allocated |
| Channel | Contain hardware channels added to device object |
| EventLog | Store information for specific events |
| Name | Specify descriptive name for the channel |
| Tag | Specify device object label |
| Timeout | Specify additional waiting time to extract or queue data |
| Type | Indicate device object type, channel, or line |
| UserData | Store data to associate with device object |
The analog input channel properties are given below.
| ChannelName | Specify descriptive channel name |
| HwChannel | Specify hardware channel ID |
| HwLine | Specify hardware line ID |
| Index | MATLAB index of hardware channel or line |
| InputRange | Specify range of analog input subsystem |
| NativeOffset | Indicate offset to use when converting between native data format and doubles |
| NativeScaling | Indicate scaling to use when converting between native data format and doubles |
| Parent | Indicate parent (device object) of channel or line |
| SensorRange | Specify range of data expected from sensor |
| Type | Indicate device object type, channel, or line |
| Units | Specify engineering units label |
| UnitsRange | Specify range of data as engineering units |
The analog output common properties are grouped into the following categories based on usage.
| SampleRate | Specify per-channel rate at which analog data is converted to digital data, or vice versa |
| TriggerType | Specify type of trigger to execute |
| InitialTriggerTime | Absolute time of first trigger |
| TriggerFcn | Specify callback function to execute when trigger occurs |
| TriggersExecuted | Indicate number of triggers that execute |
| TriggerType | Specify type of trigger to execute |
| Running | Indicate whether device object is running |
| SamplesAvailable | Indicate number of samples available per channel in engine |
| SamplesOutput | Indicate number of samples output per channel from engine |
| Sending | Indicate whether data is being sent to hardware device |
| ClockSource | Specify clock that governs hardware conversion rate |
| SampleRate | Specify per-channel rate at which analog data is converted to digital data, or vice versa |
| MaxSamplesQueued | Indicate maximum number of samples that can be queued in engine |
| RepeatOutput | Specify number of additional times queued data is output |
| Timeout | Specify additional waiting time to extract or queue data |
| RuntimeErrorFcn | Specify callback function to execute when run-time error occurs |
| SamplesOutputFcn | Specify callback function to execute when predefined number of samples is output for each channel group member |
| SamplesOutputFcnCount | Specify number of samples to output for each channel group member before samples output event is generated |
| StartFcn | Specify callback function to execute before device object runs |
| StopFcn | Specify callback function to execute after device object runs |
| TimerFcn | Specify callback function to execute when predefined time period passes |
| TimerPeriod | Specify time period between timer events |
| TriggerFcn | Specify callback function to execute when trigger occurs |
| BufferingConfig | Specify per-channel allocated memory |
| BufferingMode | Specify how memory is allocated |
| Channel | Contain hardware channels added to device object |
| EventLog | Store information for specific events |
| Name | Specify descriptive name for the channel |
| OutOfDataMode | Specify how value held by analog output subsystem is determined |
| Tag | Specify device object label |
| Type | Indicate device object type, channel, or line |
| UserData | Store data to associate with device object |
The analog output channel properties are given below.
| ChannelName | Specify descriptive channel name |
| DefaultChannelValue | Specify value held by analog output subsystem |
| HwChannel | Specify hardware channel ID |
| Index | MATLAB index of hardware channel or line |
| NativeOffset | Indicate offset to use when converting between native data format and doubles |
| NativeScaling | Indicate scaling to use when converting between native data format and doubles |
| OutputRange | Specify range of analog output hardware subsystem |
| Parent | Indicate parent (device object) of channel or line |
| Type | Indicate device object type, channel, or line |
| Units | Specify engineering units label |
| UnitsRange | Specify range of data as engineering units |
The digital I/O common properties are given below.
| Line | Contain hardware lines added to device object |
| Name | Specify descriptive name for the channel |
| Running | Indicate whether device object is running |
| Tag | Specify device object label |
| TimerFcn | Specify callback function to execute when predefined time period passes |
| TimerPeriod | Specify time period between timer events |
| Type | Indicate device object type, channel, or line |
| UserData | Store data to associate with device object |
The digital I/O line properties are given below.
| Direction | Specify whether line is for input or output |
| HwLine | Specify hardware line ID |
| Index | MATLAB index of hardware channel or line |
| LineName | Specify descriptive line name |
| Parent | Indicate parent (device object) of channel or line |
| Port | Specify port ID |
| Type | Indicate device object type, channel, or line |
To get command-line property help, use the daqhelp function. For example, to get help for the SampleRate property, type:
daqhelp SampleRate
You can also get property characteristics, such as the default property value, using the propinfo function. For example, suppose you create the analog input object ai for a sound card and you want to find the default value for the SampleRate property.
ai = analoginput('winsound');
out = propinfo(ai,'SampleRate');
out.DefaultValue
ans =
8000Properties methods used with the session-based interface are listed below.
| ActiveEdge | Rising or falling edges of EdgeCount signals |
| ActivePulse | Active pulse measurement of PulseWidth counter channel |
| ADCTimingMode | Set channel timing mode |
| BridgeMode | Specify analog input device bridge mode |
| Channels | Array of channel objects associated with session object |
| Connections | Array of connections in a session |
| CountDirection | Specify direction of counter channel |
| Coupling | Specify input coupling mode |
| Destination | Indicates trigger destination terminal |
| Device | Analog and counter channel device |
| DurationInSeconds | Specify duration of acquisition |
| DutyCycle | Duty cycle of counter output channel |
| EncoderType | Encoding type of counter channel |
| ExcitationCurrent | Voltage of external source of excitation |
| ExcitationSource | External source of excitation |
| ExcitationVoltage | Voltage of excitation source |
| ExternalTriggerTimeout | Indicate if external trigger timed out |
| Frequency | Frequency of generated pulses on counter output channel |
| ID | Analog and counter channel ID |
| IdleState | Default state of counter output channel |
| InitialCount | Specify initial count point |
| InitialDelay | Delay until output channel generates pulses |
| InputType | Specify analog input hardware channel configuration |
| IsContinuous | Specify if operation continues until manually stopped |
| IsDone | Indicate if operation is complete |
| IsLogging | Indicate if hardware is acquiring or generating data |
| IsNotifyWhenDataAvailableExceedsAuto | Control if NotifyWhenDataAvailableExceeds is set automatically |
| IsNotifyWhenScansQueuedBelowAuto | Control if NotifyWhenScansQueuedBelow is set automatically |
| IsRunning | Indicate if operation is still in progress |
| IsSimulated | Indicate if device is simulated |
| IsWaitingForExternalTrigger | Indicates if synchronization is waiting for an external trigger |
| MeasurementType | Type counter channel measurement |
| Name | Specify descriptive name for the channel |
| NominalBridgeResistance | Resistance of sensor |
| NotifyWhenDataAvailableExceeds | Control firing of DataAvailable event |
| NotifyWhenScansQueuedBelow | Control firing of DataRequired event |
| NumberOfScans | Number of scans for operation when starting |
| R0 | Specify resistance value |
| Rate | Rate of operation in scans per second |
| RateLimit | Limit of rate of operation based on hardware configuration |
| RTDConfiguration | Specify wiring configuration of RTD device |
| RTDType | Specify sensor sensitivity |
| ScansAcquired | Number of scans acquired during operation |
| ScansOutputByHardware | Indicate number of scans output by hardware |
| ScansQueued | Indicate number of scans queued for output |
| Sensitivity | Sensitivity of an analog channel |
| ShuntLocation | Indicate location of channel's shunt resistor |
| ShuntResistance | Resistance value of channel's shunt resistor |
| Source | Indicates trigger source terminal |
| Terminal | PFI terminal of counter subsystem |
| Terminals | Terminals available on device or CompactDAQ chassis |
| ThermocoupleType | Select thermocouple type |
| TriggerCondition | Specify condition that must be satisfied before trigger executes |
| TriggersPerRun | Indicate the number of times the trigger executes in an operation |
| TriggersRemaining | Indicates the number of trigger to execute in an operation |
| TriggerType | Type of trigger executed |
| Units | Specify unit of RTD measurement |
| Vendor | Vendor information associated with session object |
| ZResetCondition | Reset condition for Z-indexing |
| ZResetEnable | Enable reset for Z-indexing |
| ZResetValue | Reset value for Z-indexing |
| Base Properties — Alphabetical List | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |