khyperia/LumeneraDisplay

Would like to try compiling this

Opened this issue · 5 comments

Hi,
I'd like to compile this, but it looks like it's VS C# 2013 (and I can only use 2010 version). Can you give me an idea what library/dll/resource "Lumenera.USB" refers to?

Sorry to reach out in this forum, but not sure how to ask the question otherwise.
Matt

It refers to the dll lumenera.api.dll, which (possibly wrongly - I am no legal expert) is included in the root of the git project - note that this version is out-of-date and may not work. Official downloads can be found here - http://www.lumenera.com/ - somewhere, I'm not sure exactly where.

Please do note that this project is exclusive to Lumenera cameras, so I'm assuming you have a Lumenera camera that you want to use this with.

Thanks for reaching out! Please let me know if you have any more issues.

Hi,
Thanks. Yup, I have a Lumenera camera but want to play with a lot of
the API functions. I have their software installed so I do have the
latest version of the DLL. So whether it was included or not is okay -
it just looked like an odd way to reference it.

I'm new to C# but not to C, C++, Pascal, etc etc. Unfortunately I have
an old laptop that will only run VS C# 2010 and not 2013. So I need to
figure out how to either back-port the code or turn it into something
like C that I can run.

I suppose the first thing I should do is probe the DLL to figure out
what functions are available in that.

If you have any tips or thoughts on how to do that, I'd be glad to hear
them.

And thanks for replying!
Matt
Member - Springfield Telescope Makers

On 2015-04-15 10:14, khyperia wrote:

It refers to the dll lumenera.api.dll, which (possibly wrongly - I am
no legal expert) is included in the root of the git project - note
that this version is out-of-date and may not work. Official downloads
can be found here - http://www.lumenera.com/ [1] - somewhere, I'm not
sure exactly where.

Please do note that this project is exclusive to Lumenera cameras, so
I'm assuming you have a Lumenera camera that you want to use this
with.

Thanks for reaching out! Please let me know if you have any more
issues.

Reply to this email directly or view it on GitHub [2].

Links:

[1] http://www.lumenera.com/
[2]
#1 (comment)

The code should "just work" if you make a new solution/project file in VS 2010 and import the Program.cs file, that's the only source code of the whole project.

"Probing the DLL" in C# isn't really something you do, what I would do is just open up a project, reference the dll, and use Intellisense to explore the classes contained within. I think, if I can remember from over a year ago, most API functions are contained in the class Lumenera.USB.dll, as static members (it's not the most well-designed library).

Alternatively, I think they might also have a C library you can use as opposed to a C# one. Last time I checked, the Linux API is a C one, I would guess there's a Windows C API as well, and you said you're more familiar with that. I haven't checked, though.

Thanks. I'll give that a shot and let you know how it turns out, if
you're interested. FWIW, the camera in question is an industria
Lw11059MB that I got cheap. So - of course - now I want to hack it :)

Were you using their astro camera for your galaxy photo on github?

Matt

On 2015-04-15 11:27, khyperia wrote:

The code should "just work" if you make a new solution/project file in
VS 2010 and import the Program.cs file, that's the only source code of
the whole project.

"Probing the DLL" in C# isn't really something you do, what I would do
is just open up a project, reference the dll, and use Intellisense to
explore the classes contained within. I think, if I can remember from
over a year ago, most API functions are contained in the class
Lumenera.USB.dll, as static members (it's not the most well-designed
library).

Alternatively, I think they might also have a C library you can use as
opposed to a C# one. Last time I checked, the Linux API is a C one, I
would guess there's a Windows C API as well, and you said you're more
familiar with that. I haven't checked, though.

Reply to this email directly or view it on GitHub [1].

Links:

[1]
#1 (comment)

One last question if I could : when you set up the project in VS do you
recall what you set it up as? It looks like it's a console app (as
opposed to a form based app?)
Matt

On 2015-04-15 11:27, khyperia wrote:

The code should "just work" if you make a new solution/project file in
VS 2010 and import the Program.cs file, that's the only source code of
the whole project.

"Probing the DLL" in C# isn't really something you do, what I would do
is just open up a project, reference the dll, and use Intellisense to
explore the classes contained within. I think, if I can remember from
over a year ago, most API functions are contained in the class
Lumenera.USB.dll, as static members (it's not the most well-designed
library).

Alternatively, I think they might also have a C library you can use as
opposed to a C# one. Last time I checked, the Linux API is a C one, I
would guess there's a Windows C API as well, and you said you're more
familiar with that. I haven't checked, though.

Reply to this email directly or view it on GitHub [1].

Links:

[1]
#1 (comment)