Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarius: No Data Available #955

Open
ChristophG123T opened this issue Jun 6, 2022 · 9 comments
Open

Clarius: No Data Available #955

ChristophG123T opened this issue Jun 6, 2022 · 9 comments

Comments

@ChristophG123T
Copy link

I get this error when I try to connect the Clarius:

|WARNING|2269.234000|SERVER> No data is broadcasted, as no data is available yet.| in E:\D\PTNPCb\PlusLib\src\PlusServer\vtkPlusOpenIGTLinkServer.cxx(440)

The Clarius is version 9.3.0-411​, Plus is the June 6th development snapshot (latest), and Slicer is the June 1st release (latest). It was working at the end of last week, so I'm not sure what issue could cause this; perhaps Clarius released another update?

@Sunderlandkyl
Copy link
Contributor

You may need to go into settings and make sure Clarius Cast is enabled. I just went to test with the latest version of Plus and it was disabled in my App. After enabling it streams fine.

@ChristophG123T
Copy link
Author

ChristophG123T commented Jun 8, 2022

Hi Kyle, Clarius Cast is enabled and this issue still happens. It seems to be able to detect when Clarius is imaging or frozen, so I think it is connected. However, no data is actually streaming for some reason.

On a side note for when I get this working again, how can I access Clarius IMU data in python modules?

@Sunderlandkyl
Copy link
Contributor

Sunderlandkyl commented Jun 8, 2022

Is it still casting on the same port (Research 5828)?

Also, how are you connecting to the Clarius? Are you using the Wi-Fi network of the probe or are you connecting to an external network with both? I use the integrated wi-fi in the probe and sometimes forget to reconnect my PC to the network.

Unfortunately the connection error handling is not very good right now, which makes it hard to debug. I'll see if I can add some additional error handling/messages.

On a side note for when I get this working again, how can I access Clarius IMU data in python modules?

They should be received in Slicer as vtkMRMLLinearTransformNode. You can access them from the MRMLScene.

@ChristophG123T
Copy link
Author

ChristophG123T commented Jun 8, 2022

Ok, I disconnected my ethernet and it works now. When I keep it plugged in, the Clarius' network says it's secured to internet; this is new and it always had no internet before and worked. Is it possible to disable this from happening without unplugging the ethernet?

@Sunderlandkyl
Copy link
Contributor

Sunderlandkyl commented Jun 8, 2022

I haven't had an issue with leaving my ethernet plugged in.

If you ping the Clarius ip address when you are connected to ethernet, and not to the Clarius, do you get a response?
My suspicion is that the Clarius is trying to connect to the device through the ethernet rather than the Wi-Fi.

If the ethernet is part of the local Wi-Fi network you can change your Clarius settings to stream over that network rather than starting its own. I believe it's the "Prefer Wireless LAN" option in the app.

@ChristophG123T
Copy link
Author

ChristophG123T commented Jun 9, 2022

It seems I'm having the issue when I came went to try again, even though it was just working earlier today. When I ping the Clarius, it recieves them successfully. It also seems to connect to IGT successfully. However, now it does not work when I have the ethernet plugged in or not. It seems hit or miss whether it'll work.

|INFO|142.179000|SERVER> Received new client connection (client 1 at 127.0.0.1:18944). Number of connected clients: 1
|WARNING|142.260000|SERVER> No data is broadcasted, as no data is available yet.| in E:\D\PTNPCb\PlusLib\src\PlusServer\vtkPlusOpenIGTLinkServer.cxx(440)

If you could add new error messages in your newest version of Plus like you mentioned, it might help me debug it. Thanks

@ChristophG123T
Copy link
Author

Hey Kyle, I just realized it was working using a build Adam made for me on June 3rd because the normal June 3rd snapshot had this error. When I try the newest snapshot from June 10th it doesn't work, but Adam's works. I can send you Adam's release version to see what he changed and what it fixed.

@Sunderlandkyl
Copy link
Contributor

Sunderlandkyl commented Jun 13, 2022

As long as the PC is on the correct network, the current nightly version seems to work for me. If it is not on the same network, there is a false-positive connection.
I've added some additional error checking to the connection sequence of the device, which should clear up the false-positives.

@adamrankin Were there any changes in the code from the nightly version?

@Sunderlandkyl
Copy link
Contributor

Are the two versions of Plus using the same or different config files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants