Hardware Discovery and Session Setup

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


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


expand all

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
UseStandardSampleRatesConfigure 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
ExternalTriggerTimeoutSpecify maximum wait time for external trigger
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


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