Pārlūkot izejas kodu

added reset function

publish
Wouter Horlings pirms 8 gadiem
vecāks
revīzija
29b84f761b
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. +5
    -0
      OOequipment/Equipment.m

+ 5
- 0
OOequipment/Equipment.m Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt