pflib v3.12.0-1-g716e801
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
opto.cxx File Reference

OPTO menu commands. More...

#include "pflib/OptoLink.h"
#include "pflib/zcu/zcu_elinks.h"
#include "pftool.h"
Include dependency graph for opto.cxx:

Functions

 ENABLE_LOGGING ()
 
void opto_render (Target *tgt)
 
void opto (const std::string &cmd, Target *target)
 Interaction with Optical links.
 

Detailed Description

OPTO menu commands.

Function Documentation

◆ opto()

void opto ( const std::string & cmd,
Target * target )

Interaction with Optical links.

Commands

  • FULLSTATUS : printout status of the optical links this status printout is run after all of the other commands as well
  • CHOOSE : pick DAQ or TRG optical fiber to focus on
  • INJECT_ERROR : zcu only, attempt to inject an error to test decoding error
  • SOFTRESET : call OptoLink::soft_reset_link
  • RESET : call OptoLink::reset_link on the optical links
  • POLARITY : change the polarity of the optical links
  • LINKTRICK : try a simple trick to re-align the optical links