Noobie needs help, friends!
mex_lithuania
Posts: 31
Can't copy an example of my code, because I'm using hotels pc, but still hope you could help me.
How to change the color of button by clicking on it?
I have something like this:
button_event
push{ send_comand [actual comand to cd player]
send_comand [touchpannel] ^btSomethin-0.50,0,color
}
still not working
also how to track from netlinx is my panel 5200 is on. I need to turn all devices on, then the pannel is turned on.
Thanks a lot!
How to change the color of button by clicking on it?
I have something like this:
button_event
push{ send_comand [actual comand to cd player]
send_comand [touchpannel] ^btSomethin-0.50,0,color
}
still not working
also how to track from netlinx is my panel 5200 is on. I need to turn all devices on, then the pannel is turned on.
Thanks a lot!
0
Comments
You can tell if a panel is online or offline by monitoring the DATA event for the touch panel.
You can?t turn a panel on or off from code other than sending it a reboot command.
HTH
Now I see where my silly mistake was - I messed address code with channel code.
1. How to reboot NI(3100) master using netlinx code? [command_send /netlinx/, "reboot"] did nothing
2. How to disable 5200i panel menu while connection to netlinx master is off? For example I want to output message "please wait, connecting..." and when connection is established - let user to use touch buttons.
3. How to check netlinx master buffer and processor usage? I used some comands by telnet from "help", but it always output me same 86% processor usage. Any other perfomance monitoring tricks?
4. How to output low battery warning message using only tp4 programming?
Best regards
2) You can’t stop a user from touching any buttons on the panel when a connection to the Netlinx master isn’t established. There are several ways to notify the user. One is to take a copy of the connection status button from the system template page in TP4 and put it in your pages, however, that only updates every 3 seconds or so. A simple way is to have a button which has an off state that informs the user there is no connection and have the on state display a valid connection. Then just turn the button on in mainline.
3) I’m not sure how helpful that CPU usage command is but if you are always getting 86% that sounds awfully high. You can get a good idea of what’s going on if you monitor Notifications and Diagnostics in NS3. If you telnet in you can do a msg on to see any runtime errors or other messages and you can do a show max buffers which will indicate the high water mark and show buffers which will show the current levels. You can also look at the input and output lights on the Netlinx master, if they are always on solid that’s usually not a good thing.
4) Again the system template page is your friend. Take a copy of the battery stuff and paste it into your pages. You can take anything in the setup pages and use those buttons in your own pages. Feel free to change the look and feel to match your interface, just leave the address/channel/level codes as is.
HTH
I tried to copy battery and connection indication from system template page, but it did not worked on my pages, even I did not any changes in indicators properties.
Just wondering if anyone has had any experience working with Akira monitors. I've got 4 of the 70" going in an install and need a lil help....thx