LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

run-time executable using outport

Using LabView 7.0
Using Tools > Build Application or Shared Library
Using OS - Win2000 Pro


Situation: Wrote a small vi which writes to the Data Registers and reads the status register. The vi is basically a modified version of the example from NI, called "Parallel Port Additional Data Register Inputs.vi"

Works GREAT on the development PC.

The Problem:

Created an executable using the "build application" feature of LabView. First installed the LV-RTE on a second PC. Then installed the newly created executable. It gives an error "25 - inport32.vi". The error means that the driver was not loaded. The driver is "cviVXDWrapper.dll".

Re-built the executable. This time using the build option "small target file with
external file for subVIs".

Same error message is obtained.

Copied the dll to \System32 folder. Still the same problem.

Decided to build the application once more, but this time I selected "Create installer".

Installed the whole thing. Installation works great!
But I always get the same error 25.

The target PC also has WIn2000. I tried various parallel port settings. Nothing worked.

How do I overcome the driver not being loaded?

Driver name: VXDWrapper.dll
0 Kudos
Message 1 of 2
(2,682 Views)
When you create the installer, you need to click the advanced button and check the Port I/O Support box
Message 2 of 2
(2,682 Views)