[acg] how to get list of epics signal values
Kyle Hesse
hesse at jlab.org
Tue Jan 14 23:32:05 EST 2025
Checking my email before bed...
Here's a few options:
Make sure your EPICS_CA_ADDR_LIST is properly set for the channels you want to view.
Python cainfo:
python3 -c "import epics; epics.cainfo('PLC_HLA_A')"
Channel Access Print Record:
/usr/dvlepics/epics/R7.0.7.0.J0/bin/rhel-9-x86_64/capr.pl -l 10 PLC_HLA_A
This could be parsed for the value and string fields:
Values -> ZRVL ONVL TWVL THVL FRVL FVVL SXVL SVVL EIVL NIVL TEVL ELVL TVVL TTVL FTVL FFVL
Strings -> ZRST ONST TWST THST FRST FVST SXST SVST EIST NIST TEST ELST TVST TTST FTST FFST
Probe:
GUI for channel lookup and info
probe PLC_HLA_A
[cid:773c556f-92d6-4837-9bec-d0ec2f030184]
Click Info
[cid:79e51c78-4581-450d-8980-f0249e82b419]
________________________________
From: acg <acg-bounces at jlab.org> on behalf of Theo McGuckin via acg <acg at jlab.org>
Sent: Tuesday, January 14, 2025 9:26 PM
To: acg at jlab.org <acg at jlab.org>
Subject: [acg] how to get list of epics signal values
I think there's a command to get list of values for an epics signal (when there is a fixed list, and not just a float or int)?
For example, PLC_HLA_A can "Restricted" or "Controlled" or "Sweep"... is there a command to list all allowed values?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/acg/attachments/20250115/1614c1cf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 19596 bytes
Desc: image.png
URL: <https://mailman.jlab.org/pipermail/acg/attachments/20250115/1614c1cf/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 32563 bytes
Desc: image.png
URL: <https://mailman.jlab.org/pipermail/acg/attachments/20250115/1614c1cf/attachment-0003.png>
More information about the acg
mailing list