Ignore:
Timestamp:
04/04/02 13:17:33 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/candrv
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/candrv/canopen.cc

    r1140 r1266  
    5151            pthread_mutex_lock(&fPdoMux[i][j]);
    5252        }
     53
     54    lout << "- CanOpen initialized." << endl;
    5355}
    5456
  • trunk/MagicSoft/Cosy/candrv/network.cc

    r1140 r1266  
    7474    for (int i=0; i<32; i++)
    7575        fNodes[i] = NULL;
     76
     77    lout << "- Network initialized." << endl;
    7678}
    7779
     
    233235        if (fNodes[i])
    234236        {
    235             lout << "- Initializing Node #" << dec << i << endl;
     237            lout << "- Setting up Node #" << dec << i << endl;
    236238            fNodes[i]->InitDevice(this);
    237239            fNodeInitialized[i] = TRUE;
    238240        }
    239     lout << "- All Nodes initialized." << endl;
     241    lout << "- All Nodes setup." << endl;
    240242}
    241243
  • trunk/MagicSoft/Cosy/candrv/nodedrv.cc

    r1140 r1266  
    7373        fName += (int)nodeid;
    7474    }
     75
     76    lout << "- Node #" << nodeid << " (" << name << ") initialized." << endl;
    7577}
    7678
  • trunk/MagicSoft/Cosy/candrv/vmodican.cc

    r1140 r1266  
    3939#include <unistd.h>        // read
    4040#include <pthread.h>       // pthread_create
     41#include <sys/time.h>      // gettimeofday
    4142#include <sys/ioctl.h>     // ioctl
    4243#include <sys/resource.h>  // PRIO_PROCESS
     
    592593    {
    593594        lout << "Error: Opening device '" << devname << "' (rc=" << fd << ")" << endl;
     595        lout << strerror(errno) << endl;
    594596        return FALSE;
    595597    }
    596598
    597     lout << "- Device " << devname << " open." << endl;
     599    lout << "- Device " << devname << " #" << fd << " open." << endl;
    598600
    599601    return TRUE;
     
    921923    Detach();
    922924
    923     Open(dev);                         // open module
     925    if (!Open(dev))
     926    {
     927        cout << "Cannot open device '" << dev << "'... exit." << endl;
     928        cout << strerror(errno) << endl;
     929        exit(1);                       // open module
     930    }
    924931    Reset();
    925932    EnableFifo();                      // connect to host (in interrupt mode)
     
    931938     EnableFastCan(50, 50);
    932939     SetTermination(0);
    933     */
     940     */
     941
     942    lout << "- VmodIcan initialized." << endl;
     943
    934944}
    935945
Note: See TracChangeset for help on using the changeset viewer.