write to parallel port on Windows system

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


Hi,

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
-- 
Axel Buchner
Institut für Experimentelle Psychologie
Heinrich-Heine-Universität
D-40225 Düsseldorf
Germany

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



More information about the use-livecode mailing list