Skip to content
error.txt 12.8 KiB
Newer Older
Nicolas Nunez Barreto's avatar
Nicolas Nunez Barreto committed

root:While compiling <repository>/Examples/Amplitude_Modulation/urukul_RAM_AM.py
<artiq>/coredevice/spi2.py:201:9-201:14: error: cannot unify (self:<instance artiq.coredevice.spi2.SPIMaster>, data:numpy.int64)->'a delay('b) with (self:<instance artiq.coredevice.spi2.SPIMaster>, data:numpy.int32)->NoneType delay('c): 64 is incompatible with 32
    def write(self, data):
        ^^^^^
<artiq>/coredevice/spi2.py:201:9-201:14: note: expression of type (self:<instance artiq.coredevice.spi2.SPIMaster>, data:numpy.int64)->'a delay('b)
    def write(self, data):
        ^^^^^

Me salta con 671.5 kHz
Salta en la posicion 870


        root:Terminating with exception (RTIOUnderflow: RTIO underflow at 7448606358909560 mu, channel 8, slack -1176 mu)
        Core Device Traceback (most recent call last):
          File "/home/liaf-ankylosaurus-admin/Documents/artiq/artiq_master/repository/Examples/Amplitude_Modulation/urukul_RAM_AM_scan.py", line 199, in artiq_worker_urukul_RAM_AM_scan.AD9910RAM.run_kernel(..., ...) (RA=+0x1008)
            self.u.write_ram(data)
          File "<artiq>/coredevice/ad9910.py", line 313, in ... artiq.coredevice.ad9910.AD9910.write_ram<artiq.coredevice.ad9910.AD9910>(...) (inlined)
            self.bus.write(data[i])
          File "<artiq>/coredevice/spi2.py", line 225, in ... artiq.coredevice.spi2.SPIMaster.write<artiq.coredevice.spi2.SPIMaster>(...) (inlined)
            rtio_output((self.channel << 8) | SPI_DATA_ADDR, data)
          File "ksupport/rtio.rs", line 67, column 14, in (Rust function)
            <unknown>
                         ^
        artiq.coredevice.exceptions.RTIOUnderflow(0): RTIO underflow at 7448606358909560 mu, channel 8, slack -1176 mu
        Traceback (most recent call last):
          File "/nix/store/b78yqa1hniqc5c7803jr4kwsfq2l9rg6-python3-3.7.6-env/lib/python3.7/site-packages/artiq/master/worker_impl.py", line 290, in main
            exp_inst.run()
          File "/home/liaf-ankylosaurus-admin/Documents/artiq/artiq_master/repository/Examples/Amplitude_Modulation/urukul_RAM_AM_scan.py", line 155, in run
            self.run_kernel()
          File "/nix/store/b78yqa1hniqc5c7803jr4kwsfq2l9rg6-python3-3.7.6-env/lib/python3.7/site-packages/artiq/language/core.py", line 54, in run_on_core
            return getattr(self, arg).run(run_on_core, ((self,) + k_args), k_kwargs)
          File "/nix/store/b78yqa1hniqc5c7803jr4kwsfq2l9rg6-python3-3.7.6-env/lib/python3.7/site-packages/artiq/coredevice/core.py", line 137, in run
            self.comm.serve(embedding_map, symbolizer, demangler)
          File "/nix/store/b78yqa1hniqc5c7803jr4kwsfq2l9rg6-python3-3.7.6-env/lib/python3.7/site-packages/artiq/coredevice/comm_kernel.py", line 505, in serve
            self._serve_exception(embedding_map, symbolizer, demangler)
          File "/nix/store/b78yqa1hniqc5c7803jr4kwsfq2l9rg6-python3-3.7.6-env/lib/python3.7/site-packages/artiq/coredevice/comm_kernel.py", line 497, in _serve_exception
            raise python_exn
        artiq.coredevice.exceptions.RTIOUnderflow: RTIO underflow at 7448606358909560 mu, channel 8, slack -1176 mu






print:[771751936, 964689920, 1140850688, 1291845632, 1400897536, 1451229184, 1451229184, 1392508928, 1283457024, 1140850688, 956301312, 763363328, 570425344, 394264576, 243269632, 142606336, 92274688, 92274688, 150994944, 268435456, 419430400, 595591168, 788529152, 981467136, 1157627904, 1308622848, 1409286144, 1451229184, 1451229184, 1384120320, 1275068416, 1115684864, 939524096, 746586112, 553648128, 377487360, 234881024, 134217728, 92274688, 100663296, 159383552, 276824064, 436207616, 612368384, 813694976, 1006632960, 1174405120, 1317011456, 1409286144, 1459617792, 1442840576, 1375731712, 1258291200, 1098907648, 922746880, 721420288, 528482304, 360710144, 218103808, 125829120, 83886080, 100663296, 176160768, 293601280, 452984832, 637534208, 830472192, 1023410176, 1191182336, 1325400064, 1417674752, 1459617792, 1442840576, 1367343104, 1241513984, 1082130432, 897581056, 704643072, 511705088, 343932928, 209715200, 117440512, 83886080, 109051904, 184549376, 310378496, 469762048, 654311424, 847249408, 1040187392, 1207959552, 1342177280, 1426063360, 1459617792, 1434451968, 1358954496, 1233125376, 1065353216, 880803840, 687865856, 494927872, 327155712, 201326592, 117440512, 83886080, 109051904, 192937984, 318767104, 486539264, 671088640, 872415232, 1056964608, 1224736768, 1350565888, 1434451968, 1459617792, 1426063360, 1342177280, 1216348160, 1048576000, 864026624, 662700032, 478150656, 310378496, 184549376, 109051904, 83886080, 117440512, 201326592, 335544320, 503316480, 696254464, 889192448, 1073741824, 1241513984, 1358954496, 1434451968, 1459617792, 1426063360, 1333788672, 1199570944, 1031798784, 838860800, 645922816, 461373440, 301989888, 176160768, 109051904, 83886080, 125829120, 218103808, 352321536, 520093696, 713031680, 905969664, 1090519040, 1249902592, 1375731712, 1442840576, 1459617792, 1417674752, 1325400064, 1182793728, 1015021568, 822083584, 629145600, 444596224, 285212672, 167772160, 100663296, 83886080, 134217728, 226492416, 369098752, 536870912, 729808896, 931135488, 1107296256, 1266679808, 1384120320, 1442840576, 1459617792, 1409286144, 1308622848, 1166016512, 998244352, 805306368, 603979776, 427819008, 268435456, 159383552, 100663296, 92274688, 142606336, 243269632, 385875968, 562036736, 754974720, 947912704, 1132462080, 1283457024, 1392508928, 1451229184, 1451229184, 1400897536, 1300234240, 1149239296, 973078528, 780140544, 587202560, 411041792, 260046848, 150994944, 92274688, 92274688, 142606336, 251658240, 402653184, 578813952, 771751936, 964689920, 1140850688, 1291845632, 1400897536, 1451229184, 1451229184, 1392508928, 1283457024, 1140850688, 956301312, 763363328, 570425344, 394264576, 243269632, 142606336, 92274688, 92274688, 150994944, 268435456, 419430400, 595591168, 788529152, 981467136, 1157627904, 1308622848, 1409286144, 1451229184, 1451229184, 1384120320, 1275068416, 1115684864, 939524096, 746586112, 553648128, 377487360, 234881024, 134217728, 92274688, 100663296, 159383552, 276824064, 436207616, 612368384, 813694976, 1006632960, 1174405120, 1317011456, 1409286144, 1459617792, 1442840576, 1375731712, 1258291200, 1098907648, 922746880, 721420288, 528482304, 360710144, 218103808, 125829120, 83886080, 100663296, 176160768, 293601280, 452984832, 637534208, 830472192, 1023410176, 1191182336, 1325400064, 1417674752, 1459617792, 1442840576, 1367343104, 1241513984, 1082130432, 897581056, 704643072, 511705088, 343932928, 209715200, 117440512, 83886080, 109051904, 184549376, 310378496, 469762048, 654311424, 847249408, 1040187392, 1207959552, 1342177280, 1426063360, 1459617792, 1434451968, 1358954496, 1233125376, 1065353216, 880803840, 687865856, 494927872, 327155712, 201326592, 117440512, 83886080, 109051904, 192937984, 318767104, 486539264, 671088640, 872415232, 1056964608, 1224736768, 1350565888, 1434451968, 1459617792, 1426063360, 1342177280, 1216348160, 1048576000, 864026624, 662700032, 478150656, 310378496, 184549376, 109051904, 83886080, 117440512, 201326592, 335544320, 503316480, 696254464, 889192448, 1073741824, 1241513984, 1358954496, 1434451968, 1459617792, 1426063360, 1333788672, 1199570944, 1031798784, 838860800, 645922816, 461373440, 301989888, 176160768, 109051904, 83886080, 125829120, 218103808, 352321536, 520093696, 713031680, 905969664, 1090519040, 1249902592, 1375731712, 1442840576, 1459617792, 1417674752, 1325400064, 1182793728, 1015021568, 822083584, 629145600, 444596224, 285212672, 167772160, 100663296, 83886080, 134217728, 226492416, 369098752, 536870912, 729808896, 931135488, 1107296256, 1266679808, 1384120320, 1442840576, 1459617792, 1409286144, 1308622848, 1166016512, 998244352, 805306368, 603979776, 427819008, 268435456, 159383552, 100663296, 92274688, 142606336, 243269632, 385875968, 562036736, 754974720, 947912704, 1132462080, 1283457024, 1392508928, 1451229184, 1451229184, 1400897536, 1300234240, 1149239296, 973078528, 780140544, 587202560, 411041792, 260046848, 150994944, 92274688, 92274688, 142606336, 251658240, 402653184, 578813952, 771751936, 964689920, 1140850688, 1291845632, 1400897536, 1451229184, 1451229184, 1392508928, 1283457024, 1140850688, 956301312, 763363328, 570425344, 394264576, 243269632, 142606336, 92274688, 92274688, 150994944, 268435456, 419430400, 595591168, 788529152, 981467136, 1157627904, 1308622848, 1409286144, 1451229184, 1451229184, 1384120320, 1275068416, 1115684864, 939524096, 746586112, 553648128, 377487360, 234881024, 134217728, 92274688, 100663296, 159383552, 276824064, 436207616, 612368384, 813694976, 1006632960, 1174405120, 1317011456, 1409286144, 1459617792, 1442840576, 1375731712, 1258291200, 1098907648, 922746880, 721420288, 528482304, 360710144, 218103808, 125829120, 83886080, 100663296, 176160768, 293601280, 452984832, 637534208, 830472192, 1023410176, 1191182336, 1325400064, 1417674752, 1459617792, 1442840576, 1367343104, 1241513984, 1082130432, 897581056, 704643072, 511705088, 343932928, 209715200, 117440512, 83886080, 109051904, 184549376, 310378496, 469762048, 654311424, 847249408, 1040187392, 1207959552, 1342177280, 1426063360, 1459617792, 1434451968, 1358954496, 1233125376, 1065353216, 880803840, 687865856, 494927872, 327155712, 201326592, 117440512, 83886080, 109051904, 192937984, 318767104, 486539264, 671088640, 872415232, 1056964608, 1224736768, 1350565888, 1434451968, 1459617792, 1426063360, 1342177280, 1216348160, 1048576000, 864026624, 662700032, 478150656, 310378496, 184549376, 109051904, 83886080, 117440512, 201326592, 335544320, 503316480, 696254464, 889192448, 1073741824, 1241513984, 1358954496, 1434451968, 1459617792, 1426063360, 1333788672, 1199570944, 1031798784, 838860800, 645922816, 461373440, 301989888, 176160768, 109051904, 83886080, 125829120, 218103808, 352321536, 520093696, 713031680, 905969664, 1090519040, 1249902592, 1375731712, 1442840576, 1459617792, 1417674752, 1325400064, 1182793728, 1015021568, 822083584, 629145600, 444596224, 285212672, 167772160, 100663296, 83886080, 134217728, 226492416, 369098752, 536870912, 729808896, 931135488, 1107296256, 1266679808, 1384120320, 1442840576, 1459617792, 1409286144, 1308622848, 1166016512, 998244352, 805306368, 603979776, 427819008, 268435456, 159383552, 100663296, 92274688, 142606336, 243269632, 385875968, 562036736, 754974720, 947912704, 1132462080, 1283457024, 1392508928, 1451229184, 1451229184, 1400897536, 1300234240, 1149239296, 973078528, 780140544, 587202560, 411041792, 260046848, 150994944, 92274688, 92274688, 142606336, 251658240, 402653184, 578813952, 771751936, 964689920, 1140850688, 1291845632, 1400897536, 1451229184, 1451229184, 1392508928, 1283457024, 1140850688, 956301312, 763363328, 570425344, 394264576, 243269632, 142606336, 92274688, 92274688, 150994944, 268435456, 419430400, 595591168, 788529152, 981467136, 1157627904, 1308622848, 1409286144, 1451229184, 1451229184, 1384120320, 1275068416, 1115684864, 939524096, 746586112, 553648128, 377487360, 234881024, 134217728, 92274688, 100663296, 159383552, 276824064, 436207616, 612368384, 813694976, 1006632960, 1174405120, 1317011456, 1409286144, 1459617792, 1442840576, 1375731712, 1258291200, 1098907648, 922746880, 721420288, 528482304, 360710144, 218103808, 125829120, 83886080, 100663296, 176160768, 293601280, 452984832, 637534208, 830472192, 1023410176, 1191182336, 1325400064, 1417674752, 1459617792, 1442840576, 1367343104, 1241513984, 1082130432, 897581056, 704643072, 511705088, 343932928, 209715200, 117440512, 83886080, 109051904, 184549376, 310378496, 469762048, 654311424, 847249408, 1040187392, 1207959552, 1342177280, 1426063360, 1459617792, 1434451968, 1358954496, 1233125376, 1065353216, 880803840, 687865856, 494927872, 327155712, 201326592, 117440512, 83886080, 109051904, 192937984, 318767104, 486539264, 671088640, 872415232, 1056964608, 1224736768, 1350565888, 1434451968, 1459617792, 1426063360, 1342177280, 1216348160, 1048576000, 864026624, 662700032, 478150656, 310378496, 184549376, 109051904, 83886080, 117440512, 201326592, 335544320, 503316480, 696254464, 889192448, 1073741824, 1241513984, 1358954496, 1434451968, 1459617792, 1426063360, 1333788672, 1199570944, 1031798784, 838860800, 645922816, 461373440, 301989888, 176160768, 109051904, 83886080, 125829120, 218103808, 352321536, 520093696, 713031680, 905969664, 1090519040, 1249902592, 1375731712, 1442840576, 1459617792, 1417674752, 1325400064, 1182793728, 1015021568, 822083584, 629145600, 444596224, 285212672, 167772160, 100663296, 83886080, 134217728, 226492416, 369098752, 536870912, 729808896, 931135488, 1107296256, 1266679808, 1384120320, 1442840576, 1459617792, 1409286144, 1308622848, 1166016512, 998244352, 805306368, 603979776, 427819008, 268435456, 159383552, 100663296, 92274688, 142606336, 243269632, 385875968, 562036736, 754974720, 947912704, 1132462080, 1283457024, 1392508928, 1451229184, 1451229184, 1400897536, 1300234240, 1149239296, 973078528, 780140544, 587202560, 411041792, 260046848, 150994944, 92274688, 92274688, 142606336, 251658240, 402653184, 578813952]