Exemplo n.º 1
0
 def _check_devtype(self):
     if self.devtype != 'HDAWG8' and self.devtype != 'HDAWG4':
         raise zibase.ziDeviceError(
             'Device {} of type {} is not a HDAWG instrument!'.format(
                 self.devname, self.devtype))
Exemplo n.º 2
0
 def _check_devtype(self) -> None:
     if self.devtype != 'UHFQA':
         raise zibase.ziDeviceError(
             'Device {} of type {} is not a UHFQA instrument!'.format(
                 self.devname, self.devtype))
Exemplo n.º 3
0
 def _check_devtype(self):
     if self.devtype != 'PQSC':
         raise zibase.ziDeviceError('Device {} of type {} is not a PQSC \
             instrument!'.format(self.devname, self.devtype))