Blame view

html/Multimetre/Mesures/Unite/cmd_unite.php 233 Bytes
95d09295   lwadbled   fix(): correction...
1
2
3
4
5
6
7
8
9
  <?php
  	/* Commande Unité CH1 */
  	if(array_key_exists('meas',$_POST)){
  		$unit=$_POST["meas"];
  		shell_exec('lxi scpi -a '.$adresse.' "meas:'.$unit.'?"');
  	}else{
  		$unit=shell_exec('lxi scpi -a '.$adresse.' "MEAS:VOLT:DC?"');
  	}
  ?>