|
|
[Home]
|
|
|
Jan 5, 2004
Description:
pls.tgz - PV List Server
Network server for EPICS 3.13, 3.14.
Employs connectionless protocol to provide names of all PVs managed by the IOC.
Installation:
Unpack archive and copy the following files into the IOC src directory
pls.c, pls.h, pls.version, avl.c, avl_priv.h, avl.h, avl.msh
Add pls.c and avl.c to makefile
The file iocCommands.c is an example, you will probably add its contents to your own. If you use this iocCommands.c, you must add the following to the main dbd file:
registrar(iocCommandsRegistrar)
Execution:
Choose a port number and insert the following line into st.cmd before iocInit:
pvlistserver("[port]")
e.g. pvlistserver("22222")
If the pvlistserver command is issued without an argument, the version will be displayed.
e.g.
pvlistserver
pvlistserver - version R1-0
usage: pvlistserver("port")
---------------------------------------------------------------------------
plsClient.tgz - Client example
Installation:
Unpack archive. This creates the following files:
listPvs.c makefile pvs.c pvs.h pvs_priv.h
Perform a make.
Test against a running server as follows:
./listPvs [-type] (node):(port)
e.g.
./listPvs testIoc:22222
./listPvs -type testIoc:22222
|
|
|