04-30-2009 02:37 PM
I'm not really quite sure why, but when I compile this basic RS232 program, it no longer works. It runs fine in the actual LabView block diagram/front panel. Does anyone have any suggestions?
Thanks
Solved! Go to Solution.
04-30-2009 02:43 PM
Could you be a little more specific? Just saying 'it does not work' is pretty vague.
At the minimum, you need to have included the LabVIEW and VISA runtimes in your installer. Did you do that?
04-30-2009 02:57 PM
04-30-2009 02:58 PM
04-30-2009 02:58 PM
04-30-2009 03:07 PM - edited 04-30-2009 03:08 PM
I have no idea what relative file paths have to do with the problem either.![]()
Did you look up the error? It indicates that something else is already using the port. Make sure LabVIEW/Hyperterminal/etc. is closed.
I'm also assuming that the error happens on the development pc.
04-30-2009 03:16 PM
Hi,
there are no relative paths in the vi.
But there are several hidden buttons (some of them using the same label). Maybe they aren't set correctly when compiling the vi to an executable?
How do you want to control the executable when the buttons are hidden?
04-30-2009 03:18 PM - edited 04-30-2009 03:26 PM
I brought up relative paths, because elative paths don't point to the same things in dev mode and in builds. And accessing a file that does not exist causes an error.
At the time I posted my message I had no other info to go on. Mostly because I didn't notice he posted the VI...
04-30-2009 03:36 PM
04-30-2009 03:38 PM