Your nameservice is not responding. Have you tried to rest it? Are the network settings correct? You should also check if orops is working.<br><br>Greets Alex <br><br>Christoph Mueller &lt;christoph.mueller@dfki.de&gt; schrieb:<br><br>
 
 
  <div>
   Currently checking this fix let me run into a CORBA system Exception. 
  </div> 
  <div>
   &#160;
  </div> 
  <div>
   Simple run script:
  </div> 
  <div>
   &#160;
  </div> 
  <div>
   &#160;&#160; 4 require &#39;orocos&#39;
   <br/>&#160; 5 require &#39;vizkit&#39;
   <br/>&#160; 6 include Orocos
   <br/>&#160; 7 Orocos::CORBA.call_timeout = 40_000
   <br/>&#160; 8 Orocos::CORBA.connect_timeout = 10_000
   <br/>&#160; 9 Orocos.name_service &#60;&#60; Orocos::CORBA::NameService.new(&#34;10.250.8.24&#34;)
   <br/>&#160;10 Orocos.initialize
   <br/>&#160;11 
   <br/>&#160;12 camera = TaskContext.get &#39;payloaditem_3_cam_emi&#39;
   <br/>&#160;13 
   <br/>&#160;14 Vizkit.display camera.frame
   <br/>&#160;15 Vizkit.exec
   <br/>
   <br/>
  </div> 
  <div>
   <br/>Output:
  </div> 
  <div>
   &#160;
  </div> 
  <div>
   Vizkit[WARN]: Corba call timout is set to 40000 and connect timeout to 10000
   <br/>Vizkit[WARN]: This might block your script during connection problems.
   <br/>Vizkit[WARN]: ReaderWriterProxy: error while proxing the port: CORBA system exception
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:517:in `do_task_context_names&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:517:in `names&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/tools/orocos.rb/lib/orocos/corba.rb:102:in `refine_exceptions&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:516:in `names&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:309:in `names&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:308:in `collect&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:308:in `names&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:45:in `task_names&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/task_proxy.rb:608:in `reachable?&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/task_proxy.rb:89:in `__reader_writer&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/task_proxy.rb:51:in `initialize&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/task_proxy.rb:205:in `initialize&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/task_proxy.rb:429:in `new&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/task_proxy.rb:429:in `reader&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/oqconnection.rb:53:in `initialize&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/oqconnection.rb:204:in `new&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/oqconnection.rb:204:in `connect_to_widget&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/oqconnection.rb:220:in `connect_to&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/vizkit.rb:53:in `setup_widget&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/vizkit.rb:77:in `widget_from_options&#39;
   <br/>Vizkit[WARN]:&#160;&#160; /stuff/chris/gui/vizkit/ruby/lib/vizkit/vizkit.rb:92:in `display&#39;
   <br/>Vizkit[WARN]:&#160;&#160; display_remote_camera.rb:14
   <br/>/stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:517:in `do_task_context_names&#39;: CORBA system exception (Orocos::CORBAError)
   <br/>&#160;&#160; &#160;from /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:517:in `names&#39;
   <br/>&#160;&#160; &#160;from /stuff/chris/tools/orocos.rb/lib/orocos/corba.rb:102:in `refine_exceptions&#39;
   <br/>&#160;&#160; &#160;from /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:516:in `names&#39;
   <br/>&#160;&#160; &#160;from /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:309:in `names&#39;
   <br/>&#160;&#160; &#160;from /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:308:in `collect&#39;
   <br/>&#160;&#160; &#160;from /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:308:in `names&#39;
   <br/>&#160;&#160; &#160;from /stuff/chris/tools/orocos.rb/lib/orocos/name_service.rb:45:in `task_names&#39;
   <br/>&#160;&#160; &#160;from /stuff/chris/gui/vizkit/ruby/lib/vizkit/task_proxy.rb:608:in `ping&#39;
   <br/>&#160;&#160; &#160;from /stuff/chris/gui/vizkit/ruby/lib/vizkit/task_proxy.rb:540:in `__reconnect&#39;
   <br/>&#160;&#160; &#160;from /stuff/chris/gui/vizkit/ruby/lib/vizkit/task_proxy.rb:562:in `__change_name&#39;
   <br/>&#160;&#160; &#160;from /stuff/chris/gui/vizkit/ruby/lib/vizkit/vizkit.rb:135:in `exec&#39;
   <br/>&#160;&#160; &#160;from display_remote_camera.rb:15
   <br/>
   <br/>
  </div> 
  <div>
   Chris
  </div> 
  <div>
   &#160;
  </div> 
  <div>
   <br/>Alexander Duda &#60;Alexander.Duda@dfki.de&#62; hat am 16. November 2012 um 16:34 geschrieben:
   <br/>&#62; On 11/16/2012 12:07 PM, Chris Mueller wrote:
   <br/>&#62; &#62; Hi,
   <br/>&#62; &#62;
   <br/>&#62; &#62; i have currently some problems with the camera widget used through
   <br/>&#62; &#62; scripting via vizkit.
   <br/>&#62; &#62;
   <br/>&#62; &#62; 1) It always shows a black image through (tested on 640x320 and 320x240
   <br/>&#62; &#62; configured camera tasks)
   <br/>&#62; &#62;
   <br/>&#62; &#62; camera = TaskContext.get &#39;task&#39;
   <br/>&#62; &#62; Vizkit.display camera.frame
   <br/>&#62; &#62;
   <br/>&#62; &#62; 2) if i pickup the corresponding data with:
   <br/>&#62; &#62;
   <br/>&#62; &#62; 19 frame_reader = camera.frame.reader :type =&#62; :buffer, :size =&#62; 10
   <br/>&#62; &#62; 20
   <br/>&#62; &#62; 21 while true
   <br/>&#62; &#62; 22 sample = frame_reader.read
   <br/>&#62; &#62; 23
   <br/>&#62; &#62; 24 if sample
   <br/>&#62; &#62; 25 puts &#34;#{sample.time}, #{sample.image.size}&#34;
   <br/>&#62; &#62; 26 end
   <br/>&#62; &#62; 27 end
   <br/>&#62; &#62;
   <br/>&#62; &#62; Output:
   <br/>&#62; &#62; 2012-11-16 12:02:15 +0100, 24290
   <br/>&#62; &#62; 2012-11-16 12:02:15 +0100, 24290
   <br/>&#62; &#62; 2012-11-16 12:02:15 +0100, 24290
   <br/>&#62; &#62; 2012-11-16 12:02:15 +0100, 24290
   <br/>&#62; &#62; 2012-11-16 12:02:15 +0100, 24290
   <br/>&#62; &#62; ...
   <br/>&#62; &#62;
   <br/>&#62; &#62; Therefore the image data should be received successfully to my local
   <br/>&#62; &#62; machine.
   <br/>&#62; &#62;
   <br/>&#62; &#62; 3) It worked 2-3 weeks ago where the camera widget has been popped up
   <br/>&#62; &#62; two times sequencely at start up. One has shown the correct image.
   <br/>&#62; &#62; The other one has been closed immediately.
   <br/>&#62; &#62;
   <br/>&#62; &#62; Chris
   <br/>&#62; solved on master.
   <br/>&#62; thx for the report
   <br/>&#62; 
   <br/>&#62; Alex
   <br/>&#62; 
   <br/>
   <br/>
  </div>