################################# System command #####################################################
#Command places the touch panel (if present) in local control mode. All front panel keys are returned to a functional state.
defsystLocal(self):
self.__s.send("SYST:LOC\n".encode())
#Command or receipt of an external SCPI command places the touch panel in a non-locked remote mode.
defsystRemote(self):
self.__s.send("SYST:REM\n".encode())
#Query returns the SCPI version number to which the module complies. The value is of the form YYYY.V, where YYYY is the year and V is the revision number for that year.
defsystVersion(self):
self.__s.send("SYST:VER\n".encode())
#Command specifies the interval (Seconds) in which a command must be received. Query returns the programmed watchdog interval (Seconds).
#Command determines the type communication required to reset the watchdog timer. Query returns the type of communication required to reset the watchdog timer.
################################# Digital Subsystem ############################
#Query returns the current state of the general purpose digital input port on the specified module.
defdigitalInput(self):
self.__s.send(("DIG:INP\n").encode())
#Query returns the number of general purpose digital inputs (expressed as number of bits).
defdigitalInputCount(self):
self.__s.send(("DIG:INP:COUN\n").encode())
#Command sets the state of the general purpose digital output port on the specified module. Query returns the last programmed state of the general purpose digital output
defdigitalOutput(self):
self.__s.send(("DIG:OUT\n").encode())
#Query returns the number of general purpose digital outputs (expressed as number of bits).
defdigitalInputCount(self):
self.__s.send(("DIG:OUT:COUN\n").encode())
################################# Setters and Getters ################################################