I've added a softIoc to TCS-WS to capture the beam size from the MAKO camera. The IOC is run using ...
controls@tcs-ws:~$ softIoc -S EPICS_IOC/iocBoot/iocfirst/st.cmd &
The st.cmd contains the following text:
controls@tcs-ws:~$ more EPICS_IOC/iocBoot/iocfirst/st.cmd
dbLoadDatabase "/home/controls/EPICS_IOC/db/beamSize.db"
iocInit
The db file is:
controls@tcs-ws:~$ more EPICS_IOC/db/beamSize.db
record(ai, "C4:AWC-MAKO_BEAMSIZE_WX")
{
field(PREC,"3")
}
record(ai, "C4:AWC-MAKO_BEAMSIZE_WY")
{
field(PREC,"3")
}
record(ai, "C4:AWC-MAKO_BEAM_POSN_X")
{
field(PREC,"3")
}
record(ai, "C4:AWC-MAKO_BEAM_POSN_Y")
{
field(PREC,"3")
}
|