Experimental Physics and
| |||||||||||||||
|
Hi all,
i'm trying to write 7 bytes to an ethernet device. When I write the bytes \x00\x13\x00\x00\x00\x00\x13 through the asynOctet I get what I expect: 2019/08/23 13:04:57.979 10.0.0.173:30305 UDP* write 7
00 13 00 00 00 00 13 When I try to do the same thing through stream device the output is not what I expect: cmd: drvAsynIPPortConfigure("OC_CMD", "10.0.0.173:30305 UDP*", 0, 0, 0) Db: record(ao, "$(P)$(Q):STOP") { field(DESC, "Stop program") field(DTYP, "stream") field(OUT, "@OXCS700.proto stop($(P)$(Q)) $(PORTCMD)") field(SDIS, "$(P)$(Q):DISABLE") } Proto: stop { out "\x00\x13\x00\x00\x00\x00\x13"; } Output: 2019/08/23 13:10:37.774 10.0.0.173:30305 UDP* write 2
02 13 Any idea what i'm doing wrong? Thanks, -- David Best regards, David Vine (925) 326 7503
This e-mail and any attachments are provided for the sole use of the intended recipient(s), and may contain information that is confidential, privileged, proprietary or otherwise protected by law. If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy, forward or otherwise disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and delete the original message from your mail system. Thank you.
| ||||||||||||||
ANJ, 16 Sep 2019 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |