Re: C++/Python function call

2010-06-29 Thread Stefan Behnel
Rami Chowdhury, 29.06.2010 20:56: On Tuesday 29 June 2010 05:24:26 Zohair M. Abu Shaban wrote: From: rami.chowdh...@gmail.com On Monday 28 June 2010 12:46:13 Zohair M. Abu Shaban wrote: I have this python function defined as: def set_time_at_next_pps(self, *args, **kwargs): """set_time_a

Re: C++/Python function call

2010-06-29 Thread Rami Chowdhury
od? > MY PROBLEM THAT I NEED HELP FOR IS: > 1- Am I using the structure correctly? > 2- Am I invoking the python definition correctly? I'd guess not, since you're getting an error ;-) > > Thanks againg for your help. > > JZK > > Zohair > > > From

Re: C++/Python function call

2010-06-28 Thread Rami Chowdhury
On Monday 28 June 2010 12:46:13 Zohair M. Abu Shaban wrote: > Hello every one: > > > I have this python function defined as: > > def set_time_at_next_pps(self, *args, **kwargs): > > """set_time_at_next_pps(self, usrp2::time_spec_t time_spec) > -> bool""" > > > > it was generated to do t

C++/Python function call

2010-06-28 Thread Zohair M. Abu Shaban
Hello every one: I have this python function defined as: def set_time_at_next_pps(self, *args, **kwargs): """set_time_at_next_pps(self, usrp2::time_spec_t time_spec) -> bool""" it was generated to do the same function as the c++: set_time_at_next_pps(usrp2::time_spec_t(0, 0)) I