Lepton Maker Community / Forum / General discussion / Topics / help with code in python

help with code in python

Home Lepton and Windows Forums Lepton maker community General discussion help with code in python

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of nadav nadav 8 months, 1 week ago.

Viewing 1 post (of 1 total)

  • Author


  • #16513

    Profile photo of nadav


    Hello all,
    I was wondering if you can hep me with a method I’m having a hard time implementing.
    Apparently I don’t understand the syntax of the SDK. I am coding in python and I can’t seem to get some ‘set’ commands to work.
    In the “Quick Start Guide: Getting Started Programing with the Python SDK” I saw the command “lep.vid.SetPcolorLut(0)”. according to that template I tried changing the FFC mode to manual with lep.sys.SetFfcShutterModeObj(0) but I get the following error: Traceback (most recent call last)
    File “cci_and_image.py”, line 27, in lep.sys.SetFfcShutterModeObj(0)
    TypeError: No method matches given arguments for SetFfcShutterModeObj

    I get the same error when trying other ‘set’ commands like SetFramesToAverage.
    What is the correct syntax for those methods and what arguments do they receive?
    I saw people calling set methods with many arguments and HWX values but I don’t understand where does it come from. there is no explanation in the SDK documentation

    • This topic was modified 8 months, 1 week ago by Profile photo of nadav nadav.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.