LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 5.0 Build Application> serpdrv : how to generate it

I am trying to build an executable file from a Labview 5.0 library that comprises all the needed subroutines.

I manage to build the application succesfully. At the end of the process I get the following message:

Application build succesful

Remember SERPDRV and/or DAQDRV may be required depending on the application.

Where could I get this servpdr file? What is it exactly? I haven't found any documentation.

On the other hand when I try to run my exe file, Labview asks me for some Labview subroutines like

Serial_Port_ini.vi
Bytes_at_serial_port.vi
Serial_Port_Read.vi (etc)

All of them regard to Serial Communications that I use in my application.

It also asks me for other subroutines reg
arding DDE communication, that I use to communicate with another application, like:

DDE SRV register item
DDE SRV register server
DDE SRV set item (etc)

Is this error related to the fact that I don'r have the serpdrv?

Some help will be very helpful. I am a bit lost.

Thanks in advance!
Labview User
0 Kudos
Message 1 of 7
(3,614 Views)
Regarding the files SERPDRV and/or DAQDRV

You can find them in the LabView 5 Folder. When you use the application builder, include them as support files
or you can manually copy them to the folder of the generated executable.
0 Kudos
Message 2 of 7
(3,614 Views)
I have copied the servpdr file in the folder where I am going to generate the executable. I generate it, try to run it and get the same error.

Any clue?

Thanks for your help!
0 Kudos
Message 3 of 7
(3,614 Views)
I assume your source code under LabView 5 works fine.
What is the operating system that LV 5 is using ? 95/98 ?
is the LV 5 a 16 bit (win31) or 32 bit (95/98)?
which operating system are your trying to run the execuable ?
0 Kudos
Message 4 of 7
(3,614 Views)
My source code runs without any problem.

My OS is Windows 95. I build my application there and also there I try to execute the exe file.

How could I know if LV is a 16 bit or a 32 bit?

I can say that I have built another Labview application in the same PC and I have manage to execute it without any problem.

Thanks!
0 Kudos
Message 5 of 7
(3,614 Views)
If the source code works fine under win95, then the executable should also run fine in the same PC

Older versions of Labview (5 and before) requires two stages to create an executable

Tthe first requires the creation of a .llb library that contains all the vi's used in the application
The second stage is when you make the final .exe

Open the .llb that you created and make sure the missing files are there. If they are, then there is no reason why they should not run. If not, save them manually, one by one.

Are you by the way calling these files dynamically ?, If you are, then you should manually save them in the .llb library
0 Kudos
Message 6 of 7
(3,614 Views)
Thanks very much!

Now it works. Actually I had to include all the files that Labview was trying to find in my library (including serpdrv) " by hand", as you said. Now I can run the executable without any problem.

Thanks again!
0 Kudos
Message 7 of 7
(3,614 Views)