Commit b355c4be08b5c5069d05e5f7019a9597f07aad37

Authored by aklotz
1 parent a965774e
Exists in master

Fix bugs C code

gui/tp_audine_elec/main.cpp
... ... @@ -266,11 +266,11 @@ int tp_read_frame(struct camprop *cam)
266 266  
267 267 // -- Boucle sur le transfert horizontal
268 268 for (j = 0; j < imax; j++) {
269   - float tphiR=0.020;
  269 + float tphiR=2.0; //0.020;
270 270 float tRef1=4.0;
271 271 float tRef2=1.0;
272 272 float tRef3=1.0;
273   - float tphiPIX=0.25;
  273 + float tphiPIX=1.0; // 0.25
274 274 float tVid1=4.0;
275 275 float tVid2=1.0;
276 276 float tSel=1.0;
... ...
gui/tp_audine_elec/tp_audine_elec.py
... ... @@ -55,7 +55,7 @@ if __name__ == &quot;__main__&quot;:
55 55 print(exc)
56 56  
57 57 # --- Global variable to select the method
58   - methods = ["full_frame", "zi_zh", "fast_line", "read_pel_fast", "read_pel_fast2", "fast_vidage", "square_signal", "set_0", "set_255"]
  58 + methods = ["full_frame", "zi_zh", "fast_line", "read_pel_fast", "read_pel_fast2", "fast_vidage"] #, "square_signal", "set_0", "set_255"]
59 59  
60 60 # --- Global variable to define info messages
61 61 infos = {}
... ... @@ -236,7 +236,7 @@ if __name__ == &quot;__main__&quot;:
236 236 #entry_method('<<ComboboxSelected>>', var_method)
237 237 # ---
238 238 var_exp = tk.DoubleVar()
239   - var_exp.set(2.0)
  239 + var_exp.set(0.0)
240 240 label_exp = tk.Label(frame101m, text="Temps de pose (s)")
241 241 label_exp.pack(side = tk.LEFT)
242 242 entry_exp = tk.Entry(frame101m, width=4, textvariable=var_exp)
... ...