Skip to content
Alistair McGann edited this page Mar 6, 2019 · 17 revisions

Wiki > The Backend System > Useful tools

Caget, caput, zhex and uzhex

To get the value of a compressed, hexed PV (such as those on the blockserver) type into an EPICS terminal: caget -S -t PV | uzhex where PV is the PV you are looking for

To send compressed, hexed values to a PV (such as those on the blockserver) type into an EPICS terminal: for /f "tokens=*" %x in ('zhex VAL') do caput -S PV %x where PV is as above and VAL is the data you wish to send

Console

The console can be used to inspect output from an IOC. To use it, launch the IBEX server and then, from an EPICS terminal, run

console -M localhost [IOCNAME]

The IOCs available can be listed using

console -M localhost -x

To look at an IOC remotely

console -M [MACHINE_NAME] -l [USERNAME] [IOCNAME]

where username is the local user on the instrument PC (e.g. spudulike).

To stop/restart an IOC, press CTRL+X and to exit the console press CTRL+E, then C, then ..

Modbus

QModMaster is a useful piece of software to probe Modbus devices much like Putty is used with serial/Ethernet connected devices.

Clone this wiki locally