Problem running ssctester

I’m relatively new to programming and am having trouble getting the ssc-tester to work properly.

I followed the instructions here pololu.com/projects/prj0003/
But when I run the program ($wish ssc-tester.tcl) it tells me there is an error in the startup script.

The exact message is: not connected while executing “connect” (file “ssc-tester.tcl” line 6).

Any help would be much appreciated!

Hello,

The person who put up that example is not available, and I don’t really know anything about it, but another customer has found the following problems with the example:

  1. The Tcl/Tk section for Cygwin is “Libs”.
  2. You must also ensure that X11 is selected otherwise you will not get the X11/Xlib.h file installed which is required by tk.h.

Perhaps that will help.

- Jan

Just scanning through trying to help myself with something else & I saw this.

I believe this problem also occurs if the correct com port is not selected.

Try opening ssc.c & changing the following line:
s->fd = open("/dev/ttyS1", O_RDWR | O_NOCTTY);
to
s->fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY);

Don’t forget to recompile the program.

Cheers,
Darren