Main Content

daq

Create DataAcquisition device interface for specific vendor

Description

example

d= daq(vendor)creates aDataAcquisitioninterface object for configuring and operating data acquisition devices from the specified vendor.

Examples

collapse all

Create aDataAcquisitionobject for interfacing with Windows sound devices.

d = daq("directsound")
d = DataAcquisition using DirectSound hardware: Running: 0 Rate: 44100 NumScansAvailable: 0 NumScansQueued: 0 NumScansOutputByHardware: 0 RateLimit: [] Show channels Show properties and methods

Input Arguments

collapse all

Device vendor specified as a string or character vector.

Example:"ni"

Data Types:char|string

Output Arguments

collapse all

DataAcquisition interface, returned as aDataAcquisitionobject. This interface can accommodate all supported devices from the specified vendor. Interfaces with different vendors require separateDataAcquisitionobjects.

Version History

介绍了R2020a