1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Multiple NDPluginPva issues |
From: | Alexander Söderqvist <[email protected]> |
To: | [email protected] |
Date: | Tue, 8 Nov 2016 16:38:44 +0100 |
Hi all, I am at ESS running an IOC with 2 pva plugins both connected to the simDetector: # Create a simDetector driver # simDetectorConfig(const char *portName, int maxSizeX, int maxSizeY, int dataType, # int maxBuffers, int maxMemory, int priority, int stackSize) simDetectorConfig("DMSCSIMDET", 500, 500, 1, 0, 0) dbLoadRecords("simDetector.template", "P=DMSC:, R=CAM-, PORT=DMSCSIMDET, ADDR=0, TIMEOUT=1") #create pva plugin NDPvaConfigure(DMSCPVA, 20, 0, "DMSCSIMDET", 0, "DMSC:IMAGE", 0) VERSION : pvAccess Server v4.1.2 PROVIDER_NAMES : local BEACON_ADDR_LIST : AUTO_BEACON_ADDR_LIST : 1 BEACON_PERIOD : 15 BROADCAST_PORT : 5076 SERVER_PORT : 5075 RCV_BUFFER_SIZE : 16384 IGNORE_ADDR_LIST: STATE : INITIALIZED dbLoadRecords("NDPva.template", "P=DMSC:, R=PVA-, PORT=DMSCPVA, ADDR=0, TIMEOUT=1, NDARRAY_PORT=DMSCSIMDET") #create pva plugin NDPvaConfigure(DMSCPVA2, 20, 0, "DMSCSIMDET", 0, "DMSC:IMAGE2", 0) 2016-11-08T16:33:54.789 Using dynamically assigned TCP port 52363. VERSION : pvAccess Server v4.1.2 PROVIDER_NAMES : local BEACON_ADDR_LIST : AUTO_BEACON_ADDR_LIST : 1 BEACON_PERIOD : 15 BROADCAST_PORT : 5076 SERVER_PORT : 52363 RCV_BUFFER_SIZE : 16384 IGNORE_ADDR_LIST: STATE : INITIALIZED dbLoadRecords("NDPva.template", "P=DMSC:, R=PVA2-, PORT=DMSCPVA2, ADDR=0, TIMEOUT=1, NDARRAY_PORT=DMSCSIMDET") As you can see it start 2 pvAccess servers. Monitoring one array sees multiple instance of the pv: pvget -m DMSC:IMAGE2 [ChannelRequesterImpl] message(More than one channel with name 'DMSC:IMAGE2' detected, connected to: 194.47.240.7:52834, ignored: 194.47.240.7:5075, warning) DMSC:IMAGE2 structure union value (none) Listing the servers shows the 2 pvAccess servers (Which yo): pvlist GUID 0x7EE8215800000000799BA728, version 1: tcp@[x.x.x.x:5075] GUID 0x7EE82158000000008AD62829, version 1: tcp@[x.x.x.x:52834] Listing pvs on each server shows that both are publishing the same PVs. pvlist 0x7EE8215800000000799BA728 DMSC:IMAGE DMSC:IMAGE2 pvlist 0x7EE82158000000008AD62829 DMSC:IMAGE DMSC:IMAGE2 Has anyone tried running 2 NDPluginPvas in the same IOC before? Are you supposed to start multiple pvAccess servers in the same IOC? Note that we are using our own build system, and it might be an issue there. Regards, Alexander Söderqvist |