9 lines
283 B
Batchfile
9 lines
283 B
Batchfile
@echo off
|
|||
|
|
rem EtherCAT master tool for DCU LAN9252 (scan/flash/send/monitor)
|
||
|
|
rem Examples: ecat.bat status | ecat.bat flash | ecat.bat send --u64 0x1,0x2,0x3,0x4 --duration 5
|
||
|
|
chcp 65001 >nul
|
||
|
|
set PYTHONUTF8=1
|
||
|
|
cd /d "%~dp0"
|
||
|
|
"%~dp0venv\Scripts\python.exe" ecat_tool.py %*
|
||
|
|
pause
|