Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 12, 2013, 05:54 PM   #1
waffles123
macrumors regular
 
Join Date: Feb 2009
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)
waffles123 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:00 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC