Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Wrap C fuctions in Python API: (1 Item)
   
Wrap C fuctions in Python API  
I'm running QNX 6.4.1 on my target embedded system.I have implemented C function that interfaces with APC8620 drivers 
and IP modules (dio, a2d, d2a, counter, times) on QNX. I have object files for these function and can convert to a 
library.
I want to wrap these C functions in python to provide an easier access to the system.  From my host system I want to log
 the data from QNX target system using these Python API. As far as I know, the performed is achieved using C / C++ to 
get the most out of the system but for usability I want to use python.

1. I know QNX comes with Python installed for scripting. Do I have to install any other python version so I can create 
the python API. 

2. Should I write python API on host that cross compile and invoke c function on the target or write python API on 
target system so other python scripts can access them.

3. How to integrate python to QNX momentics IDE and develop python API.

I have never programmed in python before so I want to know people's opinions before I blindly jump into the coding.  I 
appreciate if you point me to some design cases and readings.


Thanks
Sudhir