I am using Redhawk 1.9. I have create a dummy device that is used by a dummy component. I have a dummy node containing the dummy device. A dummy waveform which has the dummy component. I am having two problems:
- In the Device Manager Console (launch in IDE from TARGET SDR) I get the warning message that indicates the Device is unable to connect to IDM channel. I checked to make sure the Naming and Event service was still up. I am uncertain to track down this problem. I launch the Device Manager with a logging at trace level, but I didn't see anything to help me.
INFO:DeviceManager - Starting Device Manager with /nodes/DummyNode/DeviceManager.dcd.xml INFO:DeviceManager_impl - Connecting to Domain Manager REDHAWK_DEV/REDHAWK_DEV INFO:DeviceManager - Starting ORB! WARN:Device_impl - Unable to connect to IDM channel INFO:DeviceManager_impl - Registering device DummyDevice_1 on Device Manager DummyNode INFO:DeviceManager_impl - Initializing device DummyDevice_1 on Device Manager DummyNode INFO:DeviceManager_impl - Registering device DummyDevice_1 on Domain Manager
When I launch the Dummy Waveform from the IDE, I get an invalidCapacity error message. The dummy component uses the dummy device. It looks for the property device_kind = dummy_device_kind. I overrode the allocateCapacity method in the DummyDevice to return true. I check out the dummyDevice in the python command line and the allocateCapacity return true.
Error Message:
NFO:DomainManager_impl - Installing application /waveforms/DummyWaveform/DummyWaveform.sad.xml
DEBUG:ComponentInfo - Loading component properties from /components/DummyComponent/DummyComponent.prf.xml
DEBUG:ComponentInfo - Parsing component properties
DEBUG:ApplicationFactory_impl - UsesDevice Impl Vec of length 1
DEBUG:ComponentImplementationInfo - Attempting to match allocation properties
DEBUG:ComponentImplementationInfo - Trying to match for property id DCE:cdc5ee18-7ceb-4ae6-bf4c-31f983179b4d
DEBUG:ComponentImplementationInfo - It's a matching prop
DEBUG:ApplicationFactory_impl - Trying to find the device
DEBUG:ApplicationFactory_impl - Device Allocation Failed.. need to clean up
DEBUG:ApplicationFactory_impl - --FAILED-- Allocation of component's implementation cpp of DummyComponent_1. Undoing allocate devices
ERROR:ApplicationFactory_impl - The following CORBA exception occurred: InvalidCapacity while creating the application
INFO:DomainManager_impl - Uninstalling application DCE:8d0a6e63-24f6-4766-9a3f-7db7fd516078