public final class TapNLinkVarFloatArray extends TapNLinkVar
Constructor and Description |
---|
TapNLinkVarFloatArray(short id,
java.lang.String name,
int periodms,
int size)
Creates a new Java object to manage the specified float array variable that is
configured in the tap.
|
Modifier and Type | Method and Description |
---|---|
short |
getSize()
Returns the length of the variable array.
|
float[] |
getValue()
Returns the value of the float array variable.
|
float[] |
getValue(boolean generateException)
Returns the value of the float array variable.
|
void |
setValue(float[] array)
Sets the value of the variable with a new float array.
|
void |
setValue(float[] array,
boolean generateException)
Sets the value of the variable with a new float array.
|
public TapNLinkVarFloatArray(short id, java.lang.String name, int periodms, int size)
id
- the id of the variable in the tapname
- the name of the variableperiodms
- the period at which the variable is monitoredsize
- the size of the arraypublic final void setValue(float[] array)
array
- the new value of the variablepublic final void setValue(float[] array, boolean generateException)
array
- the new value of the variablegenerateException
- public final float[] getValue()
public final float[] getValue(boolean generateException)
generateException
- public final short getSize()