...
Code Block | ||||
---|---|---|---|---|
| ||||
# BSA records dbLoadRecords("db/Bsa.db", "DEVICE=BLEN:${AREA}:${POS},ATRB=AIMAX, SINK_SIZE=1") dbLoadRecords("db/Bsa.db", "DEVICE=BLEN:${AREA}:${POS},ATRB=BIMAX, SINK_SIZE=1") dbLoadRecords("db/Bsa.db", "DEVICE=BLEN:${AREA}:${POS},ATRB=ARAW, SINK_SIZE=1") dbLoadRecords("db/Bsa.db", "DEVICE=BLEN:${AREA}:${POS},ATRB=BRAW, SINK_SIZE=1") |
The IOC application provides an IOC shell function called blenReport to help the IOC Maintainer to diagnose the system. Once in the IOC shell, blenReport will output:
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
------- FCOM report ------- -- Rx -- -- Tx -- -- General Data -- |
The first half of the output deals with statistics related to FCOM. It is broken into two parts: Rx for received packets and Tx for transmitted packets. The numbers are cumulative since when the IOC was booted.
The second half deals with general data received and transmitted. The table below explains each of the shown parameters.
Message | Description |
---|---|
# FCOM messages received with success | The number of FCOM packets received from the BPM with success. These packets contain the information about TMIT, X beam position, and Y beam position. |
# timeouts | Number of times that a timeout happened while waiting for an FCOM packet. |
# FCOM messages arriving with error | Number of times that an FCOM packet arrived but was corrupted. |
# FCOM messages with message status error | Number of times that a valid FCOM packet was received successfully from the BPM, but contained any type of error flag. |
# FCOM messages transmitted with success | The number of FCOM packets transmitted successfully to the multicast network. These packets contain AIMAX, BIMAX, ASUM, and BSUM, calculated by the firmware, to be received by the Fast Feedback system. The IOC has no way to know if the packet arrived successfully at the destination, so this parameter can only be used to know when a multicast packet left the IOC. |
# errors when transmitting FCOM messages | The number of times when an error occurred when trying to send an FCOM packet. |
Last TMIT | Last TMIT value received from the BPM. |
Last X | Last X beam position received from the BPM. |
Last Y | Last Y beam position received from the BPM. |
Last transmitted aimax | Last AIMAX value transmitted to the Fast Feedback system. |
Last transmitted bimax | Last BIMAX value transmitted to the Fast Feedback system. |
Last timestamp high | The last timestamp processed (high word). |
Last timestamp low | The last timestamp processed (low word). |
Pulse ID | The last pulse ID processed. |
Anchor | ||||
---|---|---|---|---|
|
...