Naming sensors#
The tables describe the grammar for the
sensor
.Fields between
{}
are mandatory while those between[]
are optional.
The name of the sensor are defined in each unitary test
located in the package p400qa.unitary_tests
field |
grammar |
example |
---|---|---|
sensor |
{observable}_{designator}_{function} |
|
observable |
the quantity evaluated by the test. |
|
position |
the location of the sensor. |
|
Observable#
observable |
definition |
type |
exemple |
---|---|---|---|
b |
BER counters |
int |
|
c |
component status |
bool |
|
d |
DMA counters |
int |
|
f |
frequency |
float |
|
i |
current |
float |
|
ping |
str |
|
|
rx |
optical power Rx |
float |
|
t |
temperature |
float |
|
tx |
optical power Tx |
float |
|
v |
voltage |
float |
|
v |
voltage |
float |
|
nstatus |
mailbox status |
str |
|
nconfig |
mailbox status |
str |
|
config_err |
mailbox status |
str |
|
cvp_done |
mailbox status |
str |
|
config_clk_src |
mailbox status |
str |
|
msel |
mailbox status |
str |
|
hps_cold |
mailbox status |
str |
|
hps_warm |
mailbox status |
str |
|
vid_status |
mailbox status |
str |
|
Function#
function |
exemple |
---|---|
channel |
|
channel_expected value |
|
counter |
|
status |
|
empty string |
remove underscore |