Java Mine
ContentsIndexHome
PreviousUpNext
ThreePhase20AmpMeterBase.SensorEdit Method
Syntax
Java
public static void SensorEdit(Sensor sens, Double heartBeat, Double awareStateHeartBeat, Integer Phase123MinThreshold, Integer Phase123MaxThreshold, Integer Phase123Hysteresis, Integer Phase123Duty, Double MeasurementInterval, Boolean accumulate, Integer failedTransmissionsBeforeLinkMode);

 

Allows for the update of the specific type of sensor. @param sens the Sensor object to be updated @param heartBeat How often the sensor communicates with the gateway if no activity recorded. @param awareStateHeartBeat How often the sensor communicates with the gateway while in Aware State. @param Phase123MinThreshold Values above Phase123MaxThreshold or below Phase123MinThreshold will cause the sensor to go aware @param Phase123MaxThreshold Values above Phase123MaxThreshold or below Phase123MinThreshold will cause the sensor to go aware @param Phase123Hysteresis When going from aware to non aware regions the sensor must go into the the non aware region by Threshmin + Hysteresiss or Threshmax - Hysteresis in order to become non aware. This prevents rapid reporting of data when the sensor is reading at or near a threshold. @param Phase123Duty Values above this threshold will contribute to the average current/power. Ex: If the value is set to 10 amps or Watts and the current is below 10 amps or watts the entire heartbeat the average current or power will indicate 0 If above this @param MeasurementInterval Interval between measurements @param accumulate If set to accumulate the total power accumulation will add to the previous accumulation. If not set, total power accumulation will reset to 0 immediately after reporting. @param failedTransmissionsBeforeLinkMode The number of transmissions the sensor sends without response from a gateway before it goes to battery saving link mode. In link mode the sensor will scan for a new gateway and if not found will enter battery saving sleep mode for 2 hours before trying to scan again. Lower number will allow sensors to find new gateways with fewer missed readings. Higher numbers will cause the sensor to hold it setting in a noisy RF environment better. (Zero will cause the sensor to never enter link mode. to find a new gateway channel the battery will have to be cycled out of the sensor.)

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