Class WsRemoteAnalogInput
java.lang.Object
org.wildstang.framework.io.inputs.Input
org.wildstang.framework.io.inputs.AnalogInput
org.wildstang.hardware.roborio.inputs.WsRemoteAnalogInput
Reads a remote analog input.
-
Constructor Summary
ConstructorsConstructorDescriptionWsRemoteAnalogInput(String p_name, String p_networkTbl) Construct the remote input. -
Method Summary
Modifier and TypeMethodDescriptiondoubleReads the value from the remote analog input.Methods inherited from class org.wildstang.framework.io.inputs.AnalogInput
getValue, readDataFromInput, setValueMethods inherited from class org.wildstang.framework.io.inputs.Input
addInputListener, disable, enable, getInputListeners, getName, hasValueChanged, isEnabled, notifyListeners, removeAllListeners, removeInputListener, setValueChanged, update
-
Constructor Details
-
WsRemoteAnalogInput
Construct the remote input.- Parameters:
p_name- Name of the input.p_networkTbl- Network table name.
-
-
Method Details
-
readRawValue
public double readRawValue()Reads the value from the remote analog input.- Specified by:
readRawValuein classAnalogInput- Returns:
- Raw value from input.
-