LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

With controler, My_Serial.exe don't work, but with constant, it does.

I am using 6i on a system with windows2000. When I build serial interface application with a controler, it will not open, I receive a windows type error and windows closes my program(See other post). However, if I create it with a constant, it will run. The problem is, I may want a different Com port on different machines. My temp fix is that I have a case structure with com 1, and com 2 with a boolean control. I would rather have it with a controler showing all options available. Anyone have any ideas?
Thanks!!
0 Kudos
Message 1 of 6
(2,938 Views)
It is a bit unclear what is going on here. Would it be possible for you to strip down and post an example VI. One of the folks here could probably cut right to it. I'll check it out as soon as I see it. It may have something to do with VISA aliases. Make sure you can detect the serial ports with MAX before running our app.

Dan Press
www.primetest.com
0 Kudos
Message 2 of 6
(2,938 Views)
Have you updated to LabVIEW 6.0.2 yet? I believe there was an issue displaying VISA controls on built 6i applications.

See the following link to for info:
http://digital.ni.com/softlib.nsf/954feaeea92d90918625674b00658b83/f983bda17b8f401b862569ec005a11c2?OpenDocument&Highlight=0,labview,6.0.2

Make sure you update to run-time engine as well.

Hope this helps.

Brian
0 Kudos
Message 3 of 6
(2,938 Views)
Attached are copies of what works when built as an app, and what doesn't. Thanks for any help!
Download All
0 Kudos
Message 4 of 6
(2,938 Views)
My 6i disc say that 6.0.2 is included.
0 Kudos
Message 5 of 6
(2,938 Views)
Are you running this on your development machine or another? If its another you must make sure that it has the 6.0.2 run-time engine installed and not 6.0
0 Kudos
Message 6 of 6
(2,938 Views)