Difference between revisions of "EPICS Cheat Sheet"
Jump to navigation
Jump to search
(Created page with "== Channel Access (CA) command-lines == * <code>'''caget'''</code> - get the value of one of more PVs * <code>'''caput'''</code> - change the value of a PV * <code>'''camonit...") |
|||
Line 17: | Line 17: | ||
== IOC shell commands == | == IOC shell commands == | ||
To connect to (disconnect from) the IOC shell, see [https://wiki-ext.aps.anl.gov/blc/index.php?title=IOC_101#Connecting_to_an_IOC.E2.80.99s_shell here]: | |||
:'''<code>help [command]</code>''' - shows available commands or syntax of specified command | :'''<code>help [command]</code>''' - shows available commands or syntax of specified command | ||
:'''<code>dbpr record_name [0-9]</code>''' - displays fields and values for a given record | :'''<code>dbpr record_name [0-9]</code>''' - displays fields and values for a given record |
Revision as of 19:54, 15 March 2023
Channel Access (CA) command-lines
caget
- get the value of one of more PVscaput
- change the value of a PVcamonitor
- monitor the value of one or more PVscainfo
- print info about a PV, including which host is running the IOC
Example:
$ caget kmp3:m1.{DESC,RTYP,DTYP,VAL} kmp3:m1.DESC theta motor kmp3:m1.RTYP motor kmp3:m1.DTYP asynMotor kmp3:m1.VAL 60
IOC shell commands
To connect to (disconnect from) the IOC shell, see here:
help [command]
- shows available commands or syntax of specified commanddbpr record_name [0-9]
- displays fields and values for a given recorddbl
- lists all records in an IOCdbl record_type
- lists all records of a specific type in an IOCdbl record_type "field_list"
- lists specified fields (space-separated list) of records of a specific type in an IOCdbpf pv_name value
- change a PV’s value – analogous to caputdbgf pv_name
- read a PV’s value – analogous to cagetepicsEnvShow
- prints environment variablesseqShow
- shows running sequence programsseqStop
- stops a running sequence program