06-08-2009 03:10 AM
There are 60 XControls on front panel.I get their reference by a subvi and then output their label text by property node.It's ok when vi run in labview 8.5 IDE.Then I build the program to exe file.The refrence is invalid when I run the exe file .So what's wrong about the exe file?
Thanks!
06-08-2009 08:49 PM
06-08-2009 10:19 PM
Did you include your Xcontrol when creating exe? If you did, where did you include it? In the Startup VIs or Always included?
And, How do you get the Xcontrol's reference? Could you attach your Code?
06-08-2009 10:52 PM
I hava sloved my problem .The problem occured when a common reference translated into special reference .Jsut like the image:
When running the exe file,CargoBlock reference is invalid.But I change the method that gets CargoBlock reference ,as follows:
The problem disappears...
06-08-2009 11:01 PM
06-09-2009 12:13 AM
06-09-2009 02:05 AM
06-09-2009 04:04 AM
Hi,tst
I don't understand your thought.Could you say it in detail?
06-09-2009 04:31 AM
06-09-2009 04:58 AM
Thanks for your advice.
I'll talk with them.