01-04-2011 07:32 AM
we have lookout 5.1 integrator license and we are doing all the modifications with this license. now we had purchased the lookout 6.5 run time server only. We want to use the CBL compiler to compile lookout 5.1 file to get the lookout6.5 file. we are able to convert the file with the CBL compiler and generated the l4p, L4t & LKA file also. there is no error in the error file generated by the CBL compiler. but we are not able to retain the value in the lookout 6.5 file and all the values are switched to default while restarting the process file. please suggest the solution to get reatined last values in this case.
Solved! Go to Solution.
01-05-2011 03:24 AM
01-07-2011 03:12 AM
By placing the old .l4t also it is not able to store the changes. please suggest.
01-09-2011 07:06 PM
Can you upload the 6.5 process file and the 5.1 l4t file to ftp://ftp.ni.com/incoming?
01-17-2011 03:10 AM
pls find the files at ftp://ftp.ni.com/incoming with the name process file.zip.
01-18-2011 12:50 AM
01-18-2011 01:04 AM
yes these are the lookout example file. it upload the values from the L4T but any changes made during the running of the process are resetes to the initial values after restart of lookout process.
02-22-2011 05:02 AM
dear Ryan,
waiting for the resolution of the said issue.
02-23-2011 09:48 PM - edited 02-23-2011 09:50 PM
I find a solution.
The problem is the database parameters in .lks file. Before you use cbl to compile the 5.1 .lks file, open it by notepad, you see
#dbasecomputer "xxxx"
#dbasepath "xxx"
You need to add two lines
#dbasename "xxxx"
#dbaselifespan "365.000000"
The database path and the database name can be the one configured in MAX, or it can be a new database with any name.
Without these two lines, the compiled .l4p file has the database name missing. When you open it, lookout will think of it as an error, then it will switch to the default database. But if anything is changed, it is a new process. A new process cannot be saved in Runtime only software, that's why the state file will not be saved after you close the process.
If your .lks file uses the default database, the codes look like below
#dbasecomputer "<default>"
#dbasepath "<default>"
#dbasename "<default>"
#dbaselifespan "365.000000"
02-24-2011 12:52 AM
Thanks for the solution.