30 likes | 148 Views
Interface 1: Knobs GUI : link the buttons/knobs to “an action”; prompt MCA.py USB Client : do bit-masking and packet formation; send data as a control transfer Firmware/Hardware : extract control bits and link to Change variable -> new time – to – sample
E N D
Interface 1: Knobs • GUI: link the buttons/knobs to “an action”; prompt MCA.py • USB Client: do bit-masking and packet formation; send data as a control transfer • Firmware/Hardware: extract control bits and link to • Change variable -> new time – to – sample • Change pot value -> new threshold voltage • Change firmware logic -> new coincidence mode • Change pot value -> new signal gain
Interface 2: Data Collection Hardware: get data to firmware using SPI or direct lines Firmware: process data into packets; feed the bulk endpoint 64-byte chunks of histogram + fast count; set UOWN and the USB SIE takes over USB Client: decodes packets using data protocol; ships data to the GUI GUI: saves data as ASCII; updates screen every 1 second and updates scale every 15 seconds