LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Old serial VI's don't work in LV runtime 7.1.1

I am converting my LV6.02 code to LabVIEW 7.1.1.

1) Under Development
During load a had a broken arrow in the older serial VI's. Searching the web I found that I needed to replace some _sersup.llb in order to get the old serial VI's back up and running.
After I don that everything worked correctly in development mode, serial port was operating correctly.

2) With runtime engine
When I build an EXE from my application and install it on a banco Windows XP machine where only the LV 7.1.1 Runtime has been installed on, I get errors from the serial VI's. Nothing works on the serial ports, LabVIEW does not find the ports at all !!. When I do the same woth my older version in LV6.02 on the same blanco Windows XP, everything works perfectly.

I tried to copy the serpdrv from the 6.x next to the application (in 7.x this is normaly not needed) but it does not help. If I run a VISA VI that does serial communication it works. But I would like to distribute only a LabVIEW data directory in my final release that and I don't know yet if VISA is then working correctly !?


Is there a way to get the old serial VI's working under the runtime 7.1.1. without switching to VISA and still use the simple copy of a data map of the runtime via our installer (auto reg. dll's) to distribute the application ?

Have a nice day
Danny Lauwers
ISDG
0 Kudos
Message 1 of 3
(2,696 Views)
There is no need to replace the new _sersup.llb with the old llb.
Just open your application in LV 7.X, and the serial vi's should work properly.
You need to have the VISA runtime Engine installed on the target machine, for the new serial functionality to work.
If you are distributing executables, then during the build process, select under

Installer settings----->Adavnced------->serial port suppoprt.

If you do that, the VISA runtime engine need not be installed on the target machine, and the installer will just install the necssary files to enable VISA serial communication
0 Kudos
Message 2 of 3
(2,686 Views)
Or continue to use the legacy i/o VIs but make certain to put the serpdrv file in the same folder as the LVRTE. Without that file being present in the same folder as LVRTE, the legacy i/o VIs will not work.

I've been using this approach -- partly so as to avoid converting to VISA -- and it works quite well.
0 Kudos
Message 3 of 3
(2,665 Views)