Hi, Mark! As always, thanks for the help.
Where i before only had drvAsynIPPortConfigure("IPPORT1", "127.0.0.1:60000", 0, 0, 0), now i have:
drvAsynIPPortConfigure("IPPORT1", "127.0.0.1:60000", 0, 0, 0)
asynSetTraceIOMask("IPPORT1", 0, ESCAPE)
asynSetTraceMask("IPPORT1", 0, ERROR|DRIVER)
and running the script again with the monitors both via camonitor and via tcpflow generate the following results:
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params":
[["1", "0"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params": [["0"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params":
[["1", "1"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params": [["0"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params":
[["1", "2"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params": [["0"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params":
[["1", "3"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params": [["0"]], "jsonrpc": "2.0"}
CAMONITOR:
camonitor MOBICDTE:Backend:ImgChipNumberID
MOBICDTE:Backend:ImgChipNumberID <undefined> 0 UDF INVALID
CA.Client.Exception...............................................
Warning: "Identical process variable names on multiple servers"
Context: "Channel: "MOBICDTE:Backend:ImgChipNumberID", Connecting to: 192.168.55.1:5064, Ignored: s-mgn-mob01-l.abtlus.org.br:5064"
Source File: ../cac.cpp line 1320
Current Time: Thu Oct 06 2022 15:36:31.762020681
..................................................................
MOBICDTE:Backend:ImgChipNumberID 2022-10-06 15:36:55.282127 0 READ INVALID
MOBICDTE:Backend:ImgChipNumberID 2022-10-06 15:37:00.287686 1 READ INVALID
MOBICDTE:Backend:ImgChipNumberID 2022-10-06 15:37:05.291961 2 READ INVALID
MOBICDTE:Backend:ImgChipNumberID 2022-10-06 15:37:10.296531 3 READ INVALID
IN THE IOC SHELL:
2022/10/06 15:36:55.180 127.0.0.1:60000 write 92
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\":
[[\"1\", \"0\"]], \"jsonr
2022/10/06 15:36:55.182 127.0.0.1:60000 read 57
{\"id\":\"1\", \"result\":\"Selected sensor 0\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:36:55.283 127.0.0.1:60000 write 87
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\": [[\"0\"]], \"jsonrpc\":
2022/10/06 15:36:55.284 127.0.0.1:60000 read 41
{\"id\":\"1\", \"result\":\"0\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:37:00.185 127.0.0.1:60000 write 92
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\": [[\"1\", \"1\"]], \"jsonr
2022/10/06 15:37:00.187 127.0.0.1:60000 read 57
{\"id\":\"1\", \"result\":\"Selected sensor 1\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:37:00.289 127.0.0.1:60000 write 87
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\": [[\"0\"]], \"jsonrpc\":
2022/10/06 15:37:00.289 127.0.0.1:60000 read 41
{\"id\":\"1\", \"result\":\"1\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:37:05.190 127.0.0.1:60000 write 92
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\":
[[\"1\", \"2\"]], \"jsonr
2022/10/06 15:37:05.191 127.0.0.1:60000 read 57
{\"id\":\"1\", \"result\":\"Selected sensor 2\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:37:05.293 127.0.0.1:60000 write 87
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\": [[\"0\"]], \"jsonrpc\":
2022/10/06 15:37:05.294 127.0.0.1:60000 read 41
{\"id\":\"1\", \"result\":\"2\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:37:10.194 127.0.0.1:60000 write 92
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\":
[[\"1\", \"3\"]], \"jsonr
2022/10/06 15:37:10.196 127.0.0.1:60000 read 57
{\"id\":\"1\", \"result\":\"Selected sensor 3\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:37:10.298 127.0.0.1:60000 write 87
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\": [[\"0\"]], \"jsonrpc\":
2022/10/06 15:37:10.298 127.0.0.1:60000 read 41
{\"id\":\"1\", \"result\":\"3\", \"jsonrpc\":\"2.0\"}
WITH 0.1 SECOND OF DELAY:
TCPFLOW:
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params":
[["1", "0"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params": [["0"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params":
[["1", "1"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params": [["0"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params": [["1", "3"]], "jsonrpc": "2.0"}
127.000.000.001.55866-127.000.000.001.60000: {"id":"1", "method":"HS_ImgChipNumberID_Command", "params": [["0"]], "jsonrpc": "2.0"}
CAMONITOR:
MOBICDTE:Backend:ImgChipNumberID 2022-10-06 15:40:05.170536 1 READ INVALID
MOBICDTE:Backend:ImgChipNumberID 2022-10-06 15:40:05.376049 3 READ INVALID
IOCSHELL:
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\":
[[\"1\", \"0\"]], \"jsonr
2022/10/06 15:40:05.070 127.0.0.1:60000 read 57
{\"id\":\"1\", \"result\":\"Selected sensor 0\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:40:05.172 127.0.0.1:60000 write 87
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\": [[\"0\"]], \"jsonrpc\":
2022/10/06 15:40:05.172 127.0.0.1:60000 read 41
{\"id\":\"1\", \"result\":\"0\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:40:05.274 127.0.0.1:60000 write 92
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\":
[[\"1\", \"1\"]], \"jsonr
2022/10/06 15:40:05.275 127.0.0.1:60000 read 57
{\"id\":\"1\", \"result\":\"Selected sensor 1\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:40:05.377 127.0.0.1:60000 write 87
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\": [[\"0\"]], \"jsonrpc\":
2022/10/06 15:40:05.378 127.0.0.1:60000 read 41
{\"id\":\"1\", \"result\":\"1\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:40:05.480 127.0.0.1:60000 write 92
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\":
[[\"1\", \"3\"]], \"jsonr
2022/10/06 15:40:05.481 127.0.0.1:60000 read 57
{\"id\":\"1\", \"result\":\"Selected sensor 3\", \"jsonrpc\":\"2.0\"}
2022/10/06 15:40:05.583 127.0.0.1:60000 write 87
{\"id\":\"1\", \"method\":\"HS_ImgChipNumberID_Command\", \"params\": [[\"0\"]], \"jsonrpc\":
2022/10/06 15:40:05.583 127.0.0.1:60000 read 41
{\"id\":\"1\", \"result\":\"3\", \"jsonrpc\":\"2.0\"}
So i think the IOC is actually having trouble with sending the commands? This is bizarre to me, i have used streamdevice before with higher speeds and never have any trouble of this kind at all.