Java Mine
ContentsIndexHome
PreviousUpNext
ThreePhase500AmpMeterBase.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);
Parameters 
Description 
Sensor 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 Phase123MinThreshold 
Values above Phase123MaxThreshold or below Phase123MinThreshold will cause the sensor to go aware  
Integer Phase123MaxThreshold 
Values above Phase123MaxThreshold or below Phase123MinThreshold will cause the sensor to go aware  
Integer 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.  
Integer 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  
Double MeasurementInterval 
Interval between measurements  
Boolean 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.  
Integer 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.) 

 

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!