Blame view

html/Oscilloscope/Global/1_Mode_acqw/cmd_acqw.php 465 Bytes
c825216f   lwadbled   feat(main.php): R...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  <?php
  	/* Commande Mode Acquisition */
  	if(array_key_exists('acqw',$_POST)){
  		$acquire=$_POST['acqw'];
  		shell_exec('lxi scpi -a '.$adresse.' "acqw '.$acquire.'"');
  	}
  	/* Commande nombre de point moyen acquisition */
  	if(array_key_exists('avga',$_POST)){
  		$points=$_POST['avga'];
  		shell_exec('lxi scpi -a '.$adresse.' "avga '.$points.'"');
  	}
  	$acqw_mode=shell_exec('lxi scpi -a '.$adresse.' "acqw?"');
  	$avga=shell_exec('lxi scpi -a '.$adresse.' "avga?"');
  ?>