Montag, 2. Juli 2007
Error: Wrong subdevice type.
friedemann bunjes, 10:59h
nrec crashed immediately after the start with this error message:
>>>>> DEBUG TRAP <<<<<
LOG_ERROR daq/CSubdevice.h TChild* CSubdevice::To() [with TChild =CDIoDevice] 103 Wrong subdevice type.
>>>>> BACKTRACE: <<<<<<
LOG_ERROR daq/CSubdevice.h TChild* CSubdevice::To() [with TChild =CDIoDevice] Line = 106
LOG_ERROR daq/CDevice.h TSubType* CDevice::GetSub(int) [with TSubType =CDIoDevice] Line = 77
LOG_ERROR daq/CDaqFacade.cpp void CDaqFacade::DIoSetChannelDirection(int, int, int, bool) Line = 296
LOG_ERROR gui/CNrec.cpp void CNrec::InitDaq() Line = 282
ERROR (gui/CNrec.cpp:164:CNrec::CNrec()): Unhandled exception during startup ofthe application core.
LOG_INFO 2007-07-01 - 10:37:48,538 GUI CLogger::~CLogger()
Stopping Logger.
LOG_ERROR gui/CNrec.cpp CNrec::CNrec() Line = 169
LOG_ERROR gui/CNrec.cpp static void CNrec::StartUp() Line = 62
LOG_ERROR gui/main.cpp int main(int, char**) Line = 66
ERROR (gui/CNrec.cpp:77:static void CNrec::ShutDown()): Application core not initialized. Ignoring this call.
Aborting now.
>>>>> DEBUG TRAP <<<<<
LOG_ERROR daq/CSubdevice.h TChild* CSubdevice::To() [with TChild =CDIoDevice] 103 Wrong subdevice type.
>>>>> BACKTRACE: <<<<<<
LOG_ERROR daq/CSubdevice.h TChild* CSubdevice::To() [with TChild =CDIoDevice] Line = 106
LOG_ERROR daq/CDevice.h TSubType* CDevice::GetSub(int) [with TSubType =CDIoDevice] Line = 77
LOG_ERROR daq/CDaqFacade.cpp void CDaqFacade::DIoSetChannelDirection(int, int, int, bool) Line = 296
LOG_ERROR gui/CNrec.cpp void CNrec::InitDaq() Line = 282
ERROR (gui/CNrec.cpp:164:CNrec::CNrec()): Unhandled exception during startup ofthe application core.
LOG_INFO 2007-07-01 - 10:37:48,538 GUI CLogger::~CLogger()
Stopping Logger.
LOG_ERROR gui/CNrec.cpp CNrec::CNrec() Line = 169
LOG_ERROR gui/CNrec.cpp static void CNrec::StartUp() Line = 62
LOG_ERROR gui/main.cpp int main(int, char**) Line = 66
ERROR (gui/CNrec.cpp:77:static void CNrec::ShutDown()): Application core not initialized. Ignoring this call.
Aborting now.
... comment
friedemann bunjes,
Montag, 2. Juli 2007, 11:04
RESOLVED: Error: Wrong subdevice type.
If in .nrec.cfg, the daq subdevices are not correct, nrec is not able to initialize the daq card and exits showing this message. Open .nrec.cfg in a text or xml editor and correct the ids of the ain/dio subdevices.
You can check the devices of your card with
comedi_test -t info
.nrec.cfg can be destroyed by an nrec crash. Therefore it is a good idea to keep a backup of the .nrec.cfg file somewhere.
You can check the devices of your card with
comedi_test -t info
.nrec.cfg can be destroyed by an nrec crash. Therefore it is a good idea to keep a backup of the .nrec.cfg file somewhere.
... link
... comment