From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-07-2006 08:56 PM
06-08-2006 02:44 PM
06-08-2006 08:17 PM
Hi Casey;
The XML Load Document is part of the XML ToolKit - that comes with the Internet Toolkit from NI. I'm not sure how I can post NI's toolkits here. They are available in the Toolkit CD (part of the Professional Suite). (I tried to get a screen shot in here - can't even do that!).
I'll attach a sample XML Doc I've created. It is created by parsing the LVPROJ file in order to find all the dynamic VI's. I'll build one based on a very simple demo project and attach it here. I was able to parse most of it by using the get tag method, but when I went to use the get value - that would always return a blank string - so I gave up, found an example using the internet toolkit - and off I went.
I do have a workaround (not too elegant) - I create a simple text file each time I write the XML file. I then read the txt file from within the EXE.
Thanks for looking into this. I did get a pointer from my excellent field engineer (Lesley Yu) who suggested I take a look at...
http://digital.ni.com/public.nsf/websearch/694A29DC644542BC86256E29007CCAC1?OpenDocument
This recommends I explicitly register the dll. I have not had a chance to try this. I did completely uninstall LV and re-install it. That wasn't it.
Thanks again,
fredb.
06-09-2006 10:28 AM
06-12-2006 01:39 PM
Casey!
I found your pointer to the build documentation. I think it is very easily translated to LV 8 - just a small matter of adding those files to the list of dynamic VI's and support files. I have not had a chance to try it, but am convinced that it will help, as the instructions specifically call for the dll's that the run time engine is complaigning about. I will try this, hopefully tonight - and will post again with a 'success' message.
Thanks for your help,
fredb.
06-12-2006 08:39 PM
Hi Casey;
Your recommendation was spot on. The only problem is that Help has not been updated for LV8 in this area. So, it has taken some amount of trial and error to figure out how to perform the equivalent steps using the LVPROJ build settings.
Although I don't have my application totally happy - I'm pretty sure it is caused by pilot error. I believe the original problem I had is resolved.
For those of you reading this, in case you too are not an lvproj build expert, here is what you are going to have to do (this after you read the second item after searching for help on DOM as recommended by Casey)
1. Add the 4 files (rc, rch, and the two dlls to your project.
2. Open up the properties page of your build.
3. Move the 4 files from your project to the build and support files pane (in the source files tab).
4. Define two new destinations (resource and dom - specifying the corresponding paths) - (in the destinations tab)
5. Go to the Source File Settings tab, select each of the four files, and specify the destination for each.
6. Save everything, then build. Best of luck.