Loading…
Loading…
Method Name: calc_ET_upper_limit
Method ID: 0x41EF
Method Label: ET Upper Limit For Stress Condition
Method Help: ET upper limit for stress condition
- {
- float maxETlimit;
- float minETlimit;
- float full_range;
- float ET_up_limit_stress;
- int temp_val;
- long ids[4];
- PUT_MESSAGE(literal_string(1344));
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- send_command(149);
- send_command(150);
- maxETlimit = _fvar_value(16553);
- minETlimit = _fvar_value(16554);
- full_range = maxETlimit - minETlimit;
- ET_up_limit_stress = maxETlimit - full_range / 10;
- temp_val = _ivar_value(16444);
Please login for more