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.

BitsPerSample

Display bits per sample

Description

This property displays the maximum value of bits per sample of the device, based on the device specifications. By default this read-only value is 24.

Example

View BitsPerSample Property

Create an audio input session and display session properties.

s = daq.createSession('directsound')
s = 

Data acquisition session using DirectSound hardware:
   Will run for 1 second (44100 scans) at 44100 scans/second.
   No channels have been added.
   
Properties, Methods, Events

Click on the Properties link.

 UseStandardSampleRates: true
                       BitsPerSample: 24
                 StandardSampleRates: [1x15 double]
                       NumberOfScans: 44100
                   DurationInSeconds: 1
                                Rate: 44100
                        IsContinuous: false
      NotifyWhenDataAvailableExceeds: 4410
IsNotifyWhenDataAvailableExceedsAuto: true
          NotifyWhenScansQueuedBelow: 22050
    IsNotifyWhenScansQueuedBelowAuto: true
              ExternalTriggerTimeout: 10
                      TriggersPerRun: 1
                              Vendor: DirectSound
                            Channels: ''
                         Connections: ''
                           IsRunning: false
                           IsLogging: false
                              IsDone: false
         IsWaitingForExternalTrigger: false
                   TriggersRemaining: 1
                           RateLimit: ''
                         ScansQueued: 0
               ScansOutputByHardware: 0
                       ScansAcquired: 0
Was this topic helpful?