RTTTERM

Purpose:

Removes a real time task from the queue.

Syntax:

RTTTERM(rttasknum)

rttasknum

-

An integer. The task number as returned from a previous RTTINIT function. A value of -1 terminates all RT tasks.

Returns:

An integer indicating the number of terminated tasks.

Example:

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.

 

Terminate the RT reading task:

 

rttterm(rtnum)

 

The task is discontinued and no new data is read.

See Also:

ASCALE

RTTINIT

RTREAD

RTWRITE