jackv7152 Posted March 14, 2006 Report Share Posted March 14, 2006 I alawys creat a instraller under LV7,but now i must creat a instraller under LV8.but i cann't find a option which can creat a instraller :headbang: I find the warn"Polymorphic VIs cannot be used as Startup/Exported or Dynamic VIs for applications or shared libraries.D:\Program Files\National Instruments\lv8\LabVIEW 8.0\user.lib\ADO-Tool.llb\ADOTool_DB Variant to Data.vi"when i build a .exe file.how can i resolve the program. Quote Link to comment
i2dx Posted March 14, 2006 Report Share Posted March 14, 2006 I find the warn"Polymorphic VIs cannot be used as Startup/Exported or Dynamic VIs for applications or shared libraries.D:\Program Files\National Instruments\lv8\LabVIEW 8.0\user.lib\ADO-Tool.llb\ADOTool_DB Variant to Data.vi"when i build a .exe file.how can i resolve the program. I don't think it's a problem with the ADO-Toolkit itself. As far as I understand the warning, you try to use a polymorphic VI as startup VI. And especially using DB Variant to Data.vi as startup VI makes absolutely no sense to me. Maybe there is an error in your buildscrpit? I am allmost sure, you do not want to use that VI as startup VI, or I am on the wrong track. Quote Link to comment
jackv7152 Posted March 14, 2006 Author Report Share Posted March 14, 2006 i didn't use it as a startup vi,i don't know how can i post the image of my operation,so i can only post it on http://pp.sohu.com/viewphoto.jhtml?id=1276728 ;because i am stranger to lv8 bulider ,maybe i operate wrong ,please point out my mistake. Best wish. Quote Link to comment
i2dx Posted March 14, 2006 Report Share Posted March 14, 2006 remove all the VIs in "dynamic VIs and Support VIs", except this ones, you call via VI-Server during Runtime. The subVIs of the MainVI are included automatically to the executable. As the warning tells you, you can't include a polymorpic VI as a dynamic VI, because LV needs to know which instance to call. The polymorpic VI itself is a "empty hull" ... Quote Link to comment
jackv7152 Posted March 15, 2006 Author Report Share Posted March 15, 2006 danke. :laugh: My english is poor,german is poorer Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.