Loading…

Method Name: meth_setup_mA_output

Method ID: 0x4739

Method Label: Set Up mA Output

Method Help:


  • {
  • char status[3];
  • long select;
  • long step;
  • long temp;
  • char disp_string[100];
  • int slen;
  • int choice;
  • select = 0;
  • step = 0;
  • slen = 100;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • if (_ivar_value(4048) == 0)
  • {
  • choice = SELECT_FROM_LIST(literal_string(86),literal_string(87));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 1)
  • {
  • choice = SELECT_FROM_LIST(literal_string(88),literal_string(87));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 3)
  • {
  • choice = SELECT_FROM_LIST(literal_string(89),literal_string(87));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 5)
  • {
  • choice = SELECT_FROM_LIST(literal_string(90),literal_string(87));
  • }
  • else
  • {
  • if (_ivar_value(4048) == 47)
  • {
  • choice = SELECT_FROM_LIST(literal_string(91),literal_string(87));
  • }


Please login for more