aop_getvalΒΆ
aop_getval returns the values of application elements.
-
nvSeq = aop_getval(envId, applId, nuSeq, nsSeq, elemId, refName, cl)
Return Value
nvSeq is an object of the following form:
nvSeq.n
nvSeq[1].name
nvSeq[1].unitId
nvSeq[1].valMap.dtyp
nvSeq[1].valMap.val
In case of an error an error object is returned (see error_create).
Parameters
-
envId
envId is the environment Id, returned by aop_openenv.
-
applId
applId.
-
nuSeq
nuSeq is an array of AOP_NameU structures of the following form:
C:
struct AOP_NameU { AOP_Name name; AOP_Id unitId; };
UniScript:
nuSeq = [. n = 1]; nuSeq[1] = [. name = "NAME", unitId = 123];
-
nsSeq
nsSeq is an array of AOP_NameS structures of the following form:
C:
struct AOP_NameS { AOP_Name name; AOP_ValMap valMap; AOP_SelOpcode selOpcode; };
UniScript:
nsSeq = [. n = 1] nsSeq[1] = [. name = "VersuchsID", valMap = [. dtyp = ODS_DT_DOUBLE, val = [1]], selOpcode = 6 ]
-
elemId
elemId.
-
refName
refName.
-
cl
cl is the client pointer, returned by rpc_clnt_create.
History
Version | Description |
---|---|
5.0.0 | New |
See also
id-2006625