Commit d3eacb3a authored by Theodor-Adrian Stana's avatar Theodor-Adrian Stana

software: tsset.py read timestamp value after setting

Signed-off-by: Theodor-Adrian Stana's avatarTheodor Stana <t.stana@cern.ch>
parent 5facf345
......@@ -67,5 +67,10 @@ if __name__ == "__main__":
if s > 2**32-1:
testelma.write(slot, 0x28, s >> 32)
tail = testelma.read(slot, 0x24)
taih = testelma.read(slot, 0x28)
print("TAI counter value: %d" % ((taih << 32) | tail))
testelma.close()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment