Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 1st, 2024, 1:32 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Killer app I'd be happy to share...IF
PostPosted: June 5th, 2012, 2:25 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
...I could get it to work.

Very simple, but extremely useful emergency notification system. Perhaps not for all, but our facility is small and doesn't have a good way to notify the local area of an evacuation...which is a real possibility in our industrial area. We send a person to each building with an air horn, but that is inconsistent and not as straightforward and reliable as one might like.

It occurred to me that a simple Opus background app could be written that could be set off or cleared from any computer. I've attached it so perhaps someone can tell me what dumb mistake is keeping it from working.

I was able to remote trigger successfully yesterday by SOME convoluted method, but failed to save whilst ahead (always a dumb Opus mistake) and cannot get it to work now.

What makes no sense is that the all copies are the same, and monitor the same directory for the variable via a ticker. It doesn't seem like it could fail, and perhaps that's the reason I cannot see why it isn't working.

I can watch the filed deleted and restored as I toggle the evacuate button, and the local copy responds, and I can monitor the directory on another machine and see the file come and go...but the ticker on the remote machine never seems to see the change.

This could be a VERY useful app. Any help would be appreciated!

Dave

PS - Update...have the remote trigger working and was a command sequence error, more "beginner" than "dumb" error. However, now I am trying to fix the "cancel' function which isn't responding. I expect the issue to be similar. Attachmend is updated accordingly and I am working on it. If you find it first, let me know as I am LAZY. :-)


You do not have the required permissions to view the files attached to this post.

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 5th, 2012, 3:48 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Okies, I have a working example for download. Improvements gladly accepted as I am sure there are better ways to do this. Our facilities safety supervisor just previewed and is totally PSYCHED.

Now, I'll be testing thoroughly and then figuring out how to expand such that the entire facility (fabrication shop, warehouses, and rig up yards) can be toggled collectively or individually. That won't be hard.

Then, add X-10 or RS-232 relays to sound horns.

Dave

PS - I am sure most here would understand this when looking at the code, but just in case make sure you understand you must create the directories and change the mapped drive path to whatever you want for this to work. It DOES work, so if you have a problem it's likely one of those issues.


You do not have the required permissions to view the files attached to this post.

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 11th, 2012, 12:33 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi Dave,

Not sure if I'd trust my life to Opus but here are some ideas:

1. Store more data - such as the login name / machine name of the originating evacuate. This could be displayed on the other screen when the button is pressed thus alerting everybody to the source of the problem.

2. Hide the clear button until the evacuate button is pressed. Then you could either show it just on the station that triggered the alarm; and or log the data of the login / machine of the clear origin; and or include a master override.

3. Include a confirm button displayed when the evaluate is triggered. This would record user / machine / location where the confirm was pressed and alert others to which stations have not recognised the alarm.

4. Look at installing the program as a Windows service that restarts if terminated.

5. Look at a redundancy check that monitors the connection / active state. For example, have each client write back to the master file(s) every X minutes. The master program monitors changes and flags if a station is not up-dating data.

6. An INI or database would be better.



Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 11th, 2012, 4:28 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Thanks, Mackavi. I think all of your suggestions are excellent and will follow. As to trusting our lives to Opus it's more reliable than our current system of manual air horns...which remains if power or whatever fails. I am comfortable with it but several of your suggestions will make it even more reliable.

I have just paid for a pre-order for the Via APC board. Paul cautioned it might not have adequate power but the specs look more than adequate.

Anything in your list that would not be Opus Flash compatible aside from the Windows specific suggestions? While not a showstopper, as all freestanding computers here are running W7, I intend to use those Via APC on digital signage and want this to work there as well if possible.

That board is supposed to ship in July and I am anticipating it. One of my simple, but very useful sims, Refractometer, runs nicely on my Android phone and I don't anticipate anything more difficult than it for my digital signage app. AAMOF, I am thinking about beginning development of that app and using my phone to test while I wait. To be able to put up remotely addressable fully configurable signage at 150.00 or so per station is very exciting...

Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 11th, 2012, 4:59 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
It's been a long day, but did I miss something - Opus Flex?

I'm afraid your project is not Opus Flex compatible at all :-! No reading and writing of files :-! And unless you're running in from a web server, local Flash has security implications for posting web data.

Like the look of the APC - though with a bare bones Q6600 lying idle, I'm not sure I should buy another board :-)

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 11th, 2012, 7:10 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Maybe I am having a "duh....drool" moment, but I don't follow you. Variables, read from disk, and such are available in flash and I'm not seeing anything I am doing as being beyond that. The notify via email function is only invoked by the originating station and that will always be a regular PC.

Minds been on other things today and perhaps I'm just not focused.

Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 11th, 2012, 8:01 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi Dave,

Maybe we're crossing wires, but the publication you posted uses the 'storage' set of actions to read / write data to disk - these are not available to an Opus Flex publication. :-?

Mack


You do not have the required permissions to view the files attached to this post.

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 11th, 2012, 9:08 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Yes, sir. Now that you rub my nose in it I see what you mean.

However, the main purpose of the Android experiment is digital signage and "write to disk" isn't an absolute requirment there...though it would make things easier.

As to triggering an alert to an APC, I remain optimistic there is a way to do this. One need not be able to trigger an alert from one of these signs, just have it reflect the condition and then cancel. The write to disk option was just one I used because it was the most straightforward way I could find to change a local variable, though I do not consider it "elegant" by any stretch. Once I have the APC in hand perhaps I can learn a bit more about it. As it has ethernet it must be capable of of some communication that can trigger an action.

Seems they are on schedule...I rec'd a preorder link today and did so.

Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Last edited by Mallette on June 12th, 2012, 1:04 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 12th, 2012, 6:50 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Sorry 'bout the nose!

As it has an Ethernet connection, then you can try using Post Web Data to either use PHP to read / write server files or talk to a database.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 12th, 2012, 1:06 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Ah...I don't know anything about PHP but the talk to a database thing sounds promising.

Any reason Flex can't be set to watch a db and read from it on a change?
Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 12th, 2012, 7:32 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Yes, post web data would do that, though I've never had any call to use it with Flex, just Opus.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 12th, 2012, 7:40 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Sounds like the ticket. Will check it out when I have the time...

Thanks,
Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 12th, 2012, 7:46 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Database text input from remote PC to DB on network drive>text from DB to variables on Flex app>to formated text on running display

Is this viable?

I know it's simple, but so am I... :D.
Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 12th, 2012, 9:35 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
You'd need a web server with a PHP / mySQL database combination....

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: Re: Killer app I'd be happy to share...IF
PostPosted: June 13th, 2012, 12:42 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
If that's all, "POOF," its there... 8) Any other issues?
Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group