Search found 2 matches

by reeskej
Sun Jun 01, 2008 2:18 pm
Forum: Programming Tools
Topic: Sending text file to serial port - COM1
Replies: 2
Views: 16908

Line input

Thanks Janet,

You pointed me to the right direction. It's all in the documentation. I should have used LINE INPUT instead of INPUT, because this command sees the comma as a delimiter.
Thank you for your fast reply.


Jos Reeskens
by reeskej
Sun Jun 01, 2008 10:47 am
Forum: Programming Tools
Topic: Sending text file to serial port - COM1
Replies: 2
Views: 16908

Sending text file to serial port - COM1

Hi,


I've made a small application to drill some holes on a CNC machine. The output of the program is a text file. I want to transfer this file to my CNC machine by means of a serial cable. To do so, I'm using the print command
open "hoekverdraaiing_HAAS.nc" for input as #HaasNC
open "com1:9600 ...