Strictly speaking PVs don’t have fields, records have fields. PVs are basically record fields. So any place where you assign a PV to an SNL variable you can use an field name like .HIHI.
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Madden, Timothy J. via Tech-talk Sent: Tuesday, April 1, 2025 5:00 PM To: tech-talk at aps.anl.gov Subject: SNL assign to field of PV
Tech Talk:
Is there a way to set or get specific fields of a PV from a SNL program? Example, say we want to pvPut
the HIHI field of a PV. I see ways to get/put VAL by assign and pvGet()/pvPut(). But I don't see a way to get other fields of the PV.