print_rpc of ndarray freezes #465
sb10q
commented 2024-07-21 13:09:50 +08:00
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
```
sb10q
added the 2024-07-21 13:09:50 +08:00
high-priority
label
derppening
was assigned by sb10q 2024-07-21 13:10:16 +08:00
derppening
referenced this issue 2024-08-13 15:58:56 +08:00
Cannot type-annotate ndarray RPC parameter in ARTIQ #464
derppening
referenced a pull request that will close this issue 2024-08-15 16:03:43 +08:00
[artiq] Fix RPC of ndarrays to host #495
sb10q
closed this issue 2024-08-16 17:16:40 +08:00
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#465
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?