Accelerator Independent Data Access / PVAccess 2.0
AIDA-PVA is the latest version of the AIDA framework. Built on top of EPICS 7 it enables client applications to programmatically access and manage any device or database on the SLAC Network using simple channel names.
|
AIDA-PVA clients can use various methods to connect to the supported EPICs Channel Providers. These include:
aida-pva-client is delivered in the aida-pva-client jar. This jar includes everything your client application needs to access any AIDA-PVA and compatible EPICs Channel Provider.
Behind the scenes it is implemented with plain PvAccess, PvaClient, or EasyPVA. The implementation may be selected as follows:
aida.pva.client.request.executor
is set it overrides the default as follows:AIDA_PVA_CLIENT_REQUEST_EXECUTOR
is set it overrides the default or any property as follows:These are the only imports you need.
This encapsulates all the types that a client application can use to access AIDA-PVA Channel Providers.
AIDA_BOOLEAN
to return a java BooleanAIDA_BYTE
to return a java ByteAIDA_CHAR
to return a java CharAIDA_SHORT
to return a java ShortAIDA_INTEGER
to return a java IntegerAIDA_LONG
to return a java LongAIDA_FLOAT
to return a java FloatAIDA_DOUBLE
to return a java DoubleAIDA_STRING
to return a java StringAIDA_BOOLEAN_ARRAY
to return a java List<Boolean>AIDA_BYTE_ARRAY
to return a java List<Byte>AIDA_CHAR_ARRAY
to return a java List<Byte> - once character stringsAIDA_SHORT_ARRAY
to return a java List<Short>AIDA_INTEGER_ARRAY
to return an java List<Integer>AIDA_LONG_ARRAY
to return a java List<Long>AIDA_FLOAT_ARRAY
to return a java List<Float>AIDA_DOUBLE_ARRAY
to return a java List<Double>AIDA_STRING_ARRAY
to return a java List<String>AIDA_TABLE
to return a table : PvaTablepvaRequest(channel) [.with(name, value) ...] [.setResponseCallback(callback) ] [.setErrorCallback(callback) ] [.returning(type) ] [.timeout(timeout) ] [.asyncGet() ] [.asyncSet(value) ] [.cancel() | .isReady() | .isRunning() | .getResponse() | .get() | .set(value) ] pvaGet(channel [, type]) pvaSet(channel , value) pvaUnpack(result)
channel
) - creates a request builder for the specified channel.name
, value
) - Used to set argument called name
to value
, on a requestcallback
) - For asynchronous requests. This sets the method that will be called back when the request completes.callback
) - For asynchronous requests. This sets the method that will be called back if the request fails.type
) - Used to set the return type
for a request. This is equivalent to setting the TYPE
argument.value
) - To execute the request asynchronously setting the value
and returning nothing or a tablevalue
) - To execute the request setting the value
and returning nothing or a tablechannel
[, type
]) - Executes a simple get on a channel specifying an optional type for the return.channel
, value
) - Executes a simple set of a channel to the given value.result
) - unpacks a PVStructure result into a Scalar Object, Scalar Object array or PvaTablechannel
, type
) - For very simple get requests that don't take any arguments, use getRequest().channel
, value
) - For very simple set requests that take only a value argument and don't return anything, use setRequest()