Java Mine
ContentsIndexHome
PreviousUpNext
AdvancedVibration2Base.SensorEdit Method
Syntax
Java
public static void SensorEdit(Sensor sens, Double heartBeat, Double awareStateHeartBeat, Double VibrationHysteresis, Double VibrationAwareThreshold, Double VibrationSensitivityThreshold, Integer SampleRate, Integer WindowFunction, Integer VibrationMode, Integer AccelerometerRange, Double MeasurementInterval, Double FrequencyMin, Double FrequencyMax, Integer failedTransmissionsBeforeLinkMode);

@param sens the Sensor object to be updated @param heartBeat How often the sensor communicates with the gateway, if no activity is recorded @param awareStateHeartBeat How often the sensor communicates with the gateway while in Aware State. @param VibrationHysteresis A buffer to prevent the sensor from bouncing between Standard Operation and Aware State when the assessments are very close to a threshold. @param VibrationAwareThreshold The sensor will become aware when Vibration goes above this value. @param VibrationSensitivityThreshold Values below this threshold are ignored (no analysis will occur and will not count towards duty cycle). Setting this to 0 will force the sensor to analyze every time, including noise, and the duty cycle will always be 100 percent. @param SampleRate This sets the sample rate of the accelerometer. As the sample rate decreases the amount of time it takes to sample increases. As an example 25 Hz sample time is 10.24 seconds and at 6.25 Hz it is 40.96 seconds. Keep this in mind when setting the measurement interval. @param WindowFunction This setting determines which window to use to filter the FFT results. If the sample rate and window function for velocity and acceleration are the same one set of samples will be taken instead of two saving power and reducing measurement time. @param VibrationMode This determines whether the sensor outputs Velocity, Acceleration, or Displacement data. @param AccelerometerRange Max observable g-force @param MeasurementInterval Interval in minutes between measurements @param FrequencyMin The minimum frequency range to consider when measuring velocity @param FrequencyMax The maximum frequency range to consider when measuring velocity @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) 2022. All rights reserved.
What do you think about this topic? Send feedback!