mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-26 03:38:25 +08:00
RTIOUnderflow: show slack
This commit is contained in:
parent
16a1ab4418
commit
53b06a0b9b
@ -22,8 +22,8 @@ void rtio_process_exceptional_status(int status, long long int timestamp, int ch
|
|||||||
if(status & RTIO_O_STATUS_UNDERFLOW) {
|
if(status & RTIO_O_STATUS_UNDERFLOW) {
|
||||||
rtio_o_underflow_reset_write(1);
|
rtio_o_underflow_reset_write(1);
|
||||||
artiq_raise_from_c("RTIOUnderflow",
|
artiq_raise_from_c("RTIOUnderflow",
|
||||||
"RTIO underflow at {0} mu, channel {1}, counter {2}",
|
"RTIO underflow at {0} mu, channel {1}, slack {2} mu",
|
||||||
timestamp, channel, rtio_get_counter());
|
timestamp, channel, timestamp - rtio_get_counter());
|
||||||
}
|
}
|
||||||
if(status & RTIO_O_STATUS_SEQUENCE_ERROR) {
|
if(status & RTIO_O_STATUS_SEQUENCE_ERROR) {
|
||||||
rtio_o_sequence_error_reset_write(1);
|
rtio_o_sequence_error_reset_write(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user