Ver código fonte

added reset function

publish
Wouter Horlings 8 anos atrás
pai
commit
29b84f761b
1 arquivos alterados com 5 adições e 0 exclusões
  1. +5
    -0
      OOequipment/Equipment.m

+ 5
- 0
OOequipment/Equipment.m Ver arquivo

@@ -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


Carregando…
Cancelar
Salvar