sassos Posted December 21, 2010 Report Share Posted December 21, 2010 Hi all, I'm trying compiling a VI in Labview 7.1 selecting option "Single target file containing all VIs". The process ends correctly, but when I try to execute the .exe (from runtime folder) it asks me where to find the ReadTreaces(numeric).vi (it is a polymorphic vi). How do I can fix that? Thanks! Quote Link to comment
jgcode Posted December 22, 2010 Report Share Posted December 22, 2010 Hey Sassos - is that a DSC vi (I haven't used DSC in 7.1)? I lodged CAR # 243120 for a missing polymorphic in Open Traces.vi. You can read about it here - its the second issue I raised in the thread - about mid-way down. Anyways the workaround was to link the actual VI in the code and remove any calls to the polymorphic VI. Hope that helps? Cheers -JG Quote Link to comment
sassos Posted December 22, 2010 Author Report Share Posted December 22, 2010 First of all thanks for the answer! Then, yes, I'm trying to export some data from a Citadel DB and the VI will work on a machine with the labview runtime...and how can I link the VI? I noticed that in the "VI setting" tab (in the Build Application windows) I can find any VI utilized in the top level VI but the Read Traces.vi is absent. Furthermore, if at the end of the building process I run the exe and then insert the missing's VI path, it asks me for other stuff in the historical library... Bye. -sassos. Hey Sassos - is that a DSC vi (I haven't used DSC in 7.1)? I lodged CAR # 243120 for a missing polymorphic in Open Traces.vi. You can read about it here - its the second issue I raised in the thread - about mid-way down. Anyways the workaround was to link the actual VI in the code and remove any calls to the polymorphic VI. Hope that helps? Cheers -JG Quote Link to comment
jgcode Posted December 22, 2010 Report Share Posted December 22, 2010 .and how can I link the VI? Hi Sassos I mean that: in your source code, instead of using the Polymorphic VI [i.e. Read Traces.vi], use the Polymorphic Member VI [i.e. Read Traces (numeric).vi] instead. Quote Link to comment
sassos Posted December 22, 2010 Author Report Share Posted December 22, 2010 Already done, but trying that I received errors connecting data in input. Hi Sassos I mean that: in your source code, instead of using the Polymorphic VI [i.e. Read Traces.vi], use the Polymorphic Member VI [i.e. Read Traces (numeric).vi] instead. Quote Link to comment
sassos Posted January 5, 2011 Author Report Share Posted January 5, 2011 Problem solved. With the DSC Run-Time System on the target PC it works fine. Bye! 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.