|Jun 12, 2013, 06:54 PM||#1|
Read data from serial ports via Tcl/Tk
I am having trouble with a tcl/tk program that works flawlessly on windows, but has trouble reading data via usb from a device when the tcl/tk program runs on a mac.
The device is supposed to send two integers to the computer every second, but the software cannot seem to recognize the device when connected to the usb.
When the tcl/tk program tries to open the file path to the usb device, I get an error that the program "cannot find a channel named /dev/tty.usb-serial-####".
The usb device shows up in /dev in terminal, and I am able to receive some data via the screen command, but I have been stuck at this point, and have unable to find a way to even open a stream to the device, let alone read it.
Any suggestions on how to get the tcl/tk program to read data from a serial port? (I've seen conflicting arguments on the internet saying it is and it is not supported)
|Thread Tools||Search this Thread|
All times are GMT -5. The time now is 11:14 AM.