70 likes | 95 Views
EPICS v4 Meeting, SLAC, October 2013. Vtype-s / NTtype-s. Matej Sekoranja, presented by Gabriele Carcassi. Facts. *. pvManager talks Vtype-s … and managers tend to force their ideas, so all the plugins needs to talk Vtype-s
E N D
EPICS v4 Meeting, SLAC, October 2013 Vtype-s / NTtype-s Matej Sekoranja, presented by Gabriele Carcassi
Facts * • pvManager talks Vtype-s • … and managers tend to force their ideas, so all the plugins needs to talk Vtype-s • pvData and pvAccess allow use of arbitrary structures, however too much freedom does not work in communication • imagine this presentation in Italian or Slovene language • EPICS V4 group has been defining a set of standard high level data types, to aid interoperability of peers at the application level, called “normative types” (aka NTtype-s)
Facts (contd.) * • However pvManager does not care, it wants Vtype-s! • pvAccess plugin needs to map NTtype-s to Vtype-s (and vice versa – for puts) • Luckily Vtype-s mimic NTtype-s (or vice versa) • Vtype-s are Java API eqvivalents of pvData NTtype structures • They are not always exactly 1:1 copies, some data transformations are sometimes needed • … but generally they are easy to map