CFM100 CompactFlash
®
Module
11
storage stops. Once 1000 records have been stored, data storage to the specified
table on CRD: and CPU: datalogger memory drives will stop.
CRBasic Example 7-9. Fill-and-Stop Mode
'CR1000
Public
temp
DataTable
(Table1,1,1000)
CardOut
(1,1000)
Sample
(1,temp,IEEE4)
EndTable
BeginProg
Scan
(1,SEC,3,0)
PanelTemp
(temp,250)
CallTable
Table1
NextScan
EndProg
To restart data storage to the fill-and-stop table, the table must be reset. To
reset a table after a fill-and-stop table has been filled and stopped, either use the
reset button in LoggerNet (LN Connect | Datalogger | Station Status | Table Fill
Times, Reset Tables button) or use the CRBasic ResetTable instruction.
7.2.2.3 Mixed Modes
The following program stores four data tables to the card. The first two tables
will output samples of the panel temperature and battery voltage to the card
once a second. The first parameter of the CardOut() instructions is 1, which
sets the tables on the card to fill-and-stop mode. The second parameter is 1000,
so 1000 records will be written to each table before stopping.
Tables 3 and 4 will output the maximum and minimum of the panel
temperature and battery voltage to the card every five seconds. (The tables will
be called once a second. The DataInterval() instruction causes data to only be
stored every five seconds.) The first parameter of the CardOut() instructions is
0, which sets the tables on the card to ring mode. The second parameter is
negative, so all available memory on the card will be allocated to these tables,
once space for the fixed-size tables has been allocated. The datalogger will
attempt to size the tables so that both of them will be full at the same time.
CRBasic Example 7-10. Mixed Modes
'CR1000
Public
temp
Public
batt
DataTable
(Table1,1,-1)
CardOut
(1,1000)
Sample
(1,temp,IEEE4)
EndTable
DataTable
(Table2,1,-1)
CardOut
(1,1000)
Sample
(1,batt,IEEE4)
EndTable
DataTable
(Table3,1,1000)
Содержание CompactFlash CFM100
Страница 2: ......
Страница 3: ......
Страница 7: ......
Страница 27: ...Appendix A CF Card Maintenance A 4 5 Navigate to the Tools tab 6 Press Check 7 Select Scan and Repair Drive...
Страница 28: ......