Skip to content

Setting Alarm Values on IN PVs #135

Answered by Araneidae
jdmax asked this question in Q&A
Discussion options

You must be logged in to vote

I think the issue is that for IN records caputs are deliberately disabled, because writing to the .VAL field of an IN record is a common mistake that simply doesn't work.

Fortunately there is an easy workaround. The disabling is simply done by setting the .DISP field to 1 ... and you can caput 0 to this field to turn off the disabling, do your caputs to the alarm fields, and then put .DISP back to 1 when you're done.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jdmax
Comment options

Answer selected by jdmax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants