- 
                Notifications
    You must be signed in to change notification settings 
- Fork 66
Open
Description
My initial timing duration is about 25s, and it can run well. But when I tried to cycle my experiment three times, my experiment logic script like this:
t = 0
start()
for i in range(3):
     #my experiment. about 25s
stop(t)
I‘ve encountered this error:
Traceback (most recent call last):
  File "C:\Users\Tao\labscript-suite\userlib\labscriptlib\DFG_MOT_load\DFG_MOT_load_0811.py", line 288, in <module>
    stop(t)
  File "c:\labscript\lib\site-packages\labscript\labscript.py", line 3588, in stop
    generate_code()
  File "c:\labscript\lib\site-packages\labscript\labscript.py", line 3407, in generate_code
    device.generate_code(hdf5_file)
  File "c:\labscript\lib\site-packages\labscript_devices\PrawnBlaster\labscript_devices.py", line 450, in generate_code
    # pulse_program[j]["half_period"] = instruction["half_period"]
OverflowError: Python int too large to convert to C long
Compilation aborted.
Is there any way to solve it?Thanks!
@mjasperse @chrisjbillington @philipstarkey
Metadata
Metadata
Assignees
Labels
No labels