print_rpc of ndarray freezes #465

Closed
opened 2024-07-21 13:09:50 +08:00 by sb10q · 0 comments
Owner
from numpy import array as np_array

from artiq.experiment import *
from artiq.coredevice.core import Core

@nac3
class Test(EnvExperiment):
    core: KernelInvariant[Core]

    def build(self):
        self.setattr_device("core")

    @kernel
    def run(self):
        print_rpc(np_array([1.0]))
> artiq_run test.py
# connects to the board, runs kernel then freezes, nothing printed, never terminates until Ctrl-C
``` from numpy import array as np_array from artiq.experiment import * from artiq.coredevice.core import Core @nac3 class Test(EnvExperiment): core: KernelInvariant[Core] def build(self): self.setattr_device("core") @kernel def run(self): print_rpc(np_array([1.0])) ``` ``` > artiq_run test.py # connects to the board, runs kernel then freezes, nothing printed, never terminates until Ctrl-C ```
sb10q added the
high-priority
label 2024-07-21 13:09:50 +08:00
derppening was assigned by sb10q 2024-07-21 13:10:16 +08:00
sb10q closed this issue 2024-08-16 17:16:40 +08:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#465
No description provided.