Loading…

Method Name: DOSalinityTrim

Method ID: 0x4072

Method Label: DO Salinity Adjust

Method Help: This trim edits the salinity value.


  • {
  • char acStatus[3];
  • char disp_string1[60];
  • int wRetry;
  • int slen1;
  • long dwVarId[1];
  • slen1 = 60;
  • wRetry = 0;
  • _set_all_resp_code(0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • iOneLowFloatIndex = 28;
  • send_command( 137 );
  • _get_dev_var_value(("|en|Input Salinity value in ppt between 0.0 and 250.0"),0,16445);
  • do
  • {
  • send(138, acStatus );
  • if( acStatus[0] == 35 || acStatus[0] == 36 )
  • {


Please login for more