"michael h. fischer" writes:
> maybe i didn't comunicate here.
> i don't intend to print anything out but i want to set each pin of the port
> hi or low. i'm trying to turn some electrical relay-switches on and off.
>
> thanks anyway, all these hints are useful to me
Michael,
So using an true ASCII printer or dircetly /dev/lpx is the easiest
solution. Just "print" the ASCII charakter representing the bits to
set.
Johannes Nieß
>
> "Johannes Niess" wrote in message
> news:m2u2b1556o.fsf@server.landtechnik.uni-bonn.de...
> > "michael h. fischer" writes:
> >
> > > could anybody help a linux-labview beginner?
> > > i'm trying to write to my parallel port. bu
t labview is obviousely not
> set
> > > up for this. does anywone happen to have a vi which can do that?
> >
> > Michael,
> >
> > I'm not sure how you adress the parallel port.
> >
> > Writing directly to an I/O port is not allowed for security
> > reasons. There are VI's to do the required system calls.
> >
> > You might be able to use the (old) serial VI's with a high serial port
> > number. You can look up the port number on a LV version for Windows.
> >
> > I'd use a completely different strategy: VISA can address parallel
> > ports. With Windows you just use ASRL10. You might need some tweaking
> > of the VISA preferences files to do it.
> >
> > Printing data to a parallel port should be done with the tools
> > designed for it: System Exec: lpr file.txt
> >
> > Does someone have a summary of the options for reading the parallel
> > port and setting control lines via the described methods?
> >
> > Johannes Nieß