11-30-2012 08:26 AM
I am providing a new WinXP Pro SP3 PC with LookoutDirect v4.5.1 (build19) to upgrade/replace and older lookout system at a water treatment plant.
Being my first Lookout system I worked through the tutorials and everything worked great.
I then tried to open the .l4p file that I had copied from the existing system.
Lookout gave a message stating "The file C:\....l4p was created by an older version of Lookout. Please recompile it by opening the source file....lks"
I then try to open the existing .lks file and Lookout crashes. I get the standard Windows "Send Error Report" screen. The details say that the crashed Application is cbl.exe.
Details:
Finally I get a message that says "Cannot open specified file!"
Is there any way to repair the file? It may be possible that the existing system was NI Lookout and not LookoutDirect. Does anyone know if there is a restore path for the project?
Is it possible that I didn't correctly back up the existing project?
Thanks!
Nick
12-03-2012 01:38 PM
What version is the original project?
If you open the LKS files in Notepad it has header comments and version information.
Mike
12-03-2012 02:11 PM
The original file was created in Lookout version 4.0.1 (build 51)
12-03-2012 02:14 PM
Try creating a simple project in Lookout 4.0 with panels, push buttons and switches. Then attempt to compile ont eh new machine.
12-03-2012 02:26 PM
Unfortunately, I don't have Lookout 4 available to me. The existing machine is still in service at the moment and on site 2.5 hours away.
The new machine that we're supplying is using Lookout Direct version 4.5.1.19
Thanks for the suggestion though.
12-03-2012 02:31 PM
That can complicate things ![]()
I only have back to Lookout 5.1 in my library. However, a few examples on NI are for Lookout 4.0:
http://zone.ni.com/devzone/cda/epd/p/id/3811
http://zone.ni.com/devzone/cda/epd/p/id/4225
http://zone.ni.com/devzone/cda/epd/p/id/3978
http://zone.ni.com/devzone/cda/epd/p/id/4212
12-03-2012 02:49 PM
I tried the "average_example" file.
When I tried to open the process file .l4p it once again told me it was from an older version.
However, when I tried to open the source file .lks it recompiled and started running flawlessly.
There must be something in my original file that is either not compatible with Lookout Direct or is corrupt.
How would I go about debugging my old source file without having Lookout 4?
I know that they're currently running this project on site right now so I think it should run on Lookout 4.
Thanks!
Nick
12-03-2012 02:52 PM
Is DirectSOFT and the DL Plus driver installed on the new machine?
12-03-2012 02:56 PM
The PID and Trend examples would not compile because there were missing Classes. Prehaps those objects are not supported in Lookout Direct?
It did not crash the software like my old source file though, just error in compile and gave me a Compile Errors log window.
12-03-2012 02:56 PM
I installed DirectSoft. But not DL Plus. I'll try installing it now.