Java Mine
ContentsIndexHome
PreviousUpNext
LightSensor_PPFDBase.SensorEdit Method
Syntax
Java
public static void SensorEdit(Sensor sens, Double heartBeat, Double awareStateHeartBeat, Integer assessmentsPerHeartBeat, Double minimumThreshold, Double maximumThreshold, Double Hysteresis, Boolean EnableTemperatureCompensation, Integer dliStartTime, Integer measurementInterval, Double dliThreshold);
Parameters 
Description 
Sensor sens 
sens the Sensor object to be updated  
Double heartBeat 
How often the sensor communicates with the gateway if no activity recorded.  
Double awareStateHeartBeat 
How often the sensor communicates with the gateway while in Aware State.  
Integer assessmentsPerHeartBeat 
How many times between heartbeats a sensor will check its measurements against its thresholds to determine whether it will enter the Aware State. Warning if your sensor firmware is less than 2.5.2.0 Setting assessments greater than one will cause this sensor to not self elect follow a gateway to a new channel. if you reform your gateway you will need to power cycle the sensor for it to link on a new channel.  
Double minimumThreshold 
Sensor will report "No Light" if the light is below this threshold (NO AWARE BEHAVIOR)  
Double maximumThreshold 
Sensor will report "saturatated light" and go aware if the light level is above this threshold.  
Double Hysteresis 
Buffer value to prevent rapid transitioning between Aware States. To change states, the "Saturated Light Threshold" in addition to this buffer must be exceeded.  
Boolean EnableTemperatureCompensation 
When enabled the sensor will apply a temperature compensation adjustments to the sensor transducer readings. If the sensor base is not in close to the same temperature environment as the element on the end of the lead recomend disabling temperature compensation. Temperature compensation has very little effect at 20 Celsius so if the environment will be kept in 20 C +/- 5 C then compensation will have less than a 1% impact on the sensor reading. If fast temperature swings that occur in less than 30 minutes are common in your application it is also recommended that temperature compensation be disabled. NOTE: The temperature element is in the sensor base, not in the light sensing element on the end of the lead. Since the temperature element is sealed in the sensor base, temperature response will be very slow and may not be well matched to what temperature the sensor is actually experiencing, keep this in mind when using temperature compensation. Behavioral note: When this config is sent to the sensor the sensor will reset PAR.  
Integer dliStartTime 
Valid values 0-95. The value correlates to a UTC DateTime: 0 = 00:00 (Midnight), 1 = 00:15, 2 = 00:30,..., 52 = 13:00, ..., 95 = 23:45. At this time each day the sensor will reset the PAR DLI accumulation to 0. Sensor will report total 24 hour PAR accumulation at the reset time indicated. PAR DLI will reset to zero and on the next heartbeat the sensor will report the PAR DLI since the reset. This configuration will not automaticaly adjust for daylight savings. That will require a manual adjustmet if desired. Behavioral note: When this config is sent to the sensor the sensor will reset PAR.  
Integer measurementInterval 
Frequency, in minutes, of PPFD measurements used to calculate PAR DLI. Behavioral note: When this config is sent to the sensor the sensor will reset PAR.  
Double dliThreshold 
Sensor will go aware and report when the PAR DLI value goes above this threshold. Behavioral note: When this config is sent to the sensor the sensor will reset PAR. 

Allows for the update of the specific type of sensor. 

 

Copyright (c) 2017. All rights reserved.
What do you think about this topic? Send feedback!