Haiku Unit Event call URL

Ah, thanks. Stupid me. I told you it had to be something simple.

I had my original code almost exactly like you have here except for some reason I thought 'unit' was a number and not an object. I think I originally received some sort of error that sent me down that train of thought. Anyway, now that I realize it is an object life will be easier. I don't even need to specify unit 43. That was part of the bunny trail to narrow down possible errors.

Thanks

Joe
 
Thanks for all of the help. I wanted to show you what I am working on. I have attached a pic of my in-process iRule theater lighting control panel. Your function allowed me to dynamically adjust the 2 vertical bars that you see. Wherever I adjust the lighting from, whether it is from Haiku, the switch itself, or iRule the meters are automatically adjusted. It is working perfectly!!!

Thanks!!!

Joe
 

Attachments

  • Lighting-PageA.png
    Lighting-PageA.png
    78.6 KB · Views: 19
Cool. Are you sure you need a separate server for this though? I think iRule should be able to get the info from HaikuHelper directly.
 
Cool. Are you sure you need a separate server for this though? I think iRule should be able to get the info from HaikuHelper directly.

I do the level settings directly from iRule to HaikuHelper. But the bar updates I use a separate server. iRule does not currently have any kind of "gauge" control capabilities so I am faking it.

LOL, the only reason that I need separate servers is that I know vb script extremely well and struggle with jscript. :)

It is my own personal weaknesses. This all could definitely be done on my HaikuHelper server. I will probably move it over there once it is all developed.

Joe
 
Actually it is a total fake out. The controls that you see are actually URL widgets. They call a page that has a single celled table. The background image of that cell is the image of the bar with no neon filled in it. In that cell is an image that has the neon bar completely filled in. All I do is dynamically change the height of that filled in neon image based on the level set for the specific light that is passed as a parameter. Tada!!

probably doesn't make sense but it works though. :)

Joe
 
Back
Top