Loading…

Method Name: mthd_field_recal

Method ID: 0x40A9

Method Label: 2 Pt Pressure Cal

Method Help:


  • {
  • char status[3];
  • long VarID[7];
  • int nResult;
  • int nCalState;
  • int nContinue;
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_comm_status(0xFF,2);
  • SET_NUMBER_OF_RETRIES(3);
  • VarID[0] = 16480;
  • VarID[1] = 16481;
  • VarID[2] = 16482;
  • VarID[3] = 16477;
  • VarID[4] = 16478;
  • VarID[5] = 16476;
  • VarID[6] = 16387;
  • nCalState = 0;
  • nContinue = 1;
  • _add_abort_method(16562);
  • ACKNOWLEDGE(literal_string(373));
  • nResult = acknowledge(literal_string(382),VarID);
  • if (nResult == 0)
  • {
  • do {
  • switch (nCalState)
  • {
  • case 0:
  • _iassign(16475,3);
  • do {
  • send(153,status);
  • if (status[0])
  • {
  • display_response_status(153,status[0]);
  • switch (SELECT_FROM_LIST(literal_string(374),literal_string(375)))
  • {


Please login for more