This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DLPC3479: Phython scripting WriteOperatingModeSelect doesn't work

Part Number: DLPC3479

Hello,

I'm trying Scripting function in GUI Advanced 2.1.0.7. However, only WriteOperatingModeSelect has a something of problem and are not executed. Do you have any solutions?

---

File "C:\Texas Instruments\DLP Pico Display and Light Control 2.1.0.7\Settings\Scripts\dlpc347x\dual\commands.py", line 18, in WriteOperatingModeSelect
TypeError: Cannot convert numeric value 2 to OperatingMode.  The value must be zero.

Regards,

Uryyy

  • Hi,

    Can you post a snippet of your script where you're using the WriteOperatingModeSelect function.?

    Regards

    Azad

  • Hi Azad,

    The script description is below.

    ---

    from dlpc347x.dual.commands import *

    #WriteRgbLedEnable(False, False, False)
    #WriteInputImageSize(1280,720)
    #WriteDisplaySize(1920,1080)
    #WriteSplashScreenSelect(1)
    WriteOperatingModeSelect(2)
    #WriteSplashScreenExecute()
    #WriteDelay(1000)
    #WriteRgbLedEnable(True,True,True)

    ---

    Regards,

    Uryyy

  • Hi Uryyy,

    The parameter should be provided as an enum. Please refer to the Scripting Reference under Help menu for more information.

    In this case, it should be given as:

    WriteOperatingModeSelect(OperatingMode.SplashScreen)

    Regards

    Azad