Files
pva2pva/iocBoot
2022-11-03 10:01:29 -07:00
..
2022-07-05 11:11:57 -07:00
2018-05-28 09:29:48 -07:00
2022-07-05 11:10:34 -07:00
2017-09-19 16:05:37 -05:00
2016-03-27 16:19:42 +09:00
2016-03-27 16:19:42 +09:00

Demo IOCs

ioccircle and ioccircle together demonstrate PVA groups and links.
ioccircle maintains a "phase" counter which counts from 0 to 359
then rolls over.

From this phase are calculated an X and Y which are points on a circule with radius 1.

A group PVA PV is defined which includes both and X and Y.

ioccircle2 contains two calc records which subscribe to the X and Y
from ioccircle and multiply each by 2.

A second group PVA PV is defined including the multipled X and Y.

Due to the atomicity of a group PV it is certain that pairs of
X and Y will not be mixed.  In this example, the magnitude
sqrt(X*X+Y*Y) will never change by more than floating point epsilon.