LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reading/writing to parallel port LabVIEW 7.0 Win2000

I'm using LabVIEW 7.0 on a Windows 2000 machine which also has the CVI runtime engine version 6.0.4.105.
I wish to write to the parallel port, simply on/off signal to eight lines. I have previously done this with LabVIEW 5+Win98. I have downloaded the accessHW libraries and installed them but have discovered that I also need the CVI rte version 5.0 . When IT personnel try to install this run time engine "A newer version of this run time engine is currently installed"
appears and won't install version 5 over version 6. Has anyone else come up against this and is there a way around this (without having to install an older version of LabVIEW)?
0 Kudos
Message 1 of 5
(2,587 Views)
Leeser wrote:
> I'm using LabVIEW 7.0 on a Windows 2000 machine which also has the CVI
> runtime engine version 6.0.4.105.
> I wish to write to the parallel port, simply on/off signal to eight
> lines. I have previously done this with LabVIEW 5+Win98. I have
> downloaded the accessHW libraries and installed them but have
> discovered that I also need the CVI rte version 5.0 . When IT
> personnel try to install this run time engine "A newer version of this
> run time engine is currently installed"
> appears and won't install version 5 over version 6. Has anyone else
> come up against this and is there a way around this (without having to
> install an older version of LabVIEW)?

You could also use the PortIO library from the OpenG project
http://www.openg.org.
It is currently only in the CVS source code
repository on that site and not yet part of the OpenG Toolkit. Because
it is not everybodys thing to use CVS I include that library as
attachement here.

I tested it myself on Win95, NT4, 2000 and XP and had no problems at all
with it. But please consider it beta software and if you have problems
let me know with as much details as possible.

Rolf Kalbermatter
Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 5
(2,587 Views)
I haven't tried it in LabVIEW 7, but I believe that accessHW is no longer required - Inport and Outport work with protected OS's. If that's the case, then you shouldn't have to change anything.
0 Kudos
Message 3 of 5
(2,587 Views)
Dear Leeser,

I agree with what Dennis is saying. Below is a link to a page which explains about these functions. It explains about the LabVIEW 6.1 In Port and Out Port functions but they are almost the same as the LabVIEW 7.0 functions. This should help.

http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596?opendocument

Kind Regards

Louis Price
Applications Engineer
NIUK
0 Kudos
Message 4 of 5
(2,587 Views)
Thanks Guys, I was probably making life difficult for myself by trying to use Simple Parallel Port Input and Output as discussed further down the same document as this had worked previously. Will attempt to use the example shown while grounding lines 11 and 12.

Regards,

Leeser
0 Kudos
Message 5 of 5
(2,587 Views)