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.

IsNotifyWhenDataAvailableExceedsAuto

Control if NotifyWhenDataAvailableExceeds is set automatically

Description

When working with the session-based interface, the IsNotifyWhenDataAvailableExceedsAuto property indicates if the NotifyWhenDataAvailableExceeds property is set automatically, or you have set a specific value.

Tip

This property is typically used to set NotifyWhenDataAvailableExceeds back to its default behavior.

Values

{true}

When the value is true, then the NotifyWhenDataAvailableExceeds property is set automatically.

false

When the value is false, when you have set the NotifyWhenDataAvailableExceeds property to a specific value.

Example

Enable Data Exceeds Notification

Change the IsNotifyWhenDataAvailableExceedsAuto to be able to set the NotifyWhenDataAvailableExceeds property to a specific value.

Create a session and display the properties by clicking the Properties link.

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

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

                         AutoSyncDSA: false
                       NumberOfScans: 1000
                   DurationInSeconds: 1
                                Rate: 1000
                        IsContinuous: false
      NotifyWhenDataAvailableExceeds: 100
IsNotifyWhenDataAvailableExceedsAuto: true
          NotifyWhenScansQueuedBelow: 500
    IsNotifyWhenScansQueuedBelowAuto: true
              ExternalTriggerTimeout: 10
                      TriggersPerRun: 1
                              Vendor: National Instruments
                            Channels: ''
                         Connections: ''
                           IsRunning: false
                           IsLogging: false
                              IsDone: false
         IsWaitingForExternalTrigger: false
                   TriggersRemaining: 1
                           RateLimit: ''
                         ScansQueued: 0
               ScansOutputByHardware: 0
                       ScansAcquired: 0

Change the IsNotifyWhenDataAvailableExceedsAuto to

s.IsNotifyWhenDataAvailableExceedsAuto = false
s = 

Data acquisition session using National Instruments hardware:
   Will run for 1 second (1000 scans) at 1000 scans/second.
   No channels have been added.
Was this topic helpful?