Commit e0163945 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

remove debug code

parent 6fc0bd42
......@@ -57,9 +57,6 @@ int main(int argc, char *argv[]){
int status=0, total_length;
uint32_t type;
int dims_nb;
fprintf(stderr, "start graph %s\n", history_str);
blc_program_set_description("Display the content of the blc_channel depending on its type and format");
blc_program_add_option(&verbatim, 'c', "command", "string", "command directly send to gnuplot", NULL);
......@@ -76,15 +73,9 @@ int main(int argc, char *argv[]){
blc_program_add_option(&refresh_string, 'P', "period", "UI32", "graph refresh period in ms", "100");
blc_program_add_option(&window_string, 'W', "window", "string", "window posistion and size: 'px,py,sx,sy'", nullptr);
blc_program_add_multiple_parameters(&channel_names, "blc_channel", -1, "channel you want to graph");
blc_program_init(&argc, &argv, blc_quit);
fprintf(stderr, "init done graph %s\n", history_str);
fprintf(stderr, "param done graph %s\n", history_str);
for (char *const*channel_name_pt = channel_names; *channel_name_pt!=nullptr; channel_name_pt++){
new (&inputs.back()) blc_channel(*channel_name_pt, BLC_CHANNEL_READ);
......@@ -149,9 +140,6 @@ int main(int argc, char *argv[]){
fprintf(pipef, "set term qt 1 position %d,%d size %d,%d\n", px, py, sx, sy);
fprintf(stderr, "before graph %s\n", history_str);
if (history_str) create_history_graph(pipef, inputs, strtol(history_str, NULL, 10), sampling_period, strtol(sample_string, NULL, 10)*1000, ymin, ymax);
else create_graph(pipef, inputs, sampling_period, ymin, ymax, xmin, xmax, lmax);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment