Cumulus.ini (preserving history): Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
→‎Davis family specific:: update based on recent forum answer
m (→‎Section: NOAA: for HDD and CDD incorporate some text that Steve used in forum re retrospective data)
m (→‎Davis family specific:: update based on recent forum answer)
 
==== Davis family specific: ====
"The DLL" is a Windows Dynamic Link Library supplied by Davis for third parties to use when writing software for Davis stations. It handles fetching data from the console, and does all kinds of useful things like converting the data into the units you require.
{| class="wikitable" border="1"
|-
*4 = 'other' inch
*5 = 'other' mm
Davis have not documented what calculations the DLL does for options 4 and 5. If this line is not included in '''cumulus.ini''' the DLL will use whatever type the station tells it to use
|-
|ForceVPBarUpdate=0
|Set this in the Station Configuration Screen '''Settings''' block. Select to force the Vantage Pro (and Pro2) barometer to update once a minute instead of the default 15 minutes. Note that you may not need this, more recent stations already update every minute
*0 = Disabled
*1 = Enabled
|-
|SyncDavisClock=0
|Set this in the Station Configuration Screen '''Settings''' block where called '''Synchronize station clock'''.
When set, at Cumulus start-up and at 04:00 each day, Cumulus will set the Davis VP/VP2 clock to within a minute of the same time as the PC
*0 = Disabled, default (as deselected on the Station Configuration Screen)
*1 = Enabled, ensures that when Cumulus asks the station for data since time X, both recognise X!
|-
|VP2ConnectionType=01
|Weather station connection type asthat is selected in the ''Station'' Configuration Screen VP'''Davis type''' block
*0 = serial (see next parameter to specify COM port)
*(1 = usb - setting no longer available on screen, remains as default in cumulus.ini for those not using a Davis)
*2 = TCP/IP (see later parameters to specify ports)
Default is type 1, i.e. neither option on screen selected, so if you use a Davis you must select either serial or TCP/IP..
|-
|Port=0
|Set this in the Station Configuration Screen '''Serial Port''' block. COM Port used if Davis type is serial. Default is 0.
Identifies COM Port used if Davis type is serial. Default is 0.
|-
|VP2TCPPort=22222
|Set this in the Station Configuration Screen VP2'''Davis TCP/IP Settings''' block. Comunications port used if VP type has TCP/IP selected. Default is 2222
Comunications port used if VP type has TCP/IP selected. Default is 2222
|-
|VP2IPAddr=0.0.0.0
|Set this in the Station Configuration Screen VP2 '''Davis TCP/IP Settings''' block. Weather station IP address if VP type has TCP/IP selected. Default is 0.0.0.0
Weather station IP address if VP type has TCP/IP selected. Default is 0.0.0.0
|-
|VP2SleepInterval=x500
|This parameter (attribute=value) is added directly to the file, it does not appear on a configuration screen.
|where x is sleepinterval in milliseconds.
This parameteris the period which Cumulus waits between reads of the data from Davis stations, the (attribute=value) is addedin directlymilliseconds. The default is 500 ms; if you suspect that data is being missed, you could try reducing this figure. For VirtualVP users, tests revealed that VP2SleepInterval = 1100 seems to work the file,best. itIt doesupdates notevery appeartwo onseconds awith configurationfew screenexceptions. See note in ''readme.txt'' about VP2SleepInterval - in currentv1.9.3 release it is around line 50. ThisRelated parameter (attribute=value) is added directly to the file, it does not appear on a configuration screen. SeeFAQ: [[FAQ#My_Davis_station_shows_a_higher_maximum_wind_speed_than_Cumulus]]
This is the period which Cumulus waits between reads of the data from Davis stations. The default is 500 ms; if you suspect that data is being missed, you could try reducing this figure. For VirtualVP users, tests revealed that VP2SleepInterval = 1100 seems to work the best. It updates every two seconds with few exceptions.
|-
|VPClosedownTime=x
|-
|VP2PeriodicDisconnectInterval=0
|Set this in the Station Configuration Screen '''Settings''' block with the ''Discon period'' value. Causes Cumulus to disconnect for the specified number of seconds, once a minute, on the minute (or as close as possible) to allow the Weatherlink IP to connect to the Davis Weatherlink site. Set it to zero to disable, if you are not using the Weatherlink site.
|-
|DavisCalcAltPress=1
|-
|LogExtraSensors=0
|This is set in the settings'''Settings''' frameblock on the Station settings screen off the configuration menu. Set this to 1 if you have additional sensors (e.g. a Davis Leaf Wetness probe) to make Cumulus read, display, and log the readings from the sensors. You don't need to select this for Solar/UV sensors..
|-
|RestartIfDataStops=0
5,838

edits

Navigation menu