Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Hardware Discovery and Session Setup

Set up a session, find and connect to specified devices, configure data

Functions

daq.createSessionCreate data acquisition session for specific vendor hardware
daq.getDevices Display available data acquisition devices
daq.getVendorsDisplay available vendors
releaseRelease session resources
preparePrepare session for operation
daqresetReset Data Acquisition Toolbox
daqhelpHelp for toolbox interface

Properties

AutoSyncDSAAutomatically Synchronize DSA devices
NumberOfScansNumber of scans for operation when starting
DurationInSecondsSpecify duration of acquisition
RateRate of operation in scans per second
IsContinuousSpecify if operation continues until manually stopped
RateLimitLimit of rate of operation based on hardware configuration
ScansQueuedIndicate number of scans queued for output
ScansOutputByHardwareIndicate number of scans output by hardware
ScansAcquiredNumber of scans acquired during operation
EnhancedAliasRejectionEnableSet enhanced alias rejection mode
UseStandardSampleRateConfigure session to use standard sample rates
StandardSampleRatesDisplay standard rates of sampling
BitsPerSampleDisplay bits per sample
NotifyWhenDataAvailableExceedsControl firing of DataAvailable event
IsNotifyWhenDataAvailableExceedsAutoControl if NotifyWhenDataAvailableExceeds is set automatically
NotifyWhenScansQueuedBelowControl firing of DataRequired event
IsNotifyWhenScansQueuedBelowAutoControl if NotifyWhenScansQueuedBelow is set automatically
ExternalTriggerTimeoutIndicate if external trigger timed out
TriggersPerRunIndicate the number of times the trigger executes in an operation
VendorVendor information associated with session object
ChannelsArray of channel objects associated with session object
ConnectionsArray of connections in session
IsRunningIndicate if session operation is in progress
IsLoggingIndicate if hardware is acquiring or generating data
IsDoneIndicate if session operation is complete
IsWaitingForExternalTriggerIndicates if synchronization is waiting for an external trigger
TriggersRemainingIndicates the number of trigger to execute in an operation
UserDataCustom data

Topics

Data Acquisition Session

Relational overview of data acquisition session components and supported vendors.

Session-Based Interface Workflow

Session workflow illustrating the interface between the toolbox and the data acquisition device.

Discover Hardware Devices

Discover the supported data acquisition devices on your system.

Create a Session

Create a data acquisition session and add channels for acquiring and generating data.

Limitations by Vendor

Limitations in toolbox support for specific vendors.

Transition Your Code to Session-Based Interface

Upgrade applications from the legacy interface.

Featured Examples

Was this topic helpful?