Virtual Device Not Showing in Online Tree
tspoe
Posts: 32
Hello,
I am hopeful that someone can point out what I am missing. I'm incorporating our new switch into our current build but for some reason all of the other devices show up in my online tree except for my switch. I have narrowed down the problem and it appears to be related to the UI file that was created for the virtual device. What's really odd is that I removed all of the code from the UI file except for the "Module_Name" and the variables being passed to the file and still no virtual device in my online tree. I have attached a simplified version of my files to show only the sections that are related to the switch. Please let me know what I'm missing. I keept thinking it's a filename/variable name spelling error but I would've gotten an eror when building my workspace. I'm not getting any errors returned tho.
Thanks for your help!
T
I am hopeful that someone can point out what I am missing. I'm incorporating our new switch into our current build but for some reason all of the other devices show up in my online tree except for my switch. I have narrowed down the problem and it appears to be related to the UI file that was created for the virtual device. What's really odd is that I removed all of the code from the UI file except for the "Module_Name" and the variables being passed to the file and still no virtual device in my online tree. I have attached a simplified version of my files to show only the sections that are related to the switch. Please let me know what I'm missing. I keept thinking it's a filename/variable name spelling error but I would've gotten an eror when building my workspace. I'm not getting any errors returned tho.
Thanks for your help!
T
0
Comments
And I forgot to add a file to the .zip that I attached...it's just the file with the variable definitions that are being passed to the UI file. New .zip attached.
Have you run what you've posed? And if so, have you reviewed the diagnostics? Does anything stand out? Feel free to post them them here (or to Pastebin as it'll probably be in the couple hundred lines.)
I have managed to get the virtual device to show up...I'm not sure why, but when I created a new workspace and copied/pasted the code into new files I've been able to see my virtual devices. The workspace we're working on is currently in use...we just need to update it with the new equipment (one being a new AMX Switch...the old was is an Extron). So far so good...now it's hit or miss if I get channels 251 and 252 turned on. Sometimes when I 'REINIT' via Control a Device the channels turn on, but other times not. Do you have any idea why this is happening? Here are my Property settings:
Thanks for your help!!!
T
My suggestion would be to add in the 30 second wait in your code and see if things are happy.
I doubt this is your problem but it is possible, if you are worknig on a program that is not the master, define a virtual device, compile and upload then you have just re-uploaded another program which didn't have the virtual device defined. This can easily happen after many hours of code tunnel vision and losing track of versioning.
Thanks for the heads up. We are only working with one master so and I keep reloading the same code so I don't think that's the problem...unless I'm not understanding what you're saying?
Is there anything that I might not have configured correctly to cause my channels to not turn on? I can see the commands being sent in the Notifications window and I can make ties using the front panel, just not using the touch panel. So frustrating! What's weird is that they turn on sometimes (rarely tho), or else I'll just get channel 251, or none at all.
If you have another processor available then try it with that to see if it is processor specific.
Maybe something else that is connected to the processor is flooding it on boot causing the interpreter to overflow.
Try disconnecting everything except the Autopatch and the touch panel.
Make sure the only other devices on the network are the touch panel and your PC.
Check the buffers (telnet commands "show buffers" and "show max buffers") to see if there is anything getting carried away.
Does anything jump out at you?
Thanks for your help!!
T
Thoughts anyone?
Thanks for your help!!
T
I saw this issue with the old firmware. I could do a show mem command and everything would look normal. Then, I would do a set duet command and change the amount of memory allocated for duet and do a show mem command again, and the allocated memory would be 0 and the 2 partitions wouldn't show anything. Anyway, I don't think that is the issue here, given the screen shot he posted.