Loading…
Loading…
Method Name: set_freq_input_scaling
Method ID: 0x48F5
Method Label: Set Frequency Input Scaling
Method Help:
- {
- char status[3];
- float floatFreqVal;
- float floatRateVal;
- float floatPulsesPerUnit;
- float floatUnitsPerPulse;
- int ScalingMethodChoice;
- int slen;
- char disp_string[100];
- slen = 100;
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- ScalingMethodChoice = SELECT_FROM_LIST(literal_string(1182),literal_string(1183));
- _iassign(16687,ScalingMethodChoice);
- switch (_ivar_value(16687))
- {
- case 0:
- floatFreqVal = _fvar_value(resolve_record_ref(resolve_array_ref(172,3),16433));
- _get_local_var_value(literal_string(1174),0,literal_string(1175));
- _fassign(resolve_record_ref(resolve_array_ref(172,3),16433),floatFreqVal);
- floatRateVal = _fvar_value(resolve_record_ref(resolve_array_ref(172,3),16434));
- _get_local_var_value(literal_string(1176),0,literal_string(1177));
Please login for more