Skip to content

Instantly share code, notes, and snippets.

@tacaswell
Created May 25, 2018 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tacaswell/521381f3ea976e5d50e8ba8f5ce2cae7 to your computer and use it in GitHub Desktop.
Save tacaswell/521381f3ea976e5d50e8ba8f5ce2cae7 to your computer and use it in GitHub Desktop.
v12
(/home/tcaswell/conda_envs/cp_test) tcaswell@xf02id1-ws1:~$ caproto-get 'SR:OPS-BI{DCCT:1}I:Real-I' -vvvv
[get] Spawned caproto-repeater process.
[get] Registering with the Channel Access repeater.
[cli.bcast] Serializing 1 commands into one datagram
[cli.bcast] 1 of 1 RepeaterRegisterRequest(client_address='0.0.0.0')
[get] Repeater registration timed out; continuing.
[get] Searching for 'SR:OPS-BI{DCCT:1}I:Real-I'....
[cli.bcast] Serializing 2 commands into one datagram
[cli.bcast] 1 of 2 VersionRequest(priority=0, version=13)
[cli.bcast] 2 of 2 SearchRequest(name=b'SR:OPS-BI{DCCT:1}I:Real-I', cid=0, version=13)
[get] Search request sent to ('10.2.0.255', 5064).
[cli.bcast] Received datagram from ('10.2.0.250', 5064) with 40 bytes.
[cli.10.2.0.250:5064.0] Serializing VersionRequest(priority=0, version=13)
[cli.10.2.0.250:5064.0] Serializing HostNameRequest(name=b'xf02id1-ws1')
[cli.10.2.0.250:5064.0] Serializing ClientNameRequest(name=b'tcaswell')
[cli.10.2.0.250:5064.0] Serializing CreateChanRequest(name=b'SR:OPS-BI{DCCT:1}I:Real-I', cid=0, version=13)
[cli.10.2.0.250:5064.0] Received 16 bytes.
[cli.10.2.0.250:5064.0] 16 bytes -> VersionResponse(version=12)
[cli.10.2.0.250:5064.0] 0 bytes are cached. Need more bytes to parse next command.
[cli.10.2.0.250:5064.0] Received 32 bytes.
[cli.10.2.0.250:5064.0] 16 bytes -> AccessRightsResponse(cid=0, access_rights=<AccessRights.READ: 1>)
[cli.10.2.0.250:5064.0] 16 bytes -> CreateChanResponse(data_type=<ChannelType.DOUBLE: 6>, data_count=1, cid=0, sid=1)
[cli.10.2.0.250:5064.0] 0 bytes are cached. Need more bytes to parse next command.
[get] Channel created.
[get] Detected native data_type <ChannelType.DOUBLE: 6>.
[cli.10.2.0.250:5064.0] Serializing ReadNotifyRequest(data_type=<ChannelType.DOUBLE: 6>, data_count=0, sid=1, ioid=0)
[cli.10.2.0.250:5064.0] Received 24 bytes.
[cli.10.2.0.250:5064.0] 16 bytes -> ReadNotifyResponse(data=array([], dtype=float64), data_type=<ChannelType.DOUBLE: 6>, data_count=0, status=CAStatusCode(name='ECA_BADCOUNT', code=22, code_with_severity=176, severity=<CASeverity.WARNING: 0>, success=0, defunct=False, description='Invalid element count requested'), ioid=0, metadata=None)
[cli.10.2.0.250:5064.0] 0 bytes are cached. Need more bytes to parse next command.
[cli.10.2.0.250:5064.0] Serializing ClearChannelRequest(sid=1, cid=0)
SR:OPS-BI{DCCT:1}I:Real-I []
(/home/tcaswell/conda_envs/cp_test) tcaswell@xf02id1-ws1:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment