BBN-Q / libx6

C/C++ driver for BBN X6-1000 firmware
Apache License 2.0
1 stars 1 forks source link

Check that threshold channel is valid #43

Closed dieris closed 5 years ago

dieris commented 7 years ago

Python crashes consistently in set_threshold_invert for integrated raw streams (c=0).

caryan commented 7 years ago

"crashes" as in segfaults?

dieris commented 7 years ago

I'm not sure, there is no error message other than 'Python stopped working'

caryan commented 7 years ago

Does the terminal you launched Python from show a stack trace?

dieris commented 7 years ago

No, it just exits Ipython immediately with no message

dieris commented 7 years ago

Actually, the debugger gives: Unhandled exception at 0x00007FF90188EA1E (ucrtbase.dll)

caryan commented 7 years ago

This used to work right? Are you using the new conda install? I wonder if this is MSVC being pedantic about something.

dieris commented 7 years ago

I think this is the first time I'm using the X6 after the new conda install. This used to work before

dieris commented 7 years ago

Thresholds can only be set for fast integrators (b=0). The confusion was caused by swapped indeces in Auspex here.