Loading…

Method Name: set_sensor_connection

Method ID: 0x4090

Method Label: Select Sensor

Method Help: Define the sensor type and the sensor connection.


  • {
  • char status[3];
  • long ids[2];
  • int choice;
  • do {
  • _get_dev_var_value(literal_string(42),0,16392);
  • if (_ivar_value(16392) == 0)
  • {
  • if (_ivar_value(16394) <= 2)
  • {
  • _iassign(16393,0);
  • }
  • if (_ivar_value(16394) >= 3)
  • _iassign(16395,_ivar_value(16394));
  • else
  • _iassign(16395,3);
  • _get_dev_var_value(literal_string(53),0,16395);
  • _iassign(16394,_ivar_value(16395));
  • ACKNOWLEDGE(literal_string(282));
  • }


Please login for more