![Campbell CR9000 Скачать руководство пользователя страница 82](http://html1.mh-extra.com/html/campbell/cr9000/cr9000_instruction-manual_489197082.webp)
Section 4. CRBasic – Native Language Programming
4-10
In addition to accessing the data actually output in a table, there are some
pseudo fields related to the data table that can be retrieved:
Tablename
.record(1,n) = the record number of the record output n records ago.
Tablename
.Tablesize(1,1) = the size of the table in records.
Tablename
.output(1,1) = 1 if data were output to the table the last time the
table was called, = 0 if data were not output.
Tablename
.timestamp(m,n) = element m of the timestamp output n records ago
where:
timestamp(1,n) = microseconds since 1990
timestamp(2,n) = microseconds into the current year
timestamp(3,n) = microseconds into the current month
timestamp(4,n) = microseconds into the current day
timestamp(5,n) = microseconds into the current hour
timestamp(6,n) = microseconds into the current minute
timestamp(7,n) = microseconds into the current second
Tablename
.eventend(1,1) is only valid for a data table using the DataEvent
instruction,
Tablename
.eventend(1,1) = 1 if the last record of an event
occurred the last time the table was called, = 0 if the data table did not store a
record or if it is in the middle of an event.
Tablename
.EventCount(1,1) is also only valid for a data table using the
DataEvent Instruction.
Tablename
.EventCount(1,1) = the number of events that have been completed
in the table. An event is complete when the table has stopped storing data for
the event.
The values of Tablename.output(1,1) and Tablename.eventend
(1,1) are only updated when the tables are called.
The WorstCase example in Section 6.2 illustrates the use of this syntax.
NOTE
Содержание CR9000
Страница 6: ...CR9000 Table of Contents iv This is a blank page ...
Страница 22: ...CR9000 Overview OV 16 This is a blank page ...
Страница 26: ...Section 1 Installation 1 4 CR9000 FIGURE 1 1 3 CR9000 Battery Pack ...
Страница 72: ...Section 3 CR9000 Measurement Details 3 28 This is a blank page ...
Страница 88: ...Section 5 Program Declarations 5 6 This is a blank page ...
Страница 217: ...This is a blank page ...