I would again need some help with an issue I have with Slicer 4.10. I want to register an outgoing node for to an OpenIGTLink Connection (Server). The node is of type “vtkMRMLTextNode”. As soon as I call RegisterOutgoingMRMLNode the application freezes and then crashes.
The same code works properly with Slicer 4.8. I found out that if I instead use a “vtkMRMLLinearTransformNode” the code runs fine with Slicer 4.10 as well. But thats not what we need.
Any ideas what could be wrong or why we cannot use the TextNode anymore? Here a small code snipped which leads to the crash:
connector_node = slicer.vtkMRMLIGTLConnectorNode() connector_node.SetTypeServer(18946) connector_node.SetName("DeviceNodeName") slicer.mrmlScene.AddNode(connector_node) tnode = slicer.vtkMRMLTextNode() tnode.SetName("MessageTextNode") slicer.mrmlScene.AddNode(tnode) connector_node.RegisterOutgoingMRMLNode(tnode)
I also tried starting the connector node before registering but this did not help.
Thanks for any hints on how to correctly use this.