Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling error

Solved!
Go to solution

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?

0 Kudos
Message 1 of 5
(6,411 Views)

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.

Ryan Shi
National Instruments
0 Kudos
Message 2 of 5
(6,395 Views)

Hi Ryan,

 

I uploaded the .lks file to your ftp site as norwell_scada_lks.zip

 

Thanks,

 

Jack M

0 Kudos
Message 3 of 5
(6,372 Views)

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.

Ryan Shi
National Instruments
0 Kudos
Message 4 of 5
(6,362 Views)
Solution
Accepted by topic author jmcinnisjr

Ryan,

 

Thank you, that solved the problem.

 

Jack M

0 Kudos
Message 5 of 5
(6,349 Views)