Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

LookoutDirect crashes when trying to open older .lks file

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"

First_Error_Popup.jpg


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.

Second_Error_Popup.jpg

Details:

Third_Error_Popup.jpg

 

Finally I get a message that says "Cannot open specified file!"

Fourth_Error_Popup.jpg

 

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

0 Kudos
Message 1 of 17
(7,116 Views)

What version is the original project?  

If you open the LKS files in Notepad it has header comments and version information.

 

Mike

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 2 of 17
(7,108 Views)

The original file was created in Lookout version 4.0.1 (build 51)

0 Kudos
Message 3 of 17
(7,103 Views)

Try creating a simple project in Lookout 4.0 with panels, push buttons and switches.  Then attempt to compile ont eh new machine.

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 4 of 17
(7,101 Views)

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.

0 Kudos
Message 5 of 17
(7,098 Views)

That can complicate things Smiley Wink

 

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

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 6 of 17
(7,095 Views)

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

 

0 Kudos
Message 7 of 17
(7,089 Views)

Is DirectSOFT and the DL Plus driver installed on the new machine? 

-----------------------------------------------------------------------
Forshock - Consult.Develop.Solve.
0 Kudos
Message 8 of 17
(7,087 Views)

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.

0 Kudos
Message 9 of 17
(7,085 Views)

I installed DirectSoft. But not DL Plus. I'll try installing it now.

0 Kudos
Message 10 of 17
(7,083 Views)