Explorar el Código

added reset function

publish
Wouter Horlings hace 8 años
padre
commit
29b84f761b
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. +5
    -0
      OOequipment/Equipment.m

+ 5
- 0
OOequipment/Equipment.m Ver fichero

@@ -38,6 +38,11 @@ classdef Equipment < handle
ecq.write_unsafe('*cls');
end
function reset(ecq)
%RESET Sends reset command to device via '*RST'.
ecq.write_unsafe('*rst');
end
function opc(ecq)
%OPC executes 'operation complete query' to device.
%Function holds untill device returns '1'. Must be


Cargando…
Cancelar
Guardar