#!/usr/bin/env python import time from epics import caget,caput while True: NTB = caget('HD:coda:daq:availableRAID') heartbeat = caget('HD:coda:daq:heartbeat') print '' print 'HD:coda:daq:availableRAID : %f' % NTB print 'HD:coda:daq:heartbeat : %d' % heartbeat time.sleep(2)