Set Up Acquisition Session

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

Start Here

See the Session Creation Workflow to learn how to create a data acquisition session.


daq.createSession Create data acquisition session for specific vendor hardware
daq.getDevices Display available National Instruments devices
daq.getVendors Display available vendors


AutoSyncDSA Automatically Synchronize DSA devices
NumberOfScans Number of scans for operation when starting
DurationInSeconds Specify duration of acquisition
Rate Rate of operation in scans per second
IsContinuous Specify if operation continues until manually stopped
RateLimit Limit of rate of operation based on hardware configuration
ScansQueued Indicate number of scans queued for output
ScansOutputByHardware Indicate number of scans output by hardware
ScansAcquired Number of scans acquired during operation
EnhancedAliasRejectionEnable Set enhanced alias rejection mode
UseStandardSampleRate Configure session to use standard sample rates
StandardSampleRates Display standard rates of sampling
BitsPerSample Display bits per sample
NotifyWhenDataAvailableExceeds Control firing of DataAvailable event
IsNotifyWhenDataAvailableExceedsAuto Control if NotifyWhenDataAvailableExceeds is set automatically
NotifyWhenScansQueuedBelow Control firing of DataRequired event
IsNotifyWhenScansQueuedBelowAuto Control if NotifyWhenScansQueuedBelow is set automatically
ExternalTriggerTimeout Indicate if external trigger timed out
TriggersPerRun Indicate the number of times the trigger executes in an operation
Vendor Vendor information associated with session object
Channels Array of channel objects associated with session object
Connections Array of connections in session
IsRunning Indicate if operation is still in progress
IsLogging Indicate if hardware is acquiring or generating data
IsDone Indicate if operation is complete
IsWaitingForExternalTrigger Indicates if synchronization is waiting for an external trigger
TriggersRemaining Indicates the number of trigger to execute in an operation

Examples and How To

Related Information

Was this topic helpful?