Possible corrupted file?
adcantrell
Posts: 24
to keep it short, my IR file thats mapped to port 13 of my ni-3100 is now firing on every button push from every panel. but somehow but does not control the actual device its meant for anymore.
it worked fine for months. what gives?
it worked fine for months. what gives?
0
Comments
I would do a clean disk and load everything again and see what happens. That's a weird one.
Paul
If not, what device are you controlling?
For the IR port to fire on every TP/port/button push I would say the fault would lay with the master or TP or code unless the code hasn't changed. I would start with the TP and first make sure different ports are firing and not just the same port on every page that should be a different port are indeed different ports.
When something like this happens to me, I always suspect the emitter first. More often than not, it's one of those hair-thin leads that has been crimped or shaved and fails over time. I have also seen seasonal issues, where the angle of the sun coming in a nearby window might drown out the IR some times of the year, but not others.
when i did this did this problem went away and ALL the sources worked great with NO doubling of the IR outputs.
so i THOUGHT that this must have been the problem. HOWEVER when I loaded the RTI code back in to reinstate the problem, it never returned all sources work fine.
so at this point im back where i started with the original EVERYTHING but without the problem. wow WTH?!
Well we don't like to talk about this much but some times AMX equipment ships with out first removing the gremlins used inside the equipment during the manufacturing process. When out in the field these gremlins can lay dormant for months or even years but when they wake they make the systems do all sorts of crazy things and then they just stop, return to sleep and the system runs normal. Often these gremlins never wake again. It is bizarre and I often forget about them when weird crap starts to happen but eventually I'll remember and realize it was probably just one of them that briefly wroke up, had its little bit of fun at my expense and then went back to sleep with an evil little smile on its face.
I know recently I've included an include file into my system made some minor modification and then notice all kinds of weird crap happening and of course alot of stuff that should happen wasn't. I looked through the code and sure enough I noticed a compiler directive "#IF_DEFINED" or maybe not_defined was placed at the begining of my define section and there wasn't a follow up "#END_IF". Well if you know how they work you'd know that when the code was being compiled at that point where this code was included and the compiler ran into that directive it stopped compiling any code from that point after. Maybe you're doing something equally as stupid.
Does the majority of the system still work or does it stop when you try to do system events that use this section of code?
I doubt it. The controller portion with the IR ports, etc., has it's own memory that is separate from the master which holds the code. You load IR files to the controller, to the ports themselves. There is no relation to the master's memory
That explains it. Using 0 for a channel number is the wildcard for "any channel."