Post Go back to editing

Missing The Mark for Ending of a Measurement Loop

Category: Hardware
Product Number: emStat pico

Hello

I try to control emstat pico module with stm32 processor. When I check the capturing data, I recognized that there is no '*\n" command in the recording data. Do you what it can be reason for that?

Here is the recorded data, "e\nM0007\nPda8061B74u;ba8030F9Dn,12,28\n", '\0' <repeats 62 times>

Parents Reply
  • Hello  

    Thank you for your response! Here is my script. I basically update certain values in the script because of that I use snprintf.

    snprintf(Chrono_Amp, 200, "e\n"
    							"var p\n"
    							"var c\n"
    							"set_pgstat_chan 0\n"
    							"set_pgstat_mode 2\n"
    							"set_range ba %d%c\n" // Added current range control
    							"wait %d\n" // Added tequilibrium
    						    "cell_on\n"
    							"meas_loop_ca p c %d\m %d %d\n"
    							"pck_start\n"
    							"pck_add p\n"
    							"pck_add c\n"
    							"pck_end\n"
    							"endloop\n"
    							"cell_off\n"
    							"\n\0",
    							Current_range,
    							Current_unit,
    							tequil16,
    							EdcChro,
    							tintervalChro,
    							trunChro);

Children