3.7.5.53 RT

LabTalk Object Type:

Utility

The rt object stores the real-time data block for script access. When real-time data comes into Origin, it is represented as a block with n x m cells of the same type. n is the number of columns and m is the number of rows. The data block can then be accessed through the rt object (the cells inside the block are not accessible

Properties:

Property Access Description
rt.bi Read only, numeric

i = 1 - 32. First row of cell values.

rt.colBeg Read only, numeric

Contains the column number of the worksheet that the new block is appending from.

rt.ei Read only, numeric

i = 1 - 32. Last row of cell values.

rt.nCols Read only, numeric

Number of columns in the block.

rt.nRows Read only, numeric

Number of rows in the block.

rt.rowBeg Read only, numeric

Contains the row number of the worksheet that the new block is appending from.

rt.update Read/write, numeric

Real-time events pass to labels: 1 = enable, 0 = disable. When rt.update = 1, real-time events pass to labels that have the Real-Time check box enabled in the associated Label Control dialog box. Additionally, if Real-Time is selected from the label's 'Script, Run After' drop down list, the script in the Label Control dialog box is executed when a real-time event is passed to the label.