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.

IsContinuous

Specify if operation continues until manually stopped

Description

When working with the session-based interface, use IsContinuous to specify that the session operation runs until you execute stop. When set to true, the session will run continuously, acquiring or generating data until stopped.

Values

{false}

Set the IsContinuous property to false to make the session operation stop automatically. This property is set to false by default.

true

Set the IsContinuous property to true to make the session operation run until you execute stop.

Examples

Create a session object, add an analog input channel, and set the session to run until manually stopped:

s = daq.createSession('ni');
addAnalogInputChannel(s,'cDAQ1Mod1','ai0','voltage');
s.IsContinuous = true
s = 

Data acquisition session using National Instruments hardware:
   Will run continuously at 1000 scans/second until stopped.
   Operation starts immediately.
      Number of channels: 1
      index Type  Device   Channel  MeasurementType      Range        Name
      ----- ---- --------- ------- ----------------- ---------------- ----
      1     ai   cDAQ1Mod1 ai0       Voltage (Diff)  -10 to +10 Volts

See Also

Properties

IsDone

Was this topic helpful?