Skip to content

Commit

Permalink
Adding input records to NO_WRITE asg
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaushik Malapati authored and Kaushik Malapati committed Jul 19, 2024
1 parent 2c4f412 commit 9c626b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pytmc/templates/asyn_standard_record.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ record({{record.record_type}}, "{{record.pvname}}") {
info(archive, "{{ record.archive_settings['method'] }} {{ record.archive_settings['seconds'] }}: {{ record.archive_settings['fields'] | join(' ') }}")
{% endif %}
{% endif %}
{% if record.direction == "input" %}
field(ASG, "NO_WRITE")
{% endif %}
}

0 comments on commit 9c626b0

Please sign in to comment.