|Jun 12, 2013, 05: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|
|thread||Thread Starter||Forum||Replies||Last Post|
|I/O data rates using Thunderbolt 1 devices on different ports vs. being daisy chained||bxs||Mac Pro||3||Feb 21, 2014 04:29 PM|
|Serial data over Audio (Mic in)||xArtx||iPhone/iPad Programming||6||Feb 16, 2014 09:49 AM|
|How do you make serial reads to devices wait for data to become available?||StantonC||Mac Programming||8||Jun 25, 2013 02:15 PM|
|iPad: Read/write data via wifi||Stephen Valente||iPad||1||Dec 2, 2012 11:17 PM|
|How to read SQLite data in child thread||Narendar Singh||iPhone/iPad Programming||3||Oct 4, 2012 10:51 AM|
All times are GMT -5. The time now is 03:13 PM.