| Version 2.6 (R14SP2) Data Acquisition Toolbox™ Software Release Notes | ![]() |
This table summarizes what's new in Version 2.6 (R14SP2):
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems | Related Documentation at Web Site |
|---|---|---|---|
| Yes Details below | No | Bug
Reports | No |
New features and changes introduced in this version are:
Three new functions are provided to query the status of data acquisition device objects.
Function | Purpose |
|---|---|
Determine whether analog input object is logging data. | |
Determine whether device object is running. | |
Determine whether analog output object is sending data. |
For further details on each function, see its reference page in the documentation. Use of these functions is recommended over directly accessing the Running, Logging, and Sending properties.
Three new properties for National Instruments cards are:
HwDigitalTriggerSource
ExternalSampleClockSource
ExternalScanClockSource
These properties allow you to select a PFI or RTSI channel as the source for a hardware digital trigger, external sample clock, or external scan clock. See the reference pages for these properties to read about valid property settings and when they are in effect.
The peekdata function now accepts a third parameter specifying data format. When the data format is specified as native, data is returned in the native format of the data acquisition device, similar to the behavior of the getdata function. For detailed information on peekdata, type
help analoginput/peekdata
The Property Inspector replaces the Data Acquisition Toolbox Property Editor (daqpropedit) graphical user interface.
You open the Property Inspector for object obj with the inspect function.
inspect(obj)
For more information about the inspect function, type
help daqdevice/inspect
Typing daqpropedit at the command line now opens the Property Inspector.
The waittilstop function has been renamed wait. All functionality remains the same. waittilstop still works in Version 2.6, but may be removed from a future version of the toolbox. For more information on wait, type
help daqdevice/wait
This section describes the issues involved in upgrading from Data Acquisition Toolbox version 2.5.1 (Release 14SP1), 2.5 (Release 14), or 2.2 (Release 13SP1).
All object properties with Action in their name are obsolete in Version 2.6. These have been replaced by properties with the same name using Fcn instead of Action. These Fcn properties have existed in several recent versions of the Data Acquisition Toolbox software. The toolbox supported the Action properties during these transition releases, but they are no longer supported. If your code still uses these obsolete property names, you must update it to use the new property names.
Obsolete Property Name | New Property Name |
|---|---|
DataMissedAction | |
InputOverRangeAction | |
RuntimeErrorAction | |
SamplesAcquiredAction | |
SamplesAcquiredActionCount | |
SamplesOutputAction | |
SamplesOutputActionCount | |
StartAction | |
StopAction | |
TimerAction | |
TriggerAction |
In past releases, you could not delete a running object. Now in Version 2.6, when you attempt to delete a running object, the toolbox stops the object, issues a warning, then deletes the object.
ai.SamplesPerTrigger = Inf start(ai); delete(ai) Warning: Object stopped before deleting.
In past versions, the daqfind function returned a 1-by-1 cell array of N-by-1 objects. Now in Version 2.6, this function returns an N-by-1 cell array of objects.
ai1 = analoginput('winsound');
ai2 = analoginput('winsound');
objs = daqfind('Type','Analog Input')
objs =
[1x1 analoginput]
[1x1 analoginput]The functions peekdata and getdata no longer accept Inf as an argument for specifying the number of samples. In the past, specifying Inf for the number of samples was accepted, and returned zero samples. Now specifying Inf samples causes an error.
data = getdata(ai, Inf) ??? The number of samples requested must be less than Inf.
The waittilstop function has been renamed wait. All functionality remains the same. waittilstop still works in Version 2.6, but may be removed from a future version of the toolbox. For more information on wait, type
help daqdevice/wait
The Data Acquisition Toolbox Property Editor (daqpropedit) graphical user interface has been replaced by the Property Inspector.
You open the Property Inspector for object obj with the inspect function.
inspect(obj)
For more information about the inspect function, type
help daqdevice/inspect
Typing daqpropedit at the command line now opens the Property Inspector.
![]() | Version 2.7 (R14SP3) Data Acquisition Toolbox Software | Version 2.5.1 (R14SP1) Data Acquisition Toolbox Software | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |