View Single Post
  #747  
Old 30-03-2017, 07:24 AM
gehelem (Gilles)
Registered User

gehelem is offline
 
Join Date: Sep 2016
Location: Rambouillet - France
Posts: 112
@Luka, i need a small advice :

I'm still playing with our linux driver.
Now your new driver is out, i'm starting to think about its indi version.
Last year for cam84, i've tried to convert Delphi code into Lazarus (FreePascal) with no success.
But i gave it a new try yesterday, and tadaaa ! :
I can compile cam86 low level library, and link it against our indi driver.
And i must say it's a little success, with very few modifications of your original code.
I can open/close camera, read temperatures/humidity, set parameters and so on.
I "just" can not start an exposure because of cthread stuff. Sure there is a solution, i'll try to find it.

At this point (here comes the advice request), i'm asking myself wich way i should take.
Is this a good way to do things ?
Good points are :
  • easier for initial setup
  • easier to maintain
  • respect of original author's "Pascal philosophy"
Not so good points are :
  • Pascal is not really very popular under linux
  • More compilation steps
  • platform problems to come ? (x86 / x64 / armxxx /...)
  • Anyway, need to switch to libftdi instead of D2XX
  • Loose any chance to make all this included in Indilib official packages

What do you think ?
Do you see any other pros/cons ?

Gilles.
Reply With Quote