Cumulus.ini (preserving history): Difference between revisions

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)
Line 339: Line 339:


==== Davis family specific: ====
==== 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"
{| class="wikitable" border="1"
|-
|-
Line 357: Line 358:
*4 = 'other' inch
*4 = 'other' inch
*5 = 'other' mm
*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  
|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
|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
*0 = Disabled
*1 = Enabled
*1 = Enabled
|-
|-
|SyncDavisClock=0  
|SyncDavisClock=0  
|Set this in the Station Configuration Screen Settings block where called '''Synchronize station clock'''.
|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  
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
*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!
*1 = Enabled, ensures that when Cumulus asks the station for data since time X, both recognise X!
|-
|-
|VP2ConnectionType=0
|VP2ConnectionType=1
|Weather station connection type as selected in the Station Configuration Screen VP type block
|Weather station connection type that is selected in the ''Station'' Configuration Screen '''Davis type''' block
*0 = serial
*0 = serial (see next parameter to specify COM port)
*(1 = usb - no longer available)
*(1 = usb - setting no longer available on screen, remains as default in cumulus.ini for those not using a Davis)
*2 = TCP/IP
*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
|Port=0
|Set this in the Station Configuration Screen Serial Port block. COM Port used if Davis type is serial. Default is 0.
|Set this in the Station Configuration Screen '''Serial Port''' block.
Identifies COM Port used if Davis type is serial. Default is 0.
|-
|-
|VP2TCPPort=22222  
|VP2TCPPort=22222  
|Set this in the Station Configuration Screen VP2 TCP/IP Settings block. Comunications port used if VP type has TCP/IP selected. Default is 2222
|Set this in the Station Configuration Screen '''Davis TCP/IP Settings''' block.
Comunications port used if VP type has TCP/IP selected. Default is 2222
|-
|-
|VP2IPAddr=0.0.0.0  
|VP2IPAddr=0.0.0.0  
|Set this in the Station Configuration Screen VP2 TCP/IP Settings block. Weather station IP address if VP type has TCP/IP selected. Default is 0.0.0.0
|Set this in the Station Configuration Screen '''Davis TCP/IP Settings''' block.
Weather station IP address if VP type has TCP/IP selected. Default is 0.0.0.0
|-
|-
|VP2SleepInterval=x
|VP2SleepInterval=500
|where x is sleepinterval in milliseconds.
|This parameter (attribute=value) is added directly to the file, it does not appear on a configuration screen.
This parameter (attribute=value) is added directly to the file, it does not appear on a configuration screen. See note in ''readme.txt'' about VP2SleepInterval - in current release it is  around line 50. This parameter (attribute=value) is added directly to the file, it does not appear on a configuration screen. See [[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 value is in milliseconds. 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. See note in ''readme.txt'' about VP2SleepInterval - in v1.9.3 release it is around line 50. Related FAQ: [[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
|VPClosedownTime=x
Line 393: Line 398:
|-
|-
|VP2PeriodicDisconnectInterval=0
|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.
|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
|DavisCalcAltPress=1
Line 405: Line 410:
|-
|-
|LogExtraSensors=0
|LogExtraSensors=0
|This is set in the settings frame 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..
|This is set in the '''Settings''' block 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 select this for Solar/UV sensors.
|-
|-
|RestartIfDataStops=0
|RestartIfDataStops=0
5,838

edits