Netlinx Diagnostics and text searching
Spannertech
Junior Member
Had a day yesterday where I all but gave up trusting Notifications . Very frustrating. Does anyone else ever use it? I was literally seeing *some* button presses reported but not others. For some reason it often reported button 1001 as being pressed, and I didn't even have a button 1001. With strings to and from selected for all devices, I still wasn't seeing everything, but then if I added a line to watch strings to and from a particular device, suddenly they'd appear. Why can't this be fixed? And why can't you watch strings to/from IP devices? I was in a situation where I couldn't watch the front of the NXI to see rx and tx activity, and realized how limiting this was - unable to trust this diagnostic tool at all. Grrrrrr.
Also, when are they going to fix text searching?? The latest NS release still has the same problem. It fails to find anything the first time more than half the time. Close the box and do the search again and suddenly it finds stuff. If you inherit someone else's work, the ONLY way to trace what a particular button does is knowing the channel number, then searching for instances of it (and you can't look for [TP,x] because x might already be declared within a button array). Those of us who also work on the other side know the power of F2.
OP
Also, when are they going to fix text searching?? The latest NS release still has the same problem. It fails to find anything the first time more than half the time. Close the box and do the search again and suddenly it finds stuff. If you inherit someone else's work, the ONLY way to trace what a particular button does is knowing the channel number, then searching for instances of it (and you can't look for [TP,x] because x might already be declared within a button array). Those of us who also work on the other side know the power of F2.
OP
Comments
-
Whereas I haven't experienced most of the stuff you mentioned, I second your comment on not being able to watch strings on IP ports. That would really help a lot.
-
I use device notifications, but only in a few limited circumstances. Mostly, I use it to get a general idea of system traffic, or to see if a particular device is responding real time. It's generally more useful to create a debug handler of some sort. Set a flag, and send messages to the terminal (device 0) if the flag is on. Then intersperse your code with calls to the debug function when key operations are taking place. This, combined with variable watching, can be a very powerful troubleshooting tool. Another advantage of this is that if you are logging messages, you can get a history of events that are sending these debug messages as well.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums