LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

failure window.cpp line 2039

When I run my "Application.exe", I get the Failure "Window.cpp",line5195, if "VISA Serial confiure serial port","VISA write" and "VISA close" are used.
I do not get any failure if I use "Serial Port Init, Write and close".
I do not get any failure if I run i debug in LabVIEW.
Thanks!
0 Kudos
Message 1 of 3
(2,528 Views)
What version of LabVIEW, type of computer, and OS are you using?
0 Kudos
Message 2 of 3
(2,528 Views)
Lei,

I searched through our database and could not find anything resembling your issue. There are a few questions I have that may lead you to a resolution:
Are you running your built application on a different machine? Does that machine have the VISA Run-Time Engine installed?
What version of LabVIEW are you using? What version of VISA are you using? Can you build any of the serial shipping examples into an executable with the same issues?

Let us know what you find out.

Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 3 of 3
(2,528 Views)