TOF OPS: How to check if a LV channel has become disabled

To check if a channel is disabled or not, you can use the caget command.

caget TOF:LV:StartEPos:DisableChannel

To change the status of the channel, you can use the caput command.

caput TOF:LV:StartWPos:DisableChannel 0

[0 enables the channel, 1 disables the channel]

Here is what my terminal looked like:

[tof@tofp ~]$ caget TOF:LV:StartEPos:DisableChannel
TOF:LV:StartEPos:DisableChannel Disabled
[tof@tofp ~]$ caput TOF:LV:StartEPos:DisableChannel 0
Old : TOF:LV:StartEPos:DisableChannel Disabled
New : TOF:LV:StartEPos:DisableChannel Enabled
[tof@tofp ~]$ caput TOF:LV:StartWPos:DisableChannel 0
Old : TOF:LV:StartWPos:DisableChannel Disabled
New : TOF:LV:StartWPos:DisableChannel Enabled