One way to discover the correct serial port for the controller is as
follows: Unplug the controller's USB cable from the computer, run
"clipytool -l" and note the listing, plug in the controller's USB
cable, run "clipytool -l" again and note which serial port was added --
this will be the port to use.
The following help information is displayed by running "clipytool
-h
":
usage: clipytool.py [-h] [-b [BACKUP] | -r [RESTORE] | -y [VERIFY]]
[-c [CHANGES]] [-n] [-p PORT] [-a BAUDRATE]
[-s SLEEPSCALE] [-u] [-x] [-l] [-t] [-v]
optional arguments:
-h, --help show this help message and exit
-b [BACKUP], --backup [BACKUP]
Save CLI settings to file: BACKUP
-r [RESTORE], --restore [RESTORE]
Restore CLI settings from file: RESTORE
-y [VERIFY], --verify [VERIFY]
Verify CLI settings vs file: VERIFY
-c [CHANGES], --changes [CHANGES]
Save 'verify' changes to file: CHANGES
-n, --noverify Don't perform verify after backup/restore
-p PORT, --port PORT Serial port to use (default=COM7)
-a BAUDRATE, --baudrate BAUDRATE
Baud rate to use (default=115200)
-s SLEEPSCALE, --sleepscale SLEEPSCALE
Scale comm sleep delays (default=1.0)
-u, --pauseonerror Pause before exit if error
-x, --pauseonexit Pause before exit (always)
-l, --listports Display available serial ports
-t, --terminal Enter interactive terminal mode
-v, --version show program's version number and exit
clipytool version 1.1
If backup filename not specified then defaults to "cli_bkp_YYYYMMDD_hhmmss.txt"
If restore/verify filename not specified then defaults to newest file matching "cli_bkp_*.txt"
If communications too fast for controller, try increasing 'sleepscale' > 1.00
The "sample_bats" directory in the distribution contains sample batch
files (for Windows) that can be handy for running the program.
Setting up shortcuts to the batch files can allow the program's
functions to be accessed via simple mouse clicks in the Windows GUI,
and drag-and-drop can be used with the restore/verify. The batch
files can be modified to match the correct serial port for the user
environment. The default serial port can also be changed by
modifying the "clipytool.py" program file.
If you have comments, questions or suggestions, please let me know.
Click here to
contact me
Back to etheli.com home page