‎06-19-2012 03:05 PM - edited ‎06-19-2012 03:06 PM
Recently I imported a set of VI's into a Labview project (.LVPROJ file). Now when I open and run the main VI from within the project my code that generates a signal using DAQ-MX vi's is broken (see error dialog below). Yet when I run the same VI from outside the project the VI works as expected.
Any ideas what is going on here?
Solved! Go to Solution.
‎06-19-2012 03:38 PM
Your error could probably be fixed following the instructions @ Why Do I Get Error 200378 When Running a Stand Alone Application?
‎06-19-2012 04:22 PM
Thanks for finding that article. Following the advice on the page why do I get Error 200378, I added a custom scale to the project but then my app fails to run with the error -200356 cannot create scale because my VI creates the scale programmtically using "DAQmx Create Scale.vi". So, I don't think that helps.
‎06-19-2012 04:33 PM
you need to modify the existing scale and overwrite it since you cannot create a scale with the same name
Here is a link to an example that shows how to open an existing scale and modify it:
Developer Zone Example: Change DAQmx scales in LabVIEW and save the changed scales to MAX
Please let me know if it works
‎06-19-2012 04:38 PM - edited ‎06-19-2012 04:44 PM
I guess I will give up on using projects except when I need to have to VI's with the same name open at the same time. One odd thing is that if I run the VI outside of a project close it then open the project and rerun the VI the error dissappears?!
Anyawy, thanks you for your help.