code: def AddAnalogShortIdMsecRecord(site_service, tag, time_value, msec, value,
      low_warn=False, high_warn=False, low_alarm=False, high_alarm=False,
      oor_low=False, oor_high=False, unreliable=False, manual=False):
      szService = c_char_p(site_service.encode('utf-8'))
      szPointId = c_char_p(tag.encode('utf-8'))
      tTime = c_long(int(time_value))
      dValue = c_double(value)
      bLowWarning = c_int(int(low_warn))
      bHighWarning = c_int(int(high_warn))
      bLowAlarm = c_int(int(low_alarm))
      bHighAlarm = c_int(int(high_alarm))
      bOutOfRangeLow = c_int(int(oor_low))
      bOutOfRangeHigh = c_int(int(oor_high))
      bUnReliable = c_int(int(unreliable))
      bManual = c_int(int(manual))
      usMsec = c_ushort(msec)
      nRet = dnaserv_dll.DnaAddAnalogShortIdMsecRecord(szService, szPointId,
                  tTime, dValue, bLowWarning, bHighWarning, bLowAlarm,
                  bHighAlarm, bOutOfRangeLow, bOutOfRangeHigh, bUnReliable,
                  bManual, usMsec)
      return nRet