Silicon Software Dot Net SDK related issues

  • Hi All,


    I have been trying to capture images using a single GV-5260 CP color camera connected with VQ4-GE frame grabber. Its working well in the 'microdisplay.exe' application installed in the SISO Runtime 5.5.1 directory. Then I downloaded C# SDK provided by Silicon software from the following link: https://silicon.software/file-download/setup-cs-sdk-2/ , I have followed the instructions provided in the user manual and it works for VD4 frame grabber. But when I try to use the same application in the VQ4-GE it raises errors like framegrabber timeout , invalid parameter etc.,though all the parameters are set correctly in the mcf file which works in microdisplay application. Please give me a solution to this problem or is there any other C# SDK available for this?. Kindly refer the corresponding files in this google drive link https://drive.google.com/open?…iuBOzwdq2RwKZ5ypSpGx-18yC .


    Thanks,

    Jayasuriya

  • Hello Jayasuriya,


    We totally revised the C# SDK interface in the current runtime versiones. I recommend to use the current Runtime 5.6 which includes the C# interface. See subdirectory \SDKWrapper\CSharpWrapper

    See the documenation in http://www.siliconsoftware.de/…per/doc/CSharpWrapper.pdf


    You can find the full setup in https://silicon.software/file-…-v5-6-win64-with-applets/


    Let me know if you prefer the old version instead.


    BR

    Johannes


    Johannes Trein
    Group Leader R&D
    frame grabber

    Basler AG



  • Hi,


    Thankyou for your reply.


    We are working on old SISO SDK. We would like to replace it with this new SDK(Runtime 5.6) ASAP. Could you please send us a brief documentation of this updated SDK and a working c# example of the updated SDK (including APC, Events, LUT)


    Thanks,

    Jayasuriya

  • Hello Jayasuriya


    the links I posted above are the ones for documentation and software including examples.

    pasted-from-clipboard.png


    The full documentation of the complete runtime package is in http://www.siliconsoftware.de/…ve_docu/RT5/en/start.html


    If you experience issues with the C# wrapper let our support know about it. We will update some features with Runtime 5.6.1


    BR

    johannes


    Johannes Trein
    Group Leader R&D
    frame grabber

    Basler AG



  • Hello Johannes,


    We tried to execute your My First SDK example(VQ4 card). We got the following exception. We are not able to trace the cause. Could you please help us with the same.

    Inner Exception:

    {"Unable to find an entry point named 'CSharp_INVALID_HANDLE_VALUE_get' in DLL 'SiSoCsRt'.":""}

    source:

    "SiSoCsInterface"

    Message:

    "Unable to find an entry point named 'CSharp_INVALID_HANDLE_VALUE_get' in DLL 'SiSoCsRt'."



    Thankyou,

    Jayasuriya

  • Hello Johannes,


    We are working on MyFirstSDK Example(runtime 5.6.0) using VQ4 card. We have attached the screenshot of the exception. We are in very urgent need of working example of image acquisition using camera, LUT. using latest SDK.


    Thankyou,

    JayaSuriya

  • Hello JayaSuriya,


    I am not 100% sure, but from your screenshot I'd guess that you have a mismatch between the C# Wrapper dll (%SISODIR5%/lib/SiSoCsInterface.dll) and the corresponding native dll (%SISODIR5%/bin/SiSoCsRt.dll).


    It is important that your program uses the SiSoCsRt.dll from the same Runtime installation from which you create the reference to SiSoCsInterface.dll. A cause for such a mismatch could be, that your PATH environment variable contains entries for a different Runtime installation.


    Please do not solve this dependency by copying the SiSoCsRt.dll to the working directory of your C# Application. This may cause more subtle inconsistencies, because other SiSo dlls, which SiSoCsRt.dll depends on might still be loaded from the wrong location.


    If this does not solve your problem, pleas contact the Silicon Software support team.


    Regards,


    Ralf

  • Hi Ralf,


    Actually the problem was with the environment variable like we need to manually add the value '%sisodir5%\bin' in the variable path which was suggested by support team. And one more thing is that in the project properties under the build tab we should uncheck the property " Prefer 32 bit" which was found in our side.

    Capture.JPG


    Thanks,

    Jayasuriya S.