To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1401
1400  |  1402
Subject: 
Re: Blockin LNP calls
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 28 Aug 2000 09:32:25 GMT
Viewed: 
3642 times
  
> > > > My code never reaches "debugging step 2". When I compile and run this, the
> > > > data is successfully recieved by the RCX, but the lnp_addressing_write(..)
> > > > call never returns .....
> > > > 
> > > > Does anyone have any ideas, please? It's driving me mad,
> > > 
> > > From the statement "data is received by the RCX" I assume you have this
> > > problem on the host system. What OS are you using? Also, how does your
> > > lnp_logical_write() routine look like?
> > 
> > 
> > Yes, the problem is on the host PC (running Red Hat 6.2). What I cant figure
> > out is how identical code works fine if I instantiate the wrapper class
> > in a simple demo app, but once I try calling it form within my CORBA server,
> > it blocks on sending the data??
> 
> No, I meant lnp_logical_write, which is called from lnp_addressing_write.
> lnp_logical_write is not within the file lnp.c, which I guess you link into
> your app. This function is supposed to actually write to the serial device
> communicating with the RCX. Depending on the serial port initialization
> this might block. What code do you use to talk to the serial port?


I guess I'm using lnp_logical_write then? That is, I include the standard lib_lnp.h
file into my code and then link my app with liblnp.so.....does this answer your
question? Is there a way in which I can call lnp_logical_write directly to test it's

working?



Message is in Reply To:
  Re: Blockin LNP calls
 
(...) No, I meant lnp_logical_write, which is called from lnp_addressing_write. lnp_logical_write is not within the file lnp.c, which I guess you link into your app. This function is supposed to actually write to the serial device communicating with (...) (26 years ago, 28-Aug-00, to lugnet.robotics.rcx.legos)

8 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR