Module
|
[
set MSB [::V1730PHA::ReadRegister ConfigROM80]
set LSB [::V1730PHA::ReadRegister ConfigROM84]
set serial [expr ($MSB<<8)+$LSB]
set html "S/N [set serial]"
]
|
[
if {[set ::V1730PHA::AcqStatus.B8] == 1} {
set html "Module Ready"
} else {
set html "Warning: Module NOT Ready"
}
set html
]
|
[
if {[set ::V1730PHA::AcqStatus.B2] == 1} {
set html "Acquisition Running"
} else {
set html "Module Idle"
}
set html
]
|
[
if {[::V1730PHA::ReadRegister "FirmWareLicense"] == 0} {set html "WARNING: firmware license expired"} else {set html "DPP firmware OK"}
set html
]
|
[
set html "Module firmware: "
append html "[expr ([set ::V1730PHA::ROC_FPGARev] >> 8) & 255]"
append html "."
append html "[expr [set ::V1730PHA::ROC_FPGARev] & 255]"
append html "_"
append html "[expr ([set ::V1730PHA::AMC_FPGARev] >> 8) & 255]"
append html "."
append html "[expr [set ::V1730PHA::AMC_FPGARev] & 255]"
set html
]
|