12/15/2023
I installed the latest DXL SDK for Python as per this post
And this process went fine for the RPi5.
After adjusting for 1 ms for the USB Latency Timer, and adjusting the pyserial functions to use 1 Mbps, I had tried sync_read_write.py on the Terminal and inside Visual Studio Code and this code worked fine for both situations with occasional loss of packet status (this issue did not happen when using compiled C/C++ code).
One strange thing with using THONNY though. Although it recognized that the DXL SDK had been installed:
It found issues with termios?
While the Python3 interpreter had no problem executing syn_read_write.py by itself or via Visual Studio Code.