예제 #1
0
 /**
  * Generic query for spectrum specific commands
  * 
  * @param  string $command
  * @param  string $value  
  * @param  array  $options
  * @return $this
  */
 private function genericCommand($command, $value, array $options)
 {
     $options = $this->sanitize($options, null);
     if ($options['store'] === true) {
         $this->gpib->addCommand($command . $value);
     } else {
         $this->gpib->send($command . $value, $options['address']);
     }
     return $this;
 }
예제 #2
0
 /**
  * Write the parameters to the device
  * 
  * @return void
  */
 public function setAll()
 {
     $this->gpib->sendAll();
 }