Skip to content

Instantly share code, notes, and snippets.

View stashlukj's full-sized avatar
🙂

Jeremy Stashluk stashlukj

🙂
  • Geophysical Survey Systems, Inc.
  • Nashua, NH
View GitHub Profile
from asyncio import DatagramProtocol, gather, get_event_loop, sleep
from collections import deque
from functools import partial
from json import loads, dumps
from random import choices, random
from ophyd import Device
from ophyd.status import DeviceStatus, Status
CLIENT_PORT = 9870
be(): {'R4:PAVE_POROSITY:128_accel_x': {'source': 'SIM:R4:PAVE_POROSITY:128_accel_x', 'dtype': 'integer', 'shape': []}}
read(): {'R4:PAVE_POROSITY:128_accel_x': {'value': 0, 'timestamp': 1591991471.709325}}
+-----------+------------+------------------------------+
| seq_num | time | R4:PAVE_POROSITY:128_accel_x |
+-----------+------------+------------------------------+
failed to format row
+-----------+------------+------------------------------+
generator count ['c602f216'] (scan num: 1)