Campbell NL115 Instruction Manual Page 30

  • Download
  • Add to my manuals
  • Print
  • Page
    / 40
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 29
NL115 Ethernet and CompactFlash
®
Module
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() instruction 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 will be full at the same time.
PROGRAM
'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)
DataInterval(0,5,sec,4)
CardOut (0 ,-1)
Maximum (1,temp,FP2,False,False)
Minimum (1,temp,FP2,False,False)
EndTable
DataTable (Table4,1,1000)
DataInterval(0,5,sec,4)
CardOut (0 ,-1)
Maximum (1batt,FP2,False,False)
Minimum (1,batt,FP2,False,False)
EndTable
BeginProg
Scan(1,SEC,3,0)
PanelTemp(temp,250)
Battery(Batt)
CallTable Table1
CallTable Table2
CallTable Table3
CallTable Table4
NextScan
EndProg
7.3.3 Table Size and Mode
The size of each data table in CPU memory is set as part of the DataTable()
instruction and the size of each data table on the CF card is set with the
CardOut() instruction. Because they are set independently, they can be
different. It is important to note that if the CPU memory is set to fill-and-stop
mode, once a table is full, all data storage to the table will stop. No more
records will be stored to the CPU memory or the card.
22
Page view 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 39 40

Comments to this Manuals

No comments