DADiSP Worksheet Functions > Function Categories > Real Time > RTTPAUSE
Pauses a real time task in the queue.
RTTPAUSE(tasknum, mode)
tasknum |
- |
An integer. The task number returned by RTTINIT. |
||||
mode |
- |
Optional. An integer, the pause mode:
|
An integer, 1 if paused, else 0.
Start first DADiSP to simulate a real time data source:
rttinit("rtwrite")
Start second DADiSP to read real time data:
rtnum = rttinit("rtread")
The series generated by the first DADiSP is read synchronously by the second DADiSP. The real time data appears in W1 of the second DADiSP.
Pause the RT reading task:
rttpause(rtnum)
The task is suspended and no new data is read.
Continue the RT reading task:
rttpause(rtnum, 1)