Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

IsNotifyWhenScansQueuedBelowAuto

Control if NotifyWhenScansQueuedBelow is set automatically

Description

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

Values

{true}

When the value is true, then NotifyWhenScansQueuedBelow is set automatically.

false

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

Example

Enable Notification When Scans Reach Below Specified Range

Change the IsNotifyWhenScansQueuedBelowAuto to be able to set the NotifyWhenScansQueuedBelow 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.IsNotifyWhenScansQueuedBelowAuto = 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?