Denis,
can you please elaborate on the phrase: “binary output instead of tape label”?
CTA tape file labels do contain some data that look a bit binary.
I would encourage you to check this discussion from 2020:
and then look at this document in particular:
https://gitlab.cern.ch/cta/CTA/-/blob/master/doc/TapeServer.pdf
where section 1.6.5.1 explains the format of the CTA tape file labels.
HTH. Best regards,
Vladimir Bahyl