05-04-2009 05:41 PM
Hi all,
I'm using lookout 5.1. I'm trying to port the working files to 6.2. When the .lks file is opened and recompiled I get the following error.
..._scada.lks(29449): error: Variable value expected: '"Timer_sound_Lookout_alarm"'. I think I work around this some time in the past but all the alarms went silent. Any thoughts?
Solved! Go to Solution.
05-06-2009 01:23 AM
The error means a variable value is expected, however the "Timer_sound_Lookout_alarm" is not.
Could you upload your lks file to ftp://ftp.ni.com/incoming? It is not easy to specify how to troubleshoot this error.
05-06-2009 04:13 PM
Hi Ryan,
I uploaded the .lks file to your ftp site as norwell_scada_lks.zip
Thanks,
Jack M
05-06-2009 08:55 PM
Open the lks file in text editor, go to line 29449. Or you can search for "Timer_sound_Lookout_alarm" and you will find this line
Sound_controls\PlayWave_on_alarm= new PlayWave ("Timer_sound_Lookout_alarm",
Remove the double quotes. The Timer_sound_Lookout_alarm is a pulse object, which should not be in quotes.
05-07-2009 05:06 PM
Ryan,
Thank you, that solved the problem.
Jack M