Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Which object is Lookout polling?

Is there a way to find out which object Lookout is currently polling? I have several (30 or so) Modbus serial objects in a Panel, and each object is a different RTU. Is there a way to find out which Object it is currently polling?
 
Also.. Is there any way to parse the $alarm.message or the $alarm.process at all? I am looking for a way to email the message, but have it not be quite so technical. I may be able to do it with tags, but i'm not sure if i'm not doing something correct, or if it is not working correct.
 
 
 
 
Thanks
0 Kudos
Message 1 of 9
(6,734 Views)
The Update data member will do the trick.  It behaves 'backwards' from what you would expect.  It goes low when the modbus object is polled and goes (and remains) high when the remote devise responds.
0 Kudos
Message 2 of 9
(6,730 Views)
What do you mean by "parse $alarm.message"?
When an alarm is generated, $alarm.update goes high, and $alarm.message is the current alarm's message.
Ryan Shi
National Instruments
0 Kudos
Message 3 of 9
(6,722 Views)
The $alarm.process is set up in such a way that is calls the entire path.. What if I just wanted to pull out the last item in the path name? Can I do that?
0 Kudos
Message 4 of 9
(6,717 Views)
I see $alarm.process is just the process name, not a path.  Does the alarm occur in a remote process? 
Ryan Shi
National Instruments
0 Kudos
Message 5 of 9
(6,701 Views)

Hi Ryan.. You are correct. It is the process name (back to Terminolgy 101!!). What I am getting when I look at it is \\Radioalarm\Server_Alarm_System\Modbus\Fancher.   Is there a way to strip out "Fancher" from that string? It is the object name if that makes it any easier.

This way I can have my mailer send "Fancher has a Door Alarm"

The next step to this, is when I put in a description in the Data Member configuration, it has an edit box for ON and OFF. Is there a way to use these in the mailer object, too? So if the ON box said "SECURE" and the OFF box said "INTRUDER", the end result of the mailer would be "Fancher has a Door Alarm - INTRUDER"....

 

Or at least something to that affect?!

0 Kudos
Message 6 of 9
(6,648 Views)
 


Message Edited by Ryan.S on 02-08-2008 12:18 AM
Ryan Shi
National Instruments
0 Kudos
Message 7 of 9
(6,526 Views)
With the Lookout function, I can't get "Fancher" from the string in an easy way.
One possible way is to search for "\" and get the right part, then search for "\" again... assume that there are 3 "\". This can be done easily by C codes, but complicated in Lookout.
I will see if we can add a new function to Lookout.
 
Ryan Shi
National Instruments
0 Kudos
Message 8 of 9
(6,525 Views)
Wouldnt be hard, jsut add a new option to the find (string1,string2,start,[count])
Mike Crabtree - Lead Developer
Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
(866) 964-6948 / (760) 247-9512
0 Kudos
Message 9 of 9
(6,509 Views)