diff --git a/README.md b/README.md
index d12a45a..eff90f8 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
+
# Presentation du projet
Le but de ce projet est de réaliser une interface Web de commande et de visualisation d'appareils de mesures (tels que des oscilloscopes, générateurs, multimètres, etc ...) afin de pouvoir réaliser des TP d'électronique à distance.
diff --git a/html/Captures/Siglent_SDS1102CML_SDS1MEBX2R2090_6_01_01_19.bmp b/html/Captures/Siglent_SDS1102CML_SDS1MEBX2R2090_6_01_01_19.bmp
index 6bad338..dc1e8f3 100644
Binary files a/html/Captures/Siglent_SDS1102CML_SDS1MEBX2R2090_6_01_01_19.bmp and b/html/Captures/Siglent_SDS1102CML_SDS1MEBX2R2090_6_01_01_19.bmp differ
diff --git a/html/Captures/Siglent_Technologies_SDG1032X_SDG1XCAX3R0874_1_01_01_33R1.bmp b/html/Captures/Siglent_Technologies_SDG1032X_SDG1XCAX3R0874_1_01_01_33R1.bmp
index 733278f..7fe9d7b 100644
Binary files a/html/Captures/Siglent_Technologies_SDG1032X_SDG1XCAX3R0874_1_01_01_33R1.bmp and b/html/Captures/Siglent_Technologies_SDG1032X_SDG1XCAX3R0874_1_01_01_33R1.bmp differ
diff --git a/html/Generateur/commandes_generateur.php b/html/Generateur/commandes_generateur.php
new file mode 100644
index 0000000..96a9209
--- /dev/null
+++ b/html/Generateur/commandes_generateur.php
@@ -0,0 +1,22 @@
+
diff --git a/html/Generateur/main_generateur.php b/html/Generateur/main_generateur.php
index 010c21c..05005c2 100644
--- a/html/Generateur/main_generateur.php
+++ b/html/Generateur/main_generateur.php
@@ -1,20 +1,15 @@
';
echo '
';
- /* Affichage de la capture d'ecran */
- usleep(90000); /* Utilisation pour un premier screenshot plus propre */
- /* Nom de la capture d'ecran au nom de l'appareil */
- $pic_name[$i] = str_replace(".","_",$Appareil[$i]['nom']);
- $pic_name[$i] = str_replace(" ","_",$pic_name[$i]);
- $pic_name[$i] = str_replace("+","",$pic_name[$i]);
- $pic_name[$i] = str_replace(",","_",$pic_name[$i]).".bmp";
- $pic_name[$i] = 'Captures/'.$pic_name[$i];
- $_SESSION['pic_name'] = $pic_name[$i];
- include(getcwd().'/Scripts/screenshot.php'); /* Execution commande screenshot */
- /* Recuperation du nom du fichier a partir du chemin complet */
- echo "
";
+ /* Affichage image */
+ include('./Scripts/creation_img.php');
echo '
';
echo '';
/* Commandes de l'appareil */
diff --git a/html/Generateur_test/Fonctions/Burst/cmd_burst.php b/html/Generateur_test/Fonctions/Burst/cmd_burst.php
new file mode 100644
index 0000000..6a2cc74
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Burst/cmd_burst.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Fonctions/Burst/form_burst.php b/html/Generateur_test/Fonctions/Burst/form_burst.php
new file mode 100644
index 0000000..1aaded3
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Burst/form_burst.php
@@ -0,0 +1,24 @@
+
+
+
+
+
diff --git a/html/Generateur_test/Fonctions/Channel/cmd_channel.php b/html/Generateur_test/Fonctions/Channel/cmd_channel.php
new file mode 100644
index 0000000..86615fc
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Channel/cmd_channel.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Fonctions/Channel/form_channel.php b/html/Generateur_test/Fonctions/Channel/form_channel.php
new file mode 100644
index 0000000..bbbd509
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Channel/form_channel.php
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/html/Generateur_test/Fonctions/Mod/cmd_mod.php b/html/Generateur_test/Fonctions/Mod/cmd_mod.php
new file mode 100644
index 0000000..5749b48
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Mod/cmd_mod.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Fonctions/Mod/form_mod.php b/html/Generateur_test/Fonctions/Mod/form_mod.php
new file mode 100644
index 0000000..6f8b792
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Mod/form_mod.php
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/html/Generateur_test/Fonctions/Parameter/cmd_parameter.php b/html/Generateur_test/Fonctions/Parameter/cmd_parameter.php
new file mode 100644
index 0000000..74c81ab
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Parameter/cmd_parameter.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Fonctions/Parameter/form_parameter.php b/html/Generateur_test/Fonctions/Parameter/form_parameter.php
new file mode 100644
index 0000000..d768aed
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Parameter/form_parameter.php
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/html/Generateur_test/Fonctions/Sweep/cmd_sweep.php b/html/Generateur_test/Fonctions/Sweep/cmd_sweep.php
new file mode 100644
index 0000000..da2d571
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Sweep/cmd_sweep.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Fonctions/Sweep/form_sweep.php b/html/Generateur_test/Fonctions/Sweep/form_sweep.php
new file mode 100644
index 0000000..59699d4
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Sweep/form_sweep.php
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/html/Generateur_test/Fonctions/Utility/cmd_utility.php b/html/Generateur_test/Fonctions/Utility/cmd_utility.php
new file mode 100644
index 0000000..5e5953c
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Utility/cmd_utility.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Fonctions/Utility/form_utility.php b/html/Generateur_test/Fonctions/Utility/form_utility.php
new file mode 100644
index 0000000..f351174
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Utility/form_utility.php
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/html/Generateur_test/Fonctions/Waves/cmd_waves.php b/html/Generateur_test/Fonctions/Waves/cmd_waves.php
new file mode 100644
index 0000000..efa4afa
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Waves/cmd_waves.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Fonctions/Waves/form_waves.php b/html/Generateur_test/Fonctions/Waves/form_waves.php
new file mode 100644
index 0000000..72c2731
--- /dev/null
+++ b/html/Generateur_test/Fonctions/Waves/form_waves.php
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/html/Generateur_test/Global/Chiffres/cmd_chiffres.php b/html/Generateur_test/Global/Chiffres/cmd_chiffres.php
new file mode 100644
index 0000000..3de6b85
--- /dev/null
+++ b/html/Generateur_test/Global/Chiffres/cmd_chiffres.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Global/Chiffres/form_chiffres.php b/html/Generateur_test/Global/Chiffres/form_chiffres.php
new file mode 100644
index 0000000..a8d1b95
--- /dev/null
+++ b/html/Generateur_test/Global/Chiffres/form_chiffres.php
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/html/Generateur_test/Global/Fleches/cmd_fleches.php b/html/Generateur_test/Global/Fleches/cmd_fleches.php
new file mode 100644
index 0000000..6f35def
--- /dev/null
+++ b/html/Generateur_test/Global/Fleches/cmd_fleches.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Global/Fleches/form_fleches.php b/html/Generateur_test/Global/Fleches/form_fleches.php
new file mode 100644
index 0000000..f5172d4
--- /dev/null
+++ b/html/Generateur_test/Global/Fleches/form_fleches.php
@@ -0,0 +1,15 @@
+
+
+
+
diff --git a/html/Generateur_test/Global/Knob/btn_knob_generateur.png b/html/Generateur_test/Global/Knob/btn_knob_generateur.png
new file mode 100644
index 0000000..c183400
Binary files /dev/null and b/html/Generateur_test/Global/Knob/btn_knob_generateur.png differ
diff --git a/html/Generateur_test/Global/Knob/cmd_knob.php b/html/Generateur_test/Global/Knob/cmd_knob.php
new file mode 100644
index 0000000..ef351e6
--- /dev/null
+++ b/html/Generateur_test/Global/Knob/cmd_knob.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Global/Knob/form_knob.php b/html/Generateur_test/Global/Knob/form_knob.php
new file mode 100644
index 0000000..5533f16
--- /dev/null
+++ b/html/Generateur_test/Global/Knob/form_knob.php
@@ -0,0 +1,36 @@
+
+
+
+
+
diff --git a/html/Generateur_test/Menus/Func1/cmd_func1.php b/html/Generateur_test/Menus/Func1/cmd_func1.php
new file mode 100644
index 0000000..caa8e77
--- /dev/null
+++ b/html/Generateur_test/Menus/Func1/cmd_func1.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Menus/Func1/form_func1.php b/html/Generateur_test/Menus/Func1/form_func1.php
new file mode 100644
index 0000000..0bdd904
--- /dev/null
+++ b/html/Generateur_test/Menus/Func1/form_func1.php
@@ -0,0 +1,13 @@
+
+
+
+
+
diff --git a/html/Generateur_test/Menus/Func2/cmd_func2.php b/html/Generateur_test/Menus/Func2/cmd_func2.php
new file mode 100644
index 0000000..442e34f
--- /dev/null
+++ b/html/Generateur_test/Menus/Func2/cmd_func2.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Menus/Func2/form_func2.php b/html/Generateur_test/Menus/Func2/form_func2.php
new file mode 100644
index 0000000..bea0ff3
--- /dev/null
+++ b/html/Generateur_test/Menus/Func2/form_func2.php
@@ -0,0 +1,13 @@
+
+
+
+
diff --git a/html/Generateur_test/Menus/Func3/cmd_func3.php b/html/Generateur_test/Menus/Func3/cmd_func3.php
new file mode 100644
index 0000000..b3f0706
--- /dev/null
+++ b/html/Generateur_test/Menus/Func3/cmd_func3.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Menus/Func3/form_func3.php b/html/Generateur_test/Menus/Func3/form_func3.php
new file mode 100644
index 0000000..40dbc8f
--- /dev/null
+++ b/html/Generateur_test/Menus/Func3/form_func3.php
@@ -0,0 +1,13 @@
+
+
+
+
diff --git a/html/Generateur_test/Menus/Func4/cmd_func4.php b/html/Generateur_test/Menus/Func4/cmd_func4.php
new file mode 100644
index 0000000..2469fa8
--- /dev/null
+++ b/html/Generateur_test/Menus/Func4/cmd_func4.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Menus/Func4/form_func4.php b/html/Generateur_test/Menus/Func4/form_func4.php
new file mode 100644
index 0000000..e867a75
--- /dev/null
+++ b/html/Generateur_test/Menus/Func4/form_func4.php
@@ -0,0 +1,13 @@
+
+
+
+
diff --git a/html/Generateur_test/Menus/Func5/cmd_func5.php b/html/Generateur_test/Menus/Func5/cmd_func5.php
new file mode 100644
index 0000000..81e68ee
--- /dev/null
+++ b/html/Generateur_test/Menus/Func5/cmd_func5.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Menus/Func5/form_func5.php b/html/Generateur_test/Menus/Func5/form_func5.php
new file mode 100644
index 0000000..7509df6
--- /dev/null
+++ b/html/Generateur_test/Menus/Func5/form_func5.php
@@ -0,0 +1,13 @@
+
+
+
+
diff --git a/html/Generateur_test/Menus/Func6/cmd_func6.php b/html/Generateur_test/Menus/Func6/cmd_func6.php
new file mode 100644
index 0000000..1891b0d
--- /dev/null
+++ b/html/Generateur_test/Menus/Func6/cmd_func6.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Menus/Func6/form_func6.php b/html/Generateur_test/Menus/Func6/form_func6.php
new file mode 100644
index 0000000..97b98cc
--- /dev/null
+++ b/html/Generateur_test/Menus/Func6/form_func6.php
@@ -0,0 +1,13 @@
+
+
+
+
diff --git a/html/Generateur_test/Outputs/Output1/cmd_output_1.php b/html/Generateur_test/Outputs/Output1/cmd_output_1.php
new file mode 100644
index 0000000..a943a25
--- /dev/null
+++ b/html/Generateur_test/Outputs/Output1/cmd_output_1.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Outputs/Output1/form_output_1.php b/html/Generateur_test/Outputs/Output1/form_output_1.php
new file mode 100644
index 0000000..23f3c8e
--- /dev/null
+++ b/html/Generateur_test/Outputs/Output1/form_output_1.php
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/html/Generateur_test/Outputs/Output2/cmd_output_2.php b/html/Generateur_test/Outputs/Output2/cmd_output_2.php
new file mode 100644
index 0000000..7034ff2
--- /dev/null
+++ b/html/Generateur_test/Outputs/Output2/cmd_output_2.php
@@ -0,0 +1,7 @@
+
diff --git a/html/Generateur_test/Outputs/Output2/form_output_2.php b/html/Generateur_test/Outputs/Output2/form_output_2.php
new file mode 100644
index 0000000..d98c7b3
--- /dev/null
+++ b/html/Generateur_test/Outputs/Output2/form_output_2.php
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/html/Generateur_test/commandes_generateur.php b/html/Generateur_test/commandes_generateur.php
new file mode 100644
index 0000000..96a9209
--- /dev/null
+++ b/html/Generateur_test/commandes_generateur.php
@@ -0,0 +1,22 @@
+
diff --git a/html/Generateur_test/main_generateur.php b/html/Generateur_test/main_generateur.php
new file mode 100644
index 0000000..65e7364
--- /dev/null
+++ b/html/Generateur_test/main_generateur.php
@@ -0,0 +1,60 @@
+
+
+
+ ';
+ echo '
';
+ /* Affichage image */
+ include('./Scripts/creation_img.php');
+ echo '
';
+ echo '
';
+ /* Commandes de l'appareil */
+ echo '
';
+ echo '
Panel de commande
';
+ echo '';
+ $chemin = getcwd().'/'.$Appareil[$i]['type'];
+ $files = array_diff(scandir($chemin),array('..','.'));
+ echo '
';
+ foreach($files as $Fich){
+ $path = $chemin.'/'.$Fich;
+ if(is_dir($path)){
+ $files = array_diff(scandir($path),array('..','.'));
+ if($Fich!="Menus"){
+ echo '
';
+ }
+ foreach($files as $dir){
+ $path2 = $path.'/'.$dir;
+ if(is_dir($path2)){
+ $new_dir = array_diff(scandir($path2),array('..','.'));
+ foreach($new_dir as $form){
+ $path3 = $path2.'/'.$form;
+ if(is_file($path3) && strpos($path3,"form")!=false){
+ include($path3);
+ }
+ }
+ }
+ }
+ if($Fich!="Menus"){
+ echo '
';
+ }
+ }
+ }
+ echo '
';
+ echo '
';
+ echo '
';
+ ?>
+
diff --git a/html/Oscilloscope/commandes_oscilloscope.php b/html/Oscilloscope/commandes_oscilloscope.php
new file mode 100644
index 0000000..96a9209
--- /dev/null
+++ b/html/Oscilloscope/commandes_oscilloscope.php
@@ -0,0 +1,22 @@
+
diff --git a/html/Oscilloscope/main_oscilloscope.php b/html/Oscilloscope/main_oscilloscope.php
index 06580d4..fbaa853 100644
--- a/html/Oscilloscope/main_oscilloscope.php
+++ b/html/Oscilloscope/main_oscilloscope.php
@@ -1,74 +1,69 @@
';
echo '';
- /* Affichage de la capture d'ecran */
- usleep(90000); /* Utilisation pour un premier screenshot plus propre */
- /* Nom de la capture d'ecran au nom de l'appareil */
- $pic_name[$i] = str_replace(".","_",$Appareil[$i]['nom']);
- $pic_name[$i] = str_replace(" ","_",$pic_name[$i]);
- $pic_name[$i] = str_replace("+","",$pic_name[$i]);
- $pic_name[$i] = str_replace(",","_",$pic_name[$i]).".bmp";
- $pic_name[$i] = 'Captures/'.$pic_name[$i];
- $_SESSION['pic_name'] = $pic_name[$i];
- include(getcwd().'/Scripts/screenshot.php'); /* Execution commande screenshot */
- /* Recuperation du nom du fichier a partir du chemin complet */
- echo "
";
+ /* Affichage image */
+ include('./Scripts/creation_img.php');
echo '
';
echo '';
+ /* Affichage image */
+ include('./Scripts/creation_img.php');
+ echo '
';
+ echo '