You are here

Controllling DLN-4M with Python Under Linux

2 posts / 0 new
Last post
francois paolini
francois paolini's picture
Offline
Last seen: 10 months 2 weeks ago
Joined: 01/30/2017 - 09:20
Controllling DLN-4M with Python Under Linux

Hi 

 

   I need to control DLN-4M from a linux redhat 6 workstation, using python

   To Pilot DLL-4M, I need to use ctypes module, with a dynamic library.

   To get a libdln.so, Ihave done what was proposed in a previous discussion:

     ar -x libdln.a

     gcc -shared *.o -o libdln.so

   But I need also to known which additionnal system libraries should be linked.

   I have discovered that I need to link also stdc++ library

     gcc -shared *.* - o libdln.so -lstdc++

   But it is not sufficient. Could you give me the libaries to link ? Or provide the libdln.so ?

   Kinds regards,

 

F Paolini.

 

Rate: 
No votes yet
eldar
eldar's picture
Offline
Last seen: 3 months 3 weeks ago
Joined: 07/31/2017 - 09:57
I created Python (native)

I created Python (native) client (TCP/IP) API.

Now it is supports only SPI-master (not all functions). It is easy to add other modules.

https://github.com/eldarkg/dln-python

Languages

User login

User login