This simple example shows how to use a calc to make a counter that updates at 1 Hz.
EPICS base built.
To test this example, you can start the ioc using this command:
$EPICS_BIN/softIocPVA -d example2.db
And then on a different terminal with , you can do like that:
$EPICS_BIN/camonitor COUNTER
# you should see the COUNTER increasing
# you can stop camonitor using <Ctrl+C>