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.

OPT4001DTSEVM: OPT4001DTSEVM_GUI window did not show up.

Part Number: OPT4001DTSEVM
Other Parts Discussed in Thread: OPT4001

Tool/software:

Hello experts,

I’m trying to run OPT4001DTSEVM_GUI.exe version 1.0.3 with OPT4001DTSEVM.

After the following steps, I faced IndexError in devInit.py, and GUI window did not show up.

After repeating this process about five times, the GUI is displayed correctly once.


1.Connected the EVM with USB cable. -> Green LED on EVM lit.
2.Run Latte
3.The application stops with following error logs.
4.After repeating this process about five times, the GUI is displayed correctly once.

#======
#Executing .. OPT4001/OPT4001DTS_EVM/devInit.py
#Start Time 2024-11-07 09:16:35.003000
Device detected: OPT4001DTSEVM
Device detected: OPT4001DTSEVM
Number of Control and Data ports not matched. Unlock all COM ports
#Error: index 0 is out of bounds for axis 0 with size 0
# "OPT4001/OPT4001DTS_EVM/devInit.py", line 67, in
# IndexError: index 0 is out of bounds for axis 0 with size 0
#
#
#Done executing .. OPT4001/OPT4001DTS_EVM/devInit.py
#End Time 2024-11-07 09:16:35.834000
#Execution Time = 0.831000089645 s
#================ ERRORS:2, WARNINGS:0 ================#

Please let me know what is wrong?

Thanks & Regards,

Teranishi

  • Hi Teranishi,

    It could be possible that some other program or device is locking that COM Port. Try exiting out of any open applications on your desktop and unplugging all USB connections, including the EVM. Then, reconnect the EVM to your computer. The device should occupy two COM ports in your device manager:

    Once you have verified that the two COM ports are there and that this is the only USB connection, try reopening Latte again. Ensure that no other applications are running in the background. 

    Try this method and let me know if you run into any other issues.

    Thanks,
    Daniel Balmaceda