JCB wrote:
I tweaked the code in an attempt to properly clean up resources. Could you please test this version and see if everything continues to work OK?
Works great!! Thanks again!!
To close the loop, the controller is now in the latest developer Vixen build. It will also be back in this year's official release.
JCB wrote:
To close the loop, the controller is now in the latest developer Vixen build. It will also be back in this year's official release.
Something has gone amiss with the latest 3.11.0/.1 builds.... the plugin has stopped working. Can you check to make sure the correct code got integrated?
Thanks!
dononeil wrote:
Something has gone amiss with the latest 3.11.0/.1 builds.... the plugin has stopped working. Can you check to make sure the correct code got integrated?Thanks!
I also tried going back to 3.10 where we did the original testing, but it's not working their either. Did MS perhaps update something that broke it? I tried setting the firewall rules so that everything can reach the device. Vixen 2.1 still works great, so it looks like I'm back to using that for now.
Thanks!
Is controllers available in 3.11 but it is just not working for you?
Is there anything of interest in the Vixen logs?
Unfortunately no... nada... Not even a mention of the plugin/controller starting, etc.... I was going to do a network capture with WireShark to see if there is actually even any network traffic being generated. I'll report back here once I've done it.
Ultimately I wonder if this is related to bugs in the latest version, and not the controller itself. I've noticed that importing sequences from older versions sometimes results in the sequence itself not doing anything (no output of any kind), and sometimes the channel mapping gets messed up.
I also noticed that MS just released another .NET patch this week, so maybe it's related to a .NET bug?
Is there anything at all in the Vixen warn log. When I load the latest Dev version up and add one of those controllers it immediately starts emitting can't find hardware entries to the Warn log giving at least the indication it is trying to work. Looks like when I hit Test it hard crashes, so there is some sort of issue there. Not sure if that has been there or a symptom of me not having any hardware to make it work. I logged that as a bug since it should not crash even if I don't have one of the devices.
jeffu231 wrote:
Is there anything at all in the Vixen warn log. When I load the latest Dev version up and add one of those controllers it immediately starts emitting can't find hardware entries to the Warn log giving at least the indication it is trying to work. Looks like when I hit Test it hard crashes, so there is some sort of issue there. Not sure if that has been there or a symptom of me not having any hardware to make it work. I logged that as a bug since it should not crash even if I don't have one of the devices.
So I decided to do a fresh install on a machine that didn't have anything on it before. I set up the display and controller from scratch, and a simple test sequence stepping through the outputs and it works. So, this appears like maybe it's related to other bugs in Vixen and not specifically the controller.
There was nothing in the warn log, but the error log has this:
12/18/2024 10:47:35.194 [Vixen.Sys.Managers.OutputDeviceExecution`1] Error trying to stop device Elexol Ethernet I/O 24 System.InvalidOperationException: The operation is not allowed on non-connected sockets.
at System.Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at VixenModules.Output.ElexolEtherIO.ElexolEtherIOModule.CloseConnection() in D:\a\Vixen\Vixen\src\Vixen.Modules\Controller\ElexolEtherIO\ElexolEtherIOModule.cs:line 151
at VixenModules.Output.ElexolEtherIO.ElexolEtherIOModule.Stop() in D:\a\Vixen\Vixen\src\Vixen.Modules\Controller\ElexolEtherIO\ElexolEtherIOModule.cs:line 94
at Vixen.Sys.Output.BasicOutputModuleExecutionControl._Stop() in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Output\BasicOutputModuleExecutionControl.cs:line 57
at Vixen.Sys.Output.BasicOutputModuleExecutionControl.Stop() in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Output\BasicOutputModuleExecutionControl.cs:line 24
at Vixen.Sys.Output.OutputController.Stop() in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Output\OutputController.cs:line 192
at Vixen.Sys.Managers.HardwareUpdateThread.Stop() in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Managers\HardwareUpdateThread.cs:line 58
at Vixen.Sys.Managers.OutputDeviceExecution`1._StopDevice(T outputDevice) in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Managers\OutputDeviceExecution.cs:line 228
at Vixen.Sys.Managers.OutputDeviceExecution`1._Stop(T outputDevice) in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Managers\OutputDeviceExecution.cs:line 134 at System.Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes)
at VixenModules.Output.ElexolEtherIO.ElexolEtherIOModule.CloseConnection() in D:\a\Vixen\Vixen\src\Vixen.Modules\Controller\ElexolEtherIO\ElexolEtherIOModule.cs:line 151
at VixenModules.Output.ElexolEtherIO.ElexolEtherIOModule.Stop() in D:\a\Vixen\Vixen\src\Vixen.Modules\Controller\ElexolEtherIO\ElexolEtherIOModule.cs:line 94
at Vixen.Sys.Output.BasicOutputModuleExecutionControl._Stop() in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Output\BasicOutputModuleExecutionControl.cs:line 57
at Vixen.Sys.Output.BasicOutputModuleExecutionControl.Stop() in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Output\BasicOutputModuleExecutionControl.cs:line 24
at Vixen.Sys.Output.OutputController.Stop() in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Output\OutputController.cs:line 192
at Vixen.Sys.Managers.HardwareUpdateThread.Stop() in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Managers\HardwareUpdateThread.cs:line 58
at Vixen.Sys.Managers.OutputDeviceExecution`1._StopDevice(T outputDevice) in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Managers\OutputDeviceExecution.cs:line 228
at Vixen.Sys.Managers.OutputDeviceExecution`1._Stop(T outputDevice) in D:\a\Vixen\Vixen\src\Vixen.Core\Sys\Managers\OutputDeviceExecution.cs:line 134
I'd be happy to send you a module to make your testing easier if it helps. I have a couple spares.
That certainly looks like it is trying to close and send data out a socket that is not connected. Trying to do that is likely a bug in the code, but it seems like the actual connection to the device is not there to begin with. The happy path is not working. Your secondary computer has the happy path working and that odd connection bug does not appear. So in addition to trying to fix the bugs in the failed paths, why is it not able to make the happy path connection work on that primary computer? That is likely something in the computer network config that is different between the two machines. Let me look at the code and see if I can patch up the errant paths and then if need be we can see about sharing some hardware.
jeffu231 wrote:
That certainly looks like it is trying to close and send data out a socket that is not connected. Trying to do that is likely a bug in the code, but it seems like the actual connection to the device is not there to begin with. The happy path is not working. Your secondary computer has the happy path working and that odd connection bug does not appear. So in addition to trying to fix the bugs in the failed paths, why is it not able to make the happy path connection work on that primary computer? That is likely something in the computer network config that is different between the two machines. Let me look at the code and see if I can patch up the errant paths and then if need be we can see about sharing some hardware.
I've tested this on 3 machines, 2 of the 3 had older versions of Vixen installed and stopped working, the 3rd had a fresh install. All 3 are Windows 10 machines with all the latest windows patches, same security software (avast/defender), and the same network config.
I've tried un-installing on one of the machines that wasn't working. I cleaned up the Vixen3 folder, re-installed and re-configured the display and it works again.... So something must be amiss with the core code too to make it stop working, or something that MS 'patched' and then patched again.
