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: | Re: Show areaDetector image with BOY IntensityGraph |
From: | Phil Atkin <[email protected]> |
To: | "Hartman, Steven M." <[email protected]> |
Cc: | "[email protected] list" <[email protected]> |
Date: | Wed, 3 Feb 2016 17:23:20 +0000 |
Thanks again Steven. On 03/02/2016 17:11, Hartman, Steven M.
wrote:
Thanks: I looked for those, but for some reason did not recognize them. They are set now.On Feb 3, 2016, at 11:54 AM, Phil Atkin <[email protected]> wrote: I tried setting those environment values before CS-Studio is started, but actually it seems to make no difference.CS-Studio (like most Java applications) has it own preferences for these rather then using the env vars. Preferences -> CSS Core -> EPICS for auto_addr_list and addr_list. max_array_bytes is set in CS-Studio to 16000000Looking more carefully at what "Probe" within CS-Studio shows, I notice: • It correctly shows 'simple' PVs from my IOC • If I specify an erroneous PV name, it shows "UNDEFINED - Disconnected" • When I correctly specify my array name, it shows “INVALID - No value"Those results are consistent with too-small of max_array_bytes. The client connects to the server, but cannot receive the data for the large array. In the startup of the IOC, I have epicsEnvSet("EPICS_CA_MAX_ARRAY_BYTES", "8000000")and then dbLoadRecords("NDStdArrays.template", "P=$(PREFIX),R=image1:,PORT=Image1,ADDR=0,TIMEOUT=1,NDARRAY_PORT=$(PORT),TYPE=Int16,FTVL=SHORT,NELEMENTS=4000000")and in fact, the array I'm trying to display is 500x500@16 bits. Is any of this incorrect? Must the settings for client and server be the same? Worth knowing, but I have restarted since making the changes.Note, you need to restart CS-Studio after changing the EPICS network preference settings or max_array_bytes for the change to take effect. Phil --
![]() |