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!
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