Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Port not found after built into application

I built a small application using LabView 6 that uses
the serial port for comms with a hardware application.
When using LabView in development mode and running my
VI, I have no problem accessing the serial ports.
However, after using NI's Application builder on my
applications VI's to create a standalone application,
I can no longer access the serial ports. The error
response on execution is Error Code 37: Device not
found when writing to the port. Why would my
application find the serial ports in development mode
of LabView and not after it's converted to an
Application with the Application Builder? I'm doing
all development and executions on the same PC running
Windows 2k.
0 Kudos
Message 1 of 4
(3,759 Views)
Do you have the LabVIEW Run Time Engine installed on your PC?
It's a separate install from the development environment.


"SwRINDE" wrote in message
news:506500000008000000225F0000-1031838699000@exchange.ni.com...
> I built a small application using LabView 6 that uses
> the serial port for comms with a hardware application.
> When using LabView in development mode and running my
> VI, I have no problem accessing the serial ports.
> However, after using NI's Application builder on my
> applications VI's to create a standalone application,
> I can no longer access the serial ports. The error
> response on execution is Error Code 37: Device not
> found when writing to the port. Why would my
> application find the serial ports in development mode
> of
LabView and not after it's converted to an
> Application with the Application Builder? I'm doing
> all development and executions on the same PC running
> Windows 2k.
0 Kudos
Message 2 of 4
(3,759 Views)
It sounds like you are either not closing your serial port sessions or another application is already accessing your serial port. Close out any other programs(including LabVIEW) and make sure your code is closing out the serial session at the end.
Ray K
NI applications Engineer
0 Kudos
Message 3 of 4
(3,759 Views)
That was it. Thanks for your prompt support.
0 Kudos
Message 4 of 4
(3,759 Views)