/** * * \file cpx.cpp * \brief read and write DIO * * \author Manuel Traut * \version 2006-10-06 * */ #include "cpx.h" // Constructor: calls init CPX::CPX(){ init(); std::cout<<"\n\n init ok\n\n"; } // init: Memory Mapping, Setup Signal int CPX::init(){ int fd_out = open(CPX_Input, O_RDWR | O_SYNC); if (fd_out == -1){ std::cerr<<"PBCIO: open failed"<