我需要自动化连接到机器人框架中USB端口的USB设备。但是我因为不知道如何打开端口而感到震惊。我的问题如下:
也请PF内联代码,请提供帮助。
Open Serial Port
Add Port Port_#0002.Hub_#0001
... baudrate=115200
... bytesize=8
... parity=N
... stopbits=1
... timeout=999
*** Test Cases ***
Port able to listen or not
[Documentation] Port is working fine or not
[Tags] Listen Feature
Open Serial Port
${out} List Com Ports
Log ${out}
${out} Get Current Port Locator
Log ${out}
read all and log