One (ASICameraDll2.cs) is supposed to be a simple wrapper on the DLL and the other (ASICameraObjectModel2.cs) a more object oriented wrapper over that. The issue is that they don't seem to be compatible, i.e. function names are wrong and the ASICameraObjectModel2.cs seems to call functions that aren't even there in the ASICameraDll2.cs!
Does anyone have any working C# code I can look at?
BTW I am using an ASI120MM in a homemade spectrograph and writing the software myself... after all I am a C# developer by trade!
Sorry for the problem。
This header file should be provided by other developers a long time ago. Very few people have feedback problems. We also don't use it. So here is just an example.
If you can tell us which functions have problems, or you can fix them and help us update them. We will be appreciated with that.
Appreciate for your work!
You can send an email to me: chad.cao(at)zwoptical.com, please upload the file as an attachment.
I think we will update it in our next release.
I have the same problem as described here. I've upgraded to the latest SDK and my code does not work anymore. The ASICameraObjectModel2.cs file that has been mentioned here is no longer included with the SDK download. Could you please post or send me the updated version that was created as mentioned above?