write to parallel port on Windows system

Axel Buchner axel.buchner at uni-duesseldorf.de
Tue Jul 6 04:53:13 CDT 2004


I need to send simple signals through the parallel port of one windows 
machine (which displays stuff in a screen) to another (which records 
signals from a person viewing the screen). I can open or close the 
parallel port using

open file "LPT1:" for write
close file "LPT1:"

The open command gets through to the receiving machine. However, when I 
try to write data to the parallel port using

write ... to file "LPT1:"

the machine hangs and requires a shutdown before it will respond 
properly again.

Any help would be greatly apprechiated.

Axel Buchner
Institut für Experimentelle Psychologie
D-40225 Düsseldorf

+49 211 811 2271 (Phone)
+49 211 811 5037 (Fax)

More information about the use-livecode mailing list