LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error on target PC with LabViewRunTime Engine using "Simple Parallel Port Output"

Trying to write a data byte to the parallel printer port using "Out Port.vi" causes an error message of Outport8.vi No. 25 "External code not present" on the target PC which has only the Labview Runtime Engine (LVRunTimeEng.exe) installed. The parallel port address is valid (crosschecked with Hardware manager - Ressources on target PC).
On the PC with the Labview 7 Express development environment the executable file (*.exe) works properly. (The application was built with Labview 7 Express.)
The development PC runs on Win2000. Special acessHW-drivers were not installed for port access. The application uses standard "Out Port.vi" which comes with Labview. The application failed on target PCs with Win2000 and WinXP. Labview Runtime engine for Labview 7 had been installed before on these PCs. Hence, there seems to be no dependency on different types of Windows operation systems (Win2000 or WinXP) as the result is the same. Something is missing on the target PC.
The mentioned error occurs even with an installer version of this application.
Furthermore, the example given for VISA access (Access_Parallel_Port_with_VISA.llb) to printer port does not work on the PC with Win2000 and Labview 7 Express development system, either. The error message No. -1073807253 is "A framing error occurred during transfer."

What does "external code" mean? Is there something else but LVRunTimeEng necessary to be installed on the target PC?
How can I fix the problem?

I attach the application screen shot of the block diagram, as well as the exe-file and the required cviVXDWrapper.dll as Test-Port2.zip.

Thank you in advance!

Best regards,

PMDM1


0 Kudos
Message 1 of 3
(3,194 Views)
One thing you don't mention is whether you created an installer for the app and selected Port I/O Support to be included. This is on the Advanced Installer Settings screen.
0 Kudos
Message 2 of 3
(3,192 Views)

Thank you for the advice! I had created the installer with this Port I/O support option before, but it did not work either.

Until now I used the LabView Runtime Engine - German Version. Now I deinstalled the German version and installed the standard English Runtime version instead on one target system. Surprise, surprise... it worked. To proof that, I reinstalled the German Runtime version again and - it still worked.(???) The development operating system is Win2000, the target operating system was Win XP.

Unfortunately, I could not confirm this behaviour on an other WIN XP- orWin2000-PCs with Runtime Engine only. So up to now, I do not know the reason, why it works only on one target system.

Any ideas?

Thanks!

PMDM1

0 Kudos
Message 3 of 3
(3,180 Views)