![Campbell CR3000 Micrologger Скачать руководство пользователя страница 154](http://html1.mh-extra.com/html/campbell/cr3000-micrologger/cr3000-micrologger_operators-manual_489090154.webp)
Section 7. Installation
154
DataTable
(Table1,True,-1)
DataInterval
(0,1440,Min,0)
'Optional instruction to trigger table at 24-hour interval
Minimum
(1,Batt_Volt,FP2,False,False)
'Optional instruction to determine minimum Batt_Volt
EndTable
'Main Program
BeginProg
Scan
(5,Sec,1,0)
'Default Datalogger Battery Voltage measurement Batt_Volt:
Battery
(Batt_Volt)
'Wiring Panel Temperature measurement PTemp_C:
PanelTemp
(PTemp_C,_60Hz)
'Type T (copper-constantan) Thermocouple measurements Temp_C:
TCDiff
(Temp_C(),2,mV20C,1,TypeT,PTemp_C,True,0,_60Hz,1,0)
'Call Data Tables and Store Data
CallTable
(OneMin)
CallTable
(Table1)
NextScan
EndProg
DataTable() / EndTable Instructions
The DataTable() instruction has three parameters: a user-specified alphanumeric
name for the table such as OneMin, a trigger condition (for example, True), and
the size to make the table in memory such as -1 (automatic allocation).
•
Name — The table name can be any combination of numbers, letters,
and underscore up to 20 characters in length. The first character must be
a letter or underscore.
Note While other characters may pass the precompiler and compiler,
runtime errors may occur if these naming rules are not adhered to.
•
TrigVar — Controls whether or not data records are written to storage.
Data records are written to storage if TrigVar is true and if other
conditions, such as DataInterval(), are met. Default setting is -1 (True).
TrigVar may be a variable, expression, or constant. TrigVar does not
control intermediate processing. Intermediate processing is controlled by
the disable variable, DisableVar, which is a parameter in all output
processing instructions. See Data Output: Processing Instructions
(p. 157).
Read More Data Output: Triggers and Omitting Samples
(p. 202)
discusses the use of TrigVar and DisableVar in special applications.
•
Size — Table size is the number of records to store in a table before new
data begins overwriting old data. If 10 is entered, 10 records are stored in
the table; the eleventh record will overwrite the first record. If –1 is
entered, memory for the table is allocated automatically at the time the
program compiles. Automatic allocation is preferred in most
applications since the CR3000 sizes all tables such that they fill (and
Содержание CR3000 Micrologger
Страница 2: ......
Страница 3: ......
Страница 4: ......
Страница 6: ......
Страница 30: ......
Страница 34: ......
Страница 36: ......
Страница 96: ......
Страница 200: ...Section 7 Installation 200 FIGURE 42 Running Average Frequency Response FIGURE 43 Running Average Signal Attenuation ...
Страница 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Страница 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Страница 488: ...Section 8 Operation 488 8 11 2 3 Final Storage Data FIGURE 113 Keyboard and Display Final Storage Data ...
Страница 489: ...Section 8 Operation 489 8 11 3 Run Stop Program FIGURE 114 Keyboard and Display Run Stop Program ...
Страница 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Страница 495: ...Section 8 Operation 495 Low power standby whenever possible Low power bus sets bus and modules to low power ...
Страница 496: ......
Страница 502: ......
Страница 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Страница 566: ......
Страница 594: ......
Страница 598: ......
Страница 600: ......
Страница 602: ......
Страница 624: ......
Страница 642: ......
Страница 643: ......