Uh, yah. When you type UscCmd at the prompt it lists the available options. --target is right there. And what --target allows you to do is use UscCmd for several different Servo Controllers. Each one has a unique ID and you set which one you’d like your UscCmd commands to go to by using --> UscCmd --target ID# <-- where ID# refers to this unique ID.
Also, there is no --servo command. It’s not in the documentation, and I’ve tried the variation that you guys gave me and it is not working. So unless I somehow got ahold of the wrong version of UscCmd, there is no --servo command…
Maybe there is a different version for Linux? I haven’t played with it on my Debian, Gentoo, or Ubuntu machines as the machine that I want the end result to work on is currently running XP Pro.
Here is a copy of my command line when I use UscCmd with no options:
C:\Users\Cenyu>UscCmd
UscCmd, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null
Select one of the following actions:
–list list available devices
–configure <conf.txt> load configuration file conf.txt into device
–getconf <conf.txt> read device settings and write configuration file conf.txt
–restoredefaults restore factory settings
–program <prog.txt> compile and load bytecode program prog.txt
–status display complete device status
–bootloader put device into bootloader (firmware upgrade) mode
–stop stops the script running on the device
–start starts the script running on the device
–restart restarts the script at the beginning
–step runs a single instruction of the script running on the device
–sub calls subroutine n (can be hex or decimal)
–sub , calls subroutine n with a parameter (hex or decimal) placed on the stack
Select which device to perform the action on (optional):
–device 00001430 (optional) select device #00001430
C:\Users\Cenyu>
Also, I tried your Serial program and I’m finally getting some results.
Here’s my current setup:
From the Control Panel I know that Com16 is my Command Port and Com17 is my TTL port.
I’m using your utility to connect to Com16 since I’m in USB-Dual Port mode, which the manual tells me to use the Command Port (Com16) for.
My Maestro is the only device connected to Com16, so I should be able to use the Compact Protocol.
I used the example in the manual and finally managed to move servo 0 to a specific point. Now I just need to learn how to do this with HyperTerminal as it has a command line supplement (unless your Serial Transmitter has a way to control it from the command prompt…)
I’m using Windows 7 on the machine I’m using to test all this. As deep as this is going I just thought I should explain that.
~Cenyu