Skip to content

backward compatibility with release-2.0  #110

@leochan2009

Description

@leochan2009

I tested the SlicerOpenIGTLink with the example programs(TrackingData/ImageDatabaseServer) in openigtlink release-2.0. I need to run these commands in slicer python interactor before active the connector:

a = slicer.mrmlScene.GetNodeByID("vtkMRMLIGTLConnectorNode1")
a.SetOutgoingMessageHeaderVersionMaximum(1)

During the initial handshake with TrackingData/ImageDatabase servers, the connector sends a dummy status message to check openigtlink version of the server. if the SetOutgoingMessageHeaderVersionMaximum is not set, the dummy message will be header version 2 by default and the parsing will fail at the server side. The failure of parsing the status message propagate to following messages resulting no communication at all.
Should we have a UI component to set the maximum version of the Outgoing Message Header?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions