Loading…
Loading…
Method Name: refresh_curve2_method
Method ID: 0x47D6
Method Label: Refresh Echo Curve Graph
Method Help: Click to refresh Echo Curve.
- {
- char status[3];
- int temp_array_index;
- int cscratch;
- int max_pos_value;
- int max_neg_value;
- long i;
- long array_index;
- long received_index;
- long block;
- long num_blocks;
- long success;
- long datapoint;
- long datapointvalue;
- float conv_to_units;
- float ref_offset;
- float echodeltaX;
- float fscratch;
- float fscratch1;
- int point_interval;
- int total_graphed_points;
- int last_index;
- float first_x_location;
- float last_x_location;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- if (curve_selection != 50)
- {
- success = 0;
- for (i = 1; i <= 3; i++)
- {
- send(225,status);
- if (status[0] == 0)
- {
- save_values();
- success = 1;
- i = 4;
- }
- DELAY_TIME(1);
- }
Please login for more