Closed leo-leao closed 3 years ago
Try to set the following environment variable before starting the server and client
export EPICS_CA_MAX_ARRAY_BYTES=1440000
Here is the reference https://epics.anl.gov/base/R3-14/8-docs/CAref.html#Configurin1
Tente definir a seguinte variável de ambiente antes de iniciar o servidor e o cliente
export EPICS_CA_MAX_ARRAY_BYTES=1440000
Aqui está a referência https://epics.anl.gov/base/R3-14/8-docs/CAref.html#Configurin1
Can you help me about where I can put this export in my code? I´m beginner in EPICS and I just had contact with pyepics and pcaspy.
Like this
$ export EPICS_CA_MAX_ARRAY_BYTES=2880000
$ python my_pcaspy_or_pyepics.py
Alternatively, you can set the environment variable inside your Python script before importing pcaspy:
import os
os.environ["EPICS_CA_MAX_ARRAY_BYTES"] = "2880000"
from pcaspy import Driver, SimpleServer
import numpy as np
...
Good Morning, I´m developing a software that needs a pvdb with a count value of 360.000. However, in my tests, when I put an array with 360.000 positions and get the values with epics.caget it´s reported "ChannelAccessGetFailure: Get failed; status code: 72" My code is this. Can somebody help me?``