LabView codes for CBT readout