Skip to content

Commit

Permalink
Add Channel Access Report functions
Browse files Browse the repository at this point in the history
Includes casr, dbel, and dbcar. Does not include ascar as we don't
have Access Security rules in PythonSoftIOC.
  • Loading branch information
AlexanderWells-diamond committed Nov 29, 2022
1 parent f1f3623 commit ae754b2
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Versioning <https://semver.org/spec/v2.0.0.html>`_.
Unreleased_
-----------

Added:

- `Add Channel Access Report functions <../../pull/115>`_

4.2.0_ - 2022-11-08
-------------------

Expand Down
36 changes: 36 additions & 0 deletions softioc/softioc.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,42 @@ def call_f(*args):
Prints all records in the I/O event scan lists.''')


ExportTest('casr', (c_int,), (0,), '''\
casr(level=0)
Channel Access Server Report - print information regarding all connected CA
clients. Information printed determined by level:
= ==================================================================
0 Show a one line summary of each connected client
1 Show additional information for each client
2 Also show additional information about the server's free resources
= ==================================================================
''')

ExportTest('dbel', (auto_encode,), (), '''\
dbel(record_name)
This routine prints the Channel Access event list for the specified record.''')

ExportTest('dbcar', (auto_encode, c_int), ("*", 0,), '''\
dbcar(record_name, level)
Database to channel access report. This command generates a report showing
database channel access links. If record_name is “*” then information
about all records is shown otherwise only information about the specified
record.
level can have the following values:
= ==================================================================
0 Show summary information only.
1 Show summary and each CA link that is not connected.
2 Show summary and status of each CA link
= ==================================================================
''')

ExportTest('generalTimeReport', (c_int,), (0,), '''\
generalTimeReport(int level)
Expand Down

0 comments on commit ae754b2

Please sign in to comment.