37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
##########################################################################
|
|
# This is an example and debug EPICS database for StreamDevice.
|
|
#
|
|
# (C) 2010 Dirk Zimoch (dirk.zimoch@psi.ch)
|
|
#
|
|
# This file is part of StreamDevice.
|
|
#
|
|
# StreamDevice is free software: You can redistribute it and/or modify
|
|
# it under the terms of the GNU Lesser General Public License as published
|
|
# by the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# StreamDevice is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
# along with StreamDevice. If not, see https://www.gnu.org/licenses/.
|
|
#########################################################################/
|
|
|
|
record (stringout, "$(P):cmd")
|
|
{
|
|
field (DTYP, "stream")
|
|
field (OUT, "@simple.proto cmd $(BUS)")
|
|
}
|
|
record (stringout, "$(P):info")
|
|
{
|
|
field (DTYP, "stream")
|
|
field (OUT, "@simple.proto info $(BUS)")
|
|
}
|
|
record (stringin, "$(P):read")
|
|
{
|
|
field (DTYP, "stream")
|
|
field (INP, "@simple.proto read $(BUS)")
|
|
}
|