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.

OPT3101EVM: Issue running script in LTTE

Part Number: OPT3101EVM
Other Parts Discussed in Thread: OPT3101

I do have an issure running a script from the TI-LATTE environment.

What I do:

  1. Starting TI-Latte (0.8.3) for the OPT3101EVM in Windows
  2. Three windows pop up:
    1. CMD window with start up information
    2. TI-Latte
    3. The "front end" where i can controll the OPT3101EVM
  3. I can controll the OPT3101EVM as expected
  4. Switching to the TI-Latte window
  5. Selecting devInit.py
  6. Session --> Clear session
  7. Run --> Buffer

I get the following error/log:

Workspace is cleared

#======

#Executing .. OPT3101/OPT3101EVMrevE3_Demo/devInit.py

#Start Time 2021-10-06 11:14:37.048000

#Error: name 'QtGui' is not defined

# "OPT3101/OPT3101EVMrevE3_Demo/devInit.py", line 81, in

# NameError: name 'QtGui' is not defined

#

#

#Done executing .. OPT3101/OPT3101EVMrevE3_Demo/devInit.py

#End Time 2021-10-06 11:14:37.083000

#Execution Time = 0.0349998474121 s

#================ ERRORS:1, WARNINGS:0 ================#

What can I do to run a script?

Note:

On the system I have an istallation of Anaconda (Python3), but I do not expect this to be the issue.