Loading…

Method Name: set_FO_scaling

Method ID: 0x44EF

Method Label: Set Frequency Output Scaling

Method Help:


  • {
  • float floatFreqVal;
  • float floatRateVal;
  • float floatPulsesPerUnit;
  • float floatUnitsPerPulse;
  • char status[3];
  • int ScalingMethodChoice;
  • char disp_string[100];
  • char disp_string1[100];
  • int slen;
  • int slen1;
  • slen = 100;
  • slen1 = 100;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _get_dictionary_string(858981295,disp_string,slen);
  • _get_dictionary_string(858981296,disp_string1,slen1);
  • ScalingMethodChoice = SELECT_FROM_LIST(disp_string,disp_string1);
  • _iassign(16417,ScalingMethodChoice);
  • switch (_ivar_value(16417))
  • {
  • case 0:
  • floatFreqVal = _fvar_value(resolve_record_ref(resolve_record_ref(resolve_array_ref(172,2),211),16426));


Please login for more