setValue

sets a value for the gage

void setValue(number new_value);

Parameters

new_valuenumbera new value for the gage

Example

// setting a value
$$("gage1").setValue(20); 
 
// getting the value
$$("gage1").getValue(); // ->20

Related samples

See also
  • API
  • Articles
  • Back to top