LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView & Serial Port Error 37

LabView 5.0.1 with Window95

I am building a program to read data from the serial port. In the LabView
development environment, the program works great! Once compiled to a standalone
exe, all serial ports give me an error 37 on the initialization and write.
I have tested this on several PCs/Notebooks, with reproducible results.

Any Insight would be helpful
Dave
Message 1 of 4
(2,016 Views)
Hello Dave

You probably don't have "serpdrv" in the same location as the .exe file you
built. Just copy the "serpdrv" file from the LabVIEW directory to the same
location as your exe.


--
Chuck Stewart

Dave Brooks wrote in message
news:382ec5df@newsgroups.ni.com...
>
> LabView 5.0.1 with Window95
>
> I am building a program to read data from the serial port. In the LabView
> development environment, the program works great! Once compiled to a
standalone
> exe, all serial ports give me an error 37 on the initialization and write.
> I have tested this on several PCs/Notebooks, with reproducible results.
>
> Any Insight would be helpful
> Dave
>
Message 2 of 4
(2,016 Views)
Thanks Chuck,

That did the trick. Is there a good source of documentation on the driver?

Dave

wrote:
>Hello Dave>>You probably don't have "serpdrv" in the same location as the
.exe file you>built. Just copy the "serpdrv" file from the LabVIEW directory
to the same>location as your exe.>>>-->Chuck Stewart>>Dave Brooks
wrote in message>news:382ec5df@newsgroups.ni.com...>>>> LabView 5.0.1 with
Window95>>>> I am building a program to read data from the serial port. In
the LabView>> development environment, the program works great! Once compiled
to a>standalone>> exe, all serial ports give me an error 37 on the initialization
and write.>> I have tested this on several PCs/Notebooks, with reproducible
r
esults.>>>> Any Insight would be helpful>> Dave>>>>
0 Kudos
Message 3 of 4
(2,016 Views)
Put a copy of serpdrv in the same directory as your executable.
Serpdrv can be found in your LabVIEW directory.

Alan Brause


Dave Brooks wrote in message
news:382ec5df@newsgroups.ni.com...
>
> LabView 5.0.1 with Window95
>
> I am building a program to read data from the serial port. In the LabView
> development environment, the program works great! Once compiled to a
standalone
> exe, all serial ports give me an error 37 on the initialization and write.
> I have tested this on several PCs/Notebooks, with reproducible results.
>
> Any Insight would be helpful
> Dave
>
0 Kudos
Message 4 of 4
(2,016 Views)