digilent 0.17.4__py3-none-any.whl → 0.18.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: digilent
3
- Version: 0.17.4
3
+ Version: 0.18.1
4
4
  Summary: Digilent temperature and voltage monitoring for CGSE
5
5
  Author: IvS KU Leuven
6
6
  Maintainer-email: Rik Huygen <rik.huygen@kuleuven.be>, Sara Regibo <sara.regibo@kuleuven.be>
@@ -0,0 +1,16 @@
1
+ digilent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ digilent/cgse_explore.py,sha256=gqvtBkToEjy1UVVvv2bO3BjXBPZDsMmjSxt75IIgD2E,398
3
+ digilent/cgse_services.py,sha256=3rjZVbZso-ARqFYVhfaR3zsX5fJF6aYHNUaBWc6-fsk,1729
4
+ digilent/settings.yaml,sha256=P4uuM5QX1-y5xhWmWQ1uPCxWyxJRkSfI9SigpITsx58,1269
5
+ egse/digilent/digilent.py,sha256=dtsndCfGgskFzKLJQDh42jx1xmPEGkLTxXVxol6Vzcc,102321
6
+ egse/digilent/measurpoint/digilent_devif.py,sha256=iikZweqyOxZGhAWGB38hsHOCz8wzf1khUcpolv8DRGE,10406
7
+ egse/digilent/measurpoint/dt8874/__init__.py,sha256=szontbAKG42iRaylOFyd8lFU_xO59QI-4ignWlr-qzU,1071
8
+ egse/digilent/measurpoint/dt8874/dt8874.py,sha256=mzWbFpnCofBLG-lwnU7gWgtQbbtgwXGA7jxaQvS2sq4,2386
9
+ egse/digilent/measurpoint/dt8874/dt8874.yaml,sha256=E1DtHcdi2DczoQx5w1QxZSoot17SMJ3bcXl5KG6QfEY,1490
10
+ egse/digilent/measurpoint/dt8874/dt8874_cs.py,sha256=pLu5_ECBM-B79gJDEtj4dFHcSVoNlqsTu9JZrSPaY_0,11670
11
+ egse/digilent/measurpoint/dt8874/dt8874_devif.py,sha256=f_zB2A9xgHhsBuEf-gyAwlTOETdvRxxcddE8wNVl0pM,598
12
+ egse/digilent/measurpoint/dt8874/dt8874_protocol.py,sha256=9wGilvZrSX4JyONnQAm7QHZZQa_RHKaNVZHSX1d2j9o,5595
13
+ digilent-0.18.1.dist-info/METADATA,sha256=qUCVJKBvMKQ006ztjumibvYtgEWz70pSlw_Oc1XvC70,887
14
+ digilent-0.18.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
15
+ digilent-0.18.1.dist-info/entry_points.txt,sha256=E0HJ-3SZhE3h37apAXsT-MJuTaN1oJmnlDoftwnxOOM,369
16
+ digilent-0.18.1.dist-info/RECORD,,
egse/digilent/digilent.py CHANGED
@@ -465,7 +465,7 @@ class DigilentInterface(DeviceInterface):
465
465
  setup = setup or load_setup()
466
466
 
467
467
  try:
468
- channel_config = setup.gse.dt8874
468
+ channel_config = setup.gse.pmx_a
469
469
 
470
470
  if "RTD" in channel_config:
471
471
  self.channels["RTD"] = navdict()
@@ -534,14 +534,14 @@ class DigilentInterface(DeviceInterface):
534
534
  device is forced into the operation complete idle state.
535
535
  """
536
536
 
537
- pass
537
+ raise NotImplementedError
538
538
 
539
539
  @dynamic_command(
540
540
  cmd_type=CommandType.WRITE,
541
- cmd_string="*ESE",
541
+ cmd_string="*ESE ${bits}",
542
542
  process_cmd_string=add_lf,
543
543
  )
544
- def std_event_status_enable_register(self, bits: int) -> None:
544
+ def set_std_event_status_enable_register(self, bits: int) -> None:
545
545
  """Enables specified bits in the Standard Event Status Enable register.
546
546
 
547
547
  The bits in the Standard Event Status Enable register are:
@@ -570,7 +570,7 @@ class DigilentInterface(DeviceInterface):
570
570
  > *ESE 189
571
571
  """
572
572
 
573
- pass
573
+ raise NotImplementedError
574
574
 
575
575
  @dynamic_command(
576
576
  cmd_type=CommandType.TRANSACTION,
@@ -609,7 +609,7 @@ class DigilentInterface(DeviceInterface):
609
609
  This value indicates that bits 0, 2, 3, 4, 5, and 7 of the Standard Event Status Enable register are enabled.
610
610
  """
611
611
 
612
- pass
612
+ raise NotImplementedError
613
613
 
614
614
  @dynamic_command(
615
615
  cmd_type=CommandType.TRANSACTION,
@@ -637,7 +637,6 @@ class DigilentInterface(DeviceInterface):
637
637
  Status Enable register. On power-up, the Standard Event Status Enable register is zero; therefore, all bits in
638
638
  the Standard Event Status register are masked.
639
639
 
640
-
641
640
  Returns:
642
641
  Integer value expressed in base 2 (binary) that represents the weighted bit value of the Standard Event
643
642
  Status register and the binary-weighted decimal value for each bit. Values range from 0 to 255.
@@ -663,7 +662,7 @@ class DigilentInterface(DeviceInterface):
663
662
  < 16
664
663
  """
665
664
 
666
- pass
665
+ raise NotImplementedError
667
666
 
668
667
  @dynamic_command(
669
668
  cmd_type=CommandType.TRANSACTION,
@@ -692,7 +691,7 @@ class DigilentInterface(DeviceInterface):
692
691
  firmware.
693
692
  """
694
693
 
695
- pass
694
+ raise NotImplementedError
696
695
 
697
696
  @dynamic_command(
698
697
  cmd_string="*RST",
@@ -709,7 +708,7 @@ class DigilentInterface(DeviceInterface):
709
708
  Refer to IEE 388.2-1992, Sect. 10.32, for more information.
710
709
  """
711
710
 
712
- pass
711
+ raise NotImplementedError
713
712
 
714
713
  @dynamic_command(
715
714
  cmd_type=CommandType.TRANSACTION,
@@ -720,7 +719,7 @@ class DigilentInterface(DeviceInterface):
720
719
  def get_status_byte_register(self) -> int:
721
720
  """Returns the current value of the Status Byte register.
722
721
 
723
- The weighted sum of the bit values of hte Status Byte register is returned, ranging from 0 to 255. The
722
+ The weighted sum of the bit values of the Status Byte register is returned, ranging from 0 to 255. The
724
723
  following bits, described in 1999 SCPI Syntax & Stype, Sect. 9, are supported:
725
724
 
726
725
  | Bit | Binary weight | Description |
@@ -732,6 +731,9 @@ class DigilentInterface(DeviceInterface):
732
731
 
733
732
  Refer to IEE 388.2-1992, Sect. 10.36, for more information.
734
733
 
734
+ Returns:
735
+ Weighted sum of the bit values of the Status Byte register, ranging from 0 to 255.
736
+
735
737
  Examples:
736
738
  The following example shows a query that is correct and causes no errors:
737
739
 
@@ -770,7 +772,7 @@ class DigilentInterface(DeviceInterface):
770
772
  < 0
771
773
  """
772
774
 
773
- pass
775
+ raise NotImplementedError
774
776
 
775
777
  @dynamic_command(
776
778
  cmd_string="STATus:OPERation:CONDition?",
@@ -827,7 +829,8 @@ class DigilentInterface(DeviceInterface):
827
829
  < 0
828
830
  > *STB?
829
831
  """
830
- pass
832
+
833
+ raise NotImplementedError
831
834
 
832
835
  @dynamic_command(
833
836
  cmd_string=":STATus:SCAn?",
@@ -853,7 +856,7 @@ class DigilentInterface(DeviceInterface):
853
856
  < 1001,1050
854
857
  """
855
858
 
856
- pass
859
+ raise NotImplementedError
857
860
 
858
861
  @dynamic_command(
859
862
  cmd_string=":SYSTem:CALibrate",
@@ -871,7 +874,7 @@ class DigilentInterface(DeviceInterface):
871
874
  > :SYST:CAL
872
875
  """
873
876
 
874
- pass
877
+ raise NotImplementedError
875
878
 
876
879
  @dynamic_command(
877
880
  cmd_string=":SYSTem:DATE?",
@@ -896,7 +899,7 @@ class DigilentInterface(DeviceInterface):
896
899
  < 2008,1,15
897
900
  """
898
901
 
899
- pass
902
+ raise NotImplementedError
900
903
 
901
904
  @dynamic_command(
902
905
  cmd_string=":SYSTem:ERRor?",
@@ -967,7 +970,7 @@ class DigilentInterface(DeviceInterface):
967
970
  < 0,"No error"
968
971
  """
969
972
 
970
- pass
973
+ raise NotImplementedError
971
974
 
972
975
  @dynamic_command(
973
976
  cmd_string=":SYSTem:ERRor:COUNt?",
@@ -993,7 +996,7 @@ class DigilentInterface(DeviceInterface):
993
996
  < 0
994
997
  """
995
998
 
996
- pass
999
+ raise NotImplementedError
997
1000
 
998
1001
  @dynamic_command(
999
1002
  cmd_string=":SYSTem:PRESet",
@@ -1006,7 +1009,7 @@ class DigilentInterface(DeviceInterface):
1006
1009
  The effect of this command is the same as pushing the LAN reset switch on the rear panel of the instrument.
1007
1010
  """
1008
1011
 
1009
- pass
1012
+ raise NotImplementedError
1010
1013
 
1011
1014
  @dynamic_command(
1012
1015
  cmd_string=":SYSTem:COMMunicate:NETwork:IPADdress?",
@@ -1022,7 +1025,7 @@ class DigilentInterface(DeviceInterface):
1022
1025
 
1023
1026
  # FIXME This actually returns the IP address of my laptop, rather than the instrument
1024
1027
 
1025
- pass
1028
+ raise NotImplementedError
1026
1029
 
1027
1030
  @dynamic_command(
1028
1031
  cmd_string=":SYSTem:COMMunicate:NETwork:MASk?",
@@ -1040,7 +1043,7 @@ class DigilentInterface(DeviceInterface):
1040
1043
  < 255.255.255.0
1041
1044
  """
1042
1045
 
1043
- pass
1046
+ raise NotImplementedError
1044
1047
 
1045
1048
  @dynamic_command(
1046
1049
  cmd_string=":SYSTem:PASSword:CDISable ${password}",
@@ -1061,7 +1064,7 @@ class DigilentInterface(DeviceInterface):
1061
1064
  password (str): Password that is stored in permanent memory on the instrument.
1062
1065
  """
1063
1066
 
1064
- pass
1067
+ raise NotImplementedError
1065
1068
 
1066
1069
  @dynamic_command(
1067
1070
  cmd_string=":SYSTem:PASSword:CENable ${password}",
@@ -1082,7 +1085,7 @@ class DigilentInterface(DeviceInterface):
1082
1085
  password (str): Password that is stored in permanent memory on the instrument.
1083
1086
  """
1084
1087
 
1085
- pass
1088
+ raise NotImplementedError
1086
1089
 
1087
1090
  @dynamic_command(
1088
1091
  cmd_string=":SYSTem:PASSword:CENable:STATe?",
@@ -1103,7 +1106,7 @@ class DigilentInterface(DeviceInterface):
1103
1106
  < 1
1104
1107
  """
1105
1108
 
1106
- pass
1109
+ raise NotImplementedError
1107
1110
 
1108
1111
  @dynamic_command(
1109
1112
  cmd_string=":SYSTem:PASSword:NEW ${old_password},${new_password}",
@@ -1125,7 +1128,7 @@ class DigilentInterface(DeviceInterface):
1125
1128
  on the instrument.
1126
1129
  """
1127
1130
 
1128
- pass
1131
+ raise NotImplementedError
1129
1132
 
1130
1133
  @dynamic_command(
1131
1134
  cmd_string=":SYSTem:VERSion?",
@@ -1145,7 +1148,7 @@ class DigilentInterface(DeviceInterface):
1145
1148
  < 1999.0
1146
1149
  """
1147
1150
 
1148
- pass
1151
+ raise NotImplementedError
1149
1152
 
1150
1153
  @dynamic_command(
1151
1154
  cmd_string=":SYSTem:BOArd?",
@@ -1166,7 +1169,7 @@ class DigilentInterface(DeviceInterface):
1166
1169
  < 6
1167
1170
  """
1168
1171
 
1169
- pass
1172
+ raise NotImplementedError
1170
1173
 
1171
1174
  @dynamic_command(
1172
1175
  cmd_string=":SYSTem:BOArd:MOdel? ${board_number}",
@@ -1200,7 +1203,7 @@ class DigilentInterface(DeviceInterface):
1200
1203
  < 5
1201
1204
  """
1202
1205
 
1203
- pass
1206
+ raise NotImplementedError
1204
1207
 
1205
1208
  @dynamic_command(
1206
1209
  cmd_string=":SYSTem:BOArd:MOdel:NAMe? ${board_number}",
@@ -1224,7 +1227,7 @@ class DigilentInterface(DeviceInterface):
1224
1227
  < DT8872
1225
1228
  """
1226
1229
 
1227
- pass
1230
+ raise NotImplementedError
1228
1231
 
1229
1232
  @dynamic_command(
1230
1233
  cmd_string=":SYSTem:BOArd:RANGe? ${board_number}",
@@ -1254,7 +1257,7 @@ class DigilentInterface(DeviceInterface):
1254
1257
  < -1.250, 1.250
1255
1258
  """
1256
1259
 
1257
- pass
1260
+ raise NotImplementedError
1258
1261
 
1259
1262
  @dynamic_command(
1260
1263
  cmd_string=":SYSTem:CHANnel?",
@@ -1277,7 +1280,7 @@ class DigilentInterface(DeviceInterface):
1277
1280
  < @0:23
1278
1281
  """
1279
1282
 
1280
- pass
1283
+ raise NotImplementedError
1281
1284
 
1282
1285
  @dynamic_command(
1283
1286
  cmd_string=":SYSTem:CHANnel:RTD?",
@@ -1309,7 +1312,7 @@ class DigilentInterface(DeviceInterface):
1309
1312
  < @8:15
1310
1313
  """
1311
1314
 
1312
- pass
1315
+ raise NotImplementedError
1313
1316
 
1314
1317
  @dynamic_command(
1315
1318
  cmd_string=":SYSTem:CHANnel:TCouple?",
@@ -1341,7 +1344,7 @@ class DigilentInterface(DeviceInterface):
1341
1344
  < @0:15
1342
1345
  """
1343
1346
 
1344
- pass
1347
+ raise NotImplementedError
1345
1348
 
1346
1349
  @dynamic_command(
1347
1350
  cmd_string=":SYSTem:CHANnel:VOLTage:RANGe?",
@@ -1372,7 +1375,7 @@ class DigilentInterface(DeviceInterface):
1372
1375
  < (@16:23)
1373
1376
  """
1374
1377
 
1375
- pass
1378
+ raise NotImplementedError
1376
1379
 
1377
1380
  @dynamic_command(
1378
1381
  cmd_string=":SYSTem:DINput?",
@@ -1393,7 +1396,7 @@ class DigilentInterface(DeviceInterface):
1393
1396
  < 8
1394
1397
  """
1395
1398
 
1396
- pass
1399
+ raise NotImplementedError
1397
1400
 
1398
1401
  @dynamic_command(
1399
1402
  cmd_string=":SYSTem:DINput?",
@@ -1414,7 +1417,7 @@ class DigilentInterface(DeviceInterface):
1414
1417
  < 8
1415
1418
  """
1416
1419
 
1417
- pass
1420
+ raise NotImplementedError
1418
1421
 
1419
1422
  @dynamic_command(
1420
1423
  cmd_string=":SYSTem:SCAn:RATe:MAXimum:SEC?",
@@ -1435,7 +1438,7 @@ class DigilentInterface(DeviceInterface):
1435
1438
  < 0.10000
1436
1439
  """
1437
1440
 
1438
- pass
1441
+ raise NotImplementedError
1439
1442
 
1440
1443
  @dynamic_command(
1441
1444
  cmd_string=":SYSTem:SCAn:RATe:MAXimum:HZ?",
@@ -1456,7 +1459,7 @@ class DigilentInterface(DeviceInterface):
1456
1459
  < 10.00000
1457
1460
  """
1458
1461
 
1459
- pass
1462
+ raise NotImplementedError
1460
1463
 
1461
1464
  @dynamic_command(
1462
1465
  cmd_string=":SYSTem:SCAn:RATe:MINimum:SEC?",
@@ -1477,7 +1480,7 @@ class DigilentInterface(DeviceInterface):
1477
1480
  < 6553.5
1478
1481
  """
1479
1482
 
1480
- pass
1483
+ raise NotImplementedError
1481
1484
 
1482
1485
  @dynamic_command(
1483
1486
  cmd_string=":SYSTem:SCAn:RATe:MINimum:HZ?",
@@ -1498,7 +1501,7 @@ class DigilentInterface(DeviceInterface):
1498
1501
  < 1.525e-4
1499
1502
  """
1500
1503
 
1501
- pass
1504
+ raise NotImplementedError
1502
1505
 
1503
1506
  @dynamic_command(
1504
1507
  cmd_string=":SYSTem:TIME?",
@@ -1522,7 +1525,7 @@ class DigilentInterface(DeviceInterface):
1522
1525
  < 15:31:45
1523
1526
  """
1524
1527
 
1525
- pass
1528
+ raise NotImplementedError
1526
1529
 
1527
1530
  @dynamic_command(
1528
1531
  cmd_string=":SYSTem:TZONe?",
@@ -1544,9 +1547,7 @@ class DigilentInterface(DeviceInterface):
1544
1547
  < 4, -45
1545
1548
  """
1546
1549
 
1547
- # TODO
1548
-
1549
- pass
1550
+ raise NotImplementedError
1550
1551
 
1551
1552
  @dynamic_command(
1552
1553
  cmd_string=":SYSTem:TZONe ${hour},${minute}",
@@ -1570,7 +1571,7 @@ class DigilentInterface(DeviceInterface):
1570
1571
  > :SYST:TZON 4,-45
1571
1572
  """
1572
1573
 
1573
- pass
1574
+ raise NotImplementedError
1574
1575
 
1575
1576
  # CONFigure Sub-System Commands
1576
1577
 
@@ -1611,7 +1612,7 @@ class DigilentInterface(DeviceInterface):
1611
1612
  > :CONF:RES (@1,2,8:46)
1612
1613
  """
1613
1614
 
1614
- pass
1615
+ raise NotImplementedError
1615
1616
 
1616
1617
  @dynamic_command(
1617
1618
  cmd_string=":CONFigure:TEMPerature:RTD ${rtd_type},${channels}",
@@ -1677,7 +1678,7 @@ class DigilentInterface(DeviceInterface):
1677
1678
  < 0
1678
1679
  """
1679
1680
 
1680
- pass
1681
+ raise NotImplementedError
1681
1682
 
1682
1683
  @dynamic_command(
1683
1684
  cmd_string=":CONFigure:TEMPerature:TCouple ${tc_type}, ${channels}",
@@ -1734,7 +1735,7 @@ class DigilentInterface(DeviceInterface):
1734
1735
  < 0
1735
1736
  """
1736
1737
 
1737
- pass
1738
+ raise NotImplementedError
1738
1739
 
1739
1740
  @dynamic_command(
1740
1741
  cmd_string=":CONFigure:VOLTage ${channels}",
@@ -1767,7 +1768,7 @@ class DigilentInterface(DeviceInterface):
1767
1768
  > :CONF:VOLT (@1,2,8:46)
1768
1769
  """
1769
1770
 
1770
- pass
1771
+ raise NotImplementedError
1771
1772
 
1772
1773
  @dynamic_command(
1773
1774
  cmd_string=":CONFigure:VOLTage:RANGe ${voltage_range},${channels}",
@@ -1838,7 +1839,8 @@ class DigilentInterface(DeviceInterface):
1838
1839
  """
1839
1840
 
1840
1841
  # TODO Only for VOLTpoint + MEASURpoint
1841
- pass
1842
+
1843
+ raise NotImplementedError
1842
1844
 
1843
1845
  @dynamic_command(
1844
1846
  cmd_string=":CONFigure? ${channels}",
@@ -1874,7 +1876,7 @@ class DigilentInterface(DeviceInterface):
1874
1876
  < RAW
1875
1877
  """
1876
1878
 
1877
- pass
1879
+ raise NotImplementedError
1878
1880
 
1879
1881
  @dynamic_command(
1880
1882
  cmd_string=":CONFigure:FILTer ${filter_type}",
@@ -1894,7 +1896,7 @@ class DigilentInterface(DeviceInterface):
1894
1896
  filter_type (str): Filter type to be used for the analogue input operations.
1895
1897
  """
1896
1898
 
1897
- pass
1899
+ raise NotImplementedError
1898
1900
 
1899
1901
  @dynamic_command(
1900
1902
  cmd_string=":CONFigure:FILTer?",
@@ -1927,7 +1929,7 @@ class DigilentInterface(DeviceInterface):
1927
1929
  < RAW
1928
1930
  """
1929
1931
 
1930
- pass
1932
+ raise NotImplementedError
1931
1933
 
1932
1934
  @dynamic_command(
1933
1935
  cmd_string=":CONFigure:SCAn:BUFfer?",
@@ -1955,7 +1957,7 @@ class DigilentInterface(DeviceInterface):
1955
1957
  < 1048576
1956
1958
  """
1957
1959
 
1958
- pass
1960
+ raise NotImplementedError
1959
1961
 
1960
1962
  @dynamic_command(
1961
1963
  cmd_string=":CONFigure:SCAn:CJC ${cjc}",
@@ -1993,7 +1995,7 @@ class DigilentInterface(DeviceInterface):
1993
1995
  < 1
1994
1996
  """
1995
1997
 
1996
- pass
1998
+ raise NotImplementedError
1997
1999
 
1998
2000
  @dynamic_command(
1999
2001
  cmd_string=":CONFigure:SCAn:CJC?",
@@ -2034,7 +2036,7 @@ class DigilentInterface(DeviceInterface):
2034
2036
  < 1
2035
2037
  """
2036
2038
 
2037
- pass
2039
+ raise NotImplementedError
2038
2040
 
2039
2041
  @dynamic_command(
2040
2042
  cmd_string=":CONFigure:SCAn:LISt ${channels}",
@@ -2074,7 +2076,7 @@ class DigilentInterface(DeviceInterface):
2074
2076
  < (@0,4:7)
2075
2077
  """
2076
2078
 
2077
- pass
2079
+ raise NotImplementedError
2078
2080
 
2079
2081
  @dynamic_command(
2080
2082
  cmd_string=":CONFigure:SCAn:LISt?",
@@ -2109,7 +2111,7 @@ class DigilentInterface(DeviceInterface):
2109
2111
  < (@0,4:7)
2110
2112
  """
2111
2113
 
2112
- pass
2114
+ raise NotImplementedError
2113
2115
 
2114
2116
  @dynamic_command(
2115
2117
  cmd_string=":CONFigure:SCAn:RATe:SEC ${rate}",
@@ -2179,7 +2181,7 @@ class DigilentInterface(DeviceInterface):
2179
2181
  < 0
2180
2182
  """
2181
2183
 
2182
- pass
2184
+ raise NotImplementedError
2183
2185
 
2184
2186
  @dynamic_command(
2185
2187
  cmd_string=":CONFigure:SCAn:RATe:SEC?",
@@ -2189,7 +2191,8 @@ class DigilentInterface(DeviceInterface):
2189
2191
  )
2190
2192
  def get_scan_rate(self) -> float:
2191
2193
  """Returns the time period of each scan [s]."""
2192
- pass
2194
+
2195
+ raise NotImplementedError
2193
2196
 
2194
2197
  @dynamic_command(
2195
2198
  cmd_string=":CONFigure:SCAn:RATe:HZ?",
@@ -2237,7 +2240,7 @@ class DigilentInterface(DeviceInterface):
2237
2240
  < 0
2238
2241
  """
2239
2242
 
2240
- pass
2243
+ raise NotImplementedError
2241
2244
 
2242
2245
  @dynamic_command(
2243
2246
  cmd_string=":CONFigure:TRIGger:SOURce ${source}",
@@ -2262,7 +2265,7 @@ class DigilentInterface(DeviceInterface):
2262
2265
  > :CONF:TRIG DIN0
2263
2266
  """
2264
2267
 
2265
- pass
2268
+ raise NotImplementedError
2266
2269
 
2267
2270
  @dynamic_command(
2268
2271
  cmd_string=":CONFigure:TRIGger:SOURce?",
@@ -2287,7 +2290,7 @@ class DigilentInterface(DeviceInterface):
2287
2290
  < DIN0
2288
2291
  """
2289
2292
 
2290
- pass
2293
+ raise NotImplementedError
2291
2294
 
2292
2295
  # MEASure Sub-System Commands
2293
2296
 
@@ -2324,7 +2327,7 @@ class DigilentInterface(DeviceInterface):
2324
2327
  in the given list of channels [Ohm].
2325
2328
  """
2326
2329
 
2327
- pass
2330
+ raise NotImplementedError
2328
2331
 
2329
2332
  @dynamic_command(
2330
2333
  cmd_type=CommandType.TRANSACTION,
@@ -2382,7 +2385,7 @@ class DigilentInterface(DeviceInterface):
2382
2385
  - 0a = carriage return; this is the standard ASCII terminator
2383
2386
  """
2384
2387
 
2385
- pass
2388
+ raise NotImplementedError
2386
2389
 
2387
2390
  @dynamic_command(
2388
2391
  cmd_type=CommandType.TRANSACTION,
@@ -2433,7 +2436,7 @@ class DigilentInterface(DeviceInterface):
2433
2436
  - 0a = carriage return; this is the standard ASCII terminator
2434
2437
  """
2435
2438
 
2436
- pass
2439
+ raise NotImplementedError
2437
2440
 
2438
2441
  @dynamic_command(
2439
2442
  cmd_type=CommandType.TRANSACTION,
@@ -2470,6 +2473,8 @@ class DigilentInterface(DeviceInterface):
2470
2473
  - 0a = carriage return; this is the standard ASCII terminator
2471
2474
  """
2472
2475
 
2476
+ raise NotImplementedError
2477
+
2473
2478
  # INITiate Sub-System Command
2474
2479
 
2475
2480
  @dynamic_command(
@@ -2525,7 +2530,7 @@ class DigilentInterface(DeviceInterface):
2525
2530
  < 0
2526
2531
  """
2527
2532
 
2528
- pass
2533
+ raise NotImplementedError
2529
2534
 
2530
2535
  # ABORt Sub-System Command
2531
2536
 
@@ -2573,7 +2578,7 @@ class DigilentInterface(DeviceInterface):
2573
2578
  < 0
2574
2579
  """
2575
2580
 
2576
- pass
2581
+ raise NotImplementedError
2577
2582
 
2578
2583
  # FETCh Sub-System Command
2579
2584
 
@@ -2652,7 +2657,7 @@ class DigilentInterface(DeviceInterface):
2652
2657
  0a Carriage Return. This is the standard SCPI Terminator.
2653
2658
  """
2654
2659
 
2655
- pass
2660
+ raise NotImplementedError
2656
2661
 
2657
2662
  # Digital INPut Sub-System Command
2658
2663
 
@@ -2679,7 +2684,7 @@ class DigilentInterface(DeviceInterface):
2679
2684
  < 130
2680
2685
  """
2681
2686
 
2682
- pass
2687
+ raise NotImplementedError
2683
2688
 
2684
2689
  # Digital OUTPut Sub-System Commands
2685
2690
 
@@ -2706,7 +2711,7 @@ class DigilentInterface(DeviceInterface):
2706
2711
  < 130
2707
2712
  """
2708
2713
 
2709
- pass
2714
+ raise NotImplementedError
2710
2715
 
2711
2716
  @dynamic_command(
2712
2717
  cmd_string=":OUTPut:STATe ${state}",
@@ -2733,7 +2738,7 @@ class DigilentInterface(DeviceInterface):
2733
2738
  > :OUTPut:STATe 129
2734
2739
  """
2735
2740
 
2736
- pass
2741
+ raise NotImplementedError
2737
2742
 
2738
2743
 
2739
2744
  class DigilentController(DigilentInterface, DynamicCommandMixin):
@@ -100,7 +100,7 @@ class DigilentEthernetInterface(DeviceConnectionInterface, DeviceTransport):
100
100
  self._is_connection_open = True
101
101
 
102
102
  # Check that we are connected to the controller by issuing the "VERSION" or
103
- # "*ISDN?" query. If we don't get the right response, then disconnect automatically.
103
+ # "*IDN?" query. If we don't get the right response, then disconnect automatically.
104
104
 
105
105
  if not self.is_connected():
106
106
  raise DeviceConnectionError(
@@ -157,7 +157,7 @@ class DigilentEthernetInterface(DeviceConnectionInterface, DeviceTransport):
157
157
 
158
158
  if "Data Translation" not in manufacturer or "DT" not in model:
159
159
  logger.error(
160
- f'Device did not respond correctly to a "IDN?" command, manufacturer={manufacturer}, model={model}. Disconnecting...'
160
+ f"Device did not respond correctly to a {IDENTIFICATION_QUERY} command, manufacturer={manufacturer}, model={model}. Disconnecting..."
161
161
  )
162
162
  self.disconnect()
163
163
  return False
@@ -187,7 +187,7 @@ class DigilentEthernetInterface(DeviceConnectionInterface, DeviceTransport):
187
187
  raise DeviceConnectionError(self.device_name, "Socket communication error.") from e_socket
188
188
  except AttributeError:
189
189
  if not self._is_connection_open:
190
- msg = "The DAQ6510 is not connected, use the connect() method."
190
+ msg = "The DT8874 is not connected, use the connect() method."
191
191
  raise DeviceConnectionError(self.device_name, msg)
192
192
  raise
193
193
 
@@ -214,7 +214,7 @@ class DigilentEthernetInterface(DeviceConnectionInterface, DeviceTransport):
214
214
 
215
215
  self._sock.sendall(command.encode())
216
216
 
217
- # wait for, read and return the response from HUBER (will be at most TBD chars)
217
+ # wait for, read and return the response from Digilent (will be at most TBD chars)
218
218
 
219
219
  return_string = self.read()
220
220
 
@@ -47,7 +47,7 @@ class Dt8874Proxy(DynamicProxy, Dt8874Interface):
47
47
  """
48
48
 
49
49
  def __init__(self):
50
- """Initialisation of a Dt8874Proxy."""
50
+ """Initialisation of a Digilent MEASURpoint DT8874 proxy."""
51
51
 
52
52
  # Fixed ports -> Use information from settings
53
53
 
@@ -68,6 +68,12 @@ def is_dt8874_cs_active(timeout: float = 0.5) -> bool:
68
68
 
69
69
  class Dt8874ControlServer(ControlServer):
70
70
  def __init__(self, simulator: bool = False):
71
+ """Initialisation of a Digilent MEASURpoint DT8874 Control Server.
72
+
73
+ Args:
74
+ simulator (bool): Indicates whether to operate in simulator mode.
75
+ """
76
+
71
77
  super().__init__()
72
78
 
73
79
  multiprocessing.current_process().name = PROCESS_NAME
@@ -72,6 +72,7 @@ class Dt8874Protocol(DynamicCommandProtocol):
72
72
  Returns:
73
73
  Digilent MEASURpoint DT8874 interface.
74
74
  """
75
+
75
76
  return self.dt8874
76
77
 
77
78
  def get_status(self) -> dict:
@@ -1,16 +0,0 @@
1
- digilent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- digilent/cgse_explore.py,sha256=gqvtBkToEjy1UVVvv2bO3BjXBPZDsMmjSxt75IIgD2E,398
3
- digilent/cgse_services.py,sha256=3rjZVbZso-ARqFYVhfaR3zsX5fJF6aYHNUaBWc6-fsk,1729
4
- digilent/settings.yaml,sha256=P4uuM5QX1-y5xhWmWQ1uPCxWyxJRkSfI9SigpITsx58,1269
5
- egse/digilent/digilent.py,sha256=NBglkJsUMY2D5KBxHvOF6H23sO05N9d59YqwgGYmwjg,100811
6
- egse/digilent/measurpoint/digilent_devif.py,sha256=wSi169uDxAeC-4HPAl-LyOnlnC04vaeR8WgU_5VyXBQ,10389
7
- egse/digilent/measurpoint/dt8874/__init__.py,sha256=szontbAKG42iRaylOFyd8lFU_xO59QI-4ignWlr-qzU,1071
8
- egse/digilent/measurpoint/dt8874/dt8874.py,sha256=N_CArad2fkXAajBMdYziZDymm5-x_-TqSpIrZDB6dh8,2364
9
- egse/digilent/measurpoint/dt8874/dt8874.yaml,sha256=E1DtHcdi2DczoQx5w1QxZSoot17SMJ3bcXl5KG6QfEY,1490
10
- egse/digilent/measurpoint/dt8874/dt8874_cs.py,sha256=Pag-ushBUmSf6WAPpiXGdxFRPiwT94wVoncKu-gm4xI,11489
11
- egse/digilent/measurpoint/dt8874/dt8874_devif.py,sha256=f_zB2A9xgHhsBuEf-gyAwlTOETdvRxxcddE8wNVl0pM,598
12
- egse/digilent/measurpoint/dt8874/dt8874_protocol.py,sha256=4lHGNjQMTi0Q0UUtkwUVAE087kpB30R7t6BL55bJHLE,5594
13
- digilent-0.17.4.dist-info/METADATA,sha256=FUwbsAqJheZqw93pa-TCOKvZR7G2sHujM9kRyAN2L_Q,887
14
- digilent-0.17.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
15
- digilent-0.17.4.dist-info/entry_points.txt,sha256=E0HJ-3SZhE3h37apAXsT-MJuTaN1oJmnlDoftwnxOOM,369
16
- digilent-0.17.4.dist-info/RECORD,,