Loading…

Method Name: method_advance_burst_option

Method ID: 0x4CD5

Method Label: Advanced HART Configuration

Method Help:


  • {
  • char status[3];
  • int step;
  • int temp;
  • int select;
  • int step1;
  • int temp1;
  • int select1;
  • int step2;
  • int temp2;
  • int select2;
  • int step3;
  • int temp3;
  • int select3;
  • int warning;
  • char disp_string[100];
  • int slen;
  • int burst_command;
  • int assignment;
  • select = 0;
  • select1 = 0;
  • select2 = 0;
  • select3 = 0;
  • step = 0;
  • step1 = 0;
  • step2 = 0;
  • step3 = 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);
  • do {
  • switch (step)
  • {
  • case 0:
  • _MenuDisplay(19995,literal_string(1408),literal_string(1232));
  • step++;
  • _iassign(4839,0);
  • send(109,status);
  • if (status[0])
  • {
  • display_response_status(109,status[0]);
  • process_abort();
  • }
  • if (compat_burst_messages[0].BURST_MODE_SELECT == 1)
  • {
  • send(108,status);
  • if (status[0] && status[0] != 8)
  • {
  • display_response_status(108,status[0]);
  • process_abort();
  • }
  • if (status[0] == 8)
  • {
  • _MenuDisplay(19996,literal_string(1408),literal_string(1483));
  • }
  • send(105,status);
  • burst_command = _ivar_value(4093);
  • if (burst_command == 3 || burst_command == 9 || burst_command == 33)
  • {
  • _MenuDisplay(20021,literal_string(1408),literal_string(1232));
  • send(51,status);
  • if (status[0])
  • {
  • display_response_status(51,status[0]);
  • process_abort();
  • }
  • _iassign(4839,0);
  • send(107,status);
  • if (status[0])
  • {
  • display_response_status(107,status[0]);
  • process_abort();
  • }
  • send(105,status);
  • }
  • _MenuDisplay(20037,literal_string(1408),literal_string(1232));
  • _iassign(4839,0);


Please login for more