PlusToolkit / PlusLib

Software library for data acquisition, pre-processing, and calibration for navigated image-guided interventions.
http://www.plustoolkit.org
Other
136 stars 103 forks source link

about the old NDI polaris sensor connect fail problem with plusapp #844

Open solberghu opened 3 years ago

solberghu commented 3 years ago

Hi. The model of my old polaris camera is "Polaris Hybrid Position Sensor". It only connected with the com port. I can connect the camera through the NDI ToolViewer. It has a com port and is connected with the pc through com-usb adapter. The pc recognize it. But still cannot connect with plus. I create and choose “ndi polaris tracker with passive markers” as configuration xml file. and I tried to type “Serial Port = the com port number i have” but still no connection. Do you have ideas especially for this kind of Polaris camera connection? In the attach file is my configuration xml. configure

regards,

adamrankin commented 3 years ago

Is the system correctly detected with NDI Track?

solberghu commented 3 years ago

Yes, It's detected correctly with NDI toolviewer. You can refer the image. 未命名

solberghu commented 3 years ago

I own both the NDI P4 and P7 position cameras. There is no problem driving the NDI P7 on the plusapp system, as you can see from the pictures below. Do I need to make any adjustments to the xml file to drive the old NDI P4 camera? Because it only has an RS232/RS485 connection port. 未命名

solberghu commented 3 years ago

Is the system correctly detected with NDI Track?

Can you offer any solutions?

adamrankin commented 3 years ago

If the system works with NDI Track, then it should work with Plus. Can you upload the Plus log?

solberghu commented 3 years ago

092321_181135_PlusLog.txt You can to refer the plus log txt file.

solberghu commented 3 years ago

Hi, I use the PlusApp-2.3.0.4272-Win32 version. The old NDI sensor is connected successful. Does the version is working with silcer 4.1?

adamrankin commented 3 years ago

These are extremely old versions. Unfortunately we cannot support all versions. I recommend you update to the latest stable versions for both software.

solberghu commented 3 years ago

Hi adamrankin, Can you offer any solutions in old NDI sensor apply plusapp newly version?

adamrankin commented 3 years ago

The interface hasn't changed, but the software around it has. What did the log say for the latest versions?

solberghu commented 3 years ago

time|level|timeoffset|message|location 092321_181135.986|INFO|000.000000| System start timestamp: 3754| in E:\D\PSNP64b\PlusLib\src\PlusCommon\vtkPlusAccurateTimer.cxx(51) 092321_181135.989|INFO|000.002000| Software version: Plus-2.8.0.62873a16 - Win64| in vtkPlusLogger(188) 092321_181135.989|INFO|000.002000| Logging at level 3 (INFO) to file: C:/Users/solberg/PlusApp-2.8.0.20191105-Win64/data/092321_181135_PlusLog.txt| in E:\D\PSNP64b\PlusLib\src\PlusServer\Tools\PlusServer.cxx(81) 092321_181136.009|INFO|000.022000| Server status: Reading configuration.| in E:\D\PSNP64b\PlusLib\src\PlusServer\Tools\PlusServer.cxx(92) 092321_181136.009|INFO|000.022000| Server status: Connecting to devices.| in E:\D\PSNP64b\PlusLib\src\PlusServer\Tools\PlusServer.cxx(103) 092321_181136.079|ERROR|000.093000| Failed to detect device on serial port COM2 (index 1). Error opening serial connection| in E:\D\PSNP64b\PlusLib\src\PlusDataCollection\NDICAPITracking\vtkPlusNDITracker.cxx(332) 092321_181136.081|ERROR|000.094000| Unable to connect to NDI device.| in E:\D\PSNP64b\PlusLib\src\PlusDataCollection\NDICAPITracking\vtkPlusNDITracker.cxx(311) 092321_181136.081|ERROR|000.094000| TrackerDevice: Cannot connect to data source, ConnectInternal failed| in E:\D\PSNP64b\PlusLib\src\PlusDataCollection\vtkPlusDevice.cxx(1147) 092321_181136.082|ERROR|000.095000| Unable to connect device: TrackerDevice.| in E:\D\PSNP64b\PlusLib\src\PlusDataCollection\vtkPlusDataCollector.cxx(353) 092321_181136.085|ERROR|000.098000| Datacollector failed to connect to devices| in E:\D\PSNP64b\PlusLib\src\PlusServer\Tools\PlusServer.cxx(106)

adamrankin commented 3 years ago

Have you tried it with no COM port specified?

adamrankin commented 3 years ago

Remove the serialport="" line in the config

solberghu commented 3 years ago

ok, I remove the serialport="", but it happen error.

time|level|timeoffset|message|location 092821_115125.298|INFO|000.000000| System start timestamp: 9058| in E:\D\PSNP64b\PlusLib\src\PlusCommon\vtkPlusAccurateTimer.cxx(51) 092821_115125.300|INFO|000.002000| Software version: Plus-2.8.0.62873a16 - Win64| in vtkPlusLogger(188) 092821_115125.300|INFO|000.002000| Logging at level 3 (INFO) to file: C:/Users/solberg/PlusApp-2.8.0.20191105-Win64/data/092821_115125_PlusLog.txt| in E:\D\PSNP64b\PlusLib\src\PlusServer\Tools\PlusServer.cxx(81) 092821_115125.305|INFO|000.007000| Server status: Reading configuration.| in E:\D\PSNP64b\PlusLib\src\PlusServer\Tools\PlusServer.cxx(92) 092821_115125.313|INFO|000.015000| Server status: Connecting to devices.| in E:\D\PSNP64b\PlusLib\src\PlusServer\Tools\PlusServer.cxx(103) 092821_115132.948|ERROR|007.650000| Failed to detect device. Port scanning failed. Error opening serial connection| in E:\D\PSNP64b\PlusLib\src\PlusDataCollection\NDICAPITracking\vtkPlusNDITracker.cxx(332) 092821_115132.948|ERROR|007.650000| Unable to connect to NDI device.| in E:\D\PSNP64b\PlusLib\src\PlusDataCollection\NDICAPITracking\vtkPlusNDITracker.cxx(311) 092821_115132.948|ERROR|007.650000| TrackerDevice: Cannot connect to data source, ConnectInternal failed| in E:\D\PSNP64b\PlusLib\src\PlusDataCollection\vtkPlusDevice.cxx(1147) 092821_115132.949|ERROR|007.651000| Unable to connect device: TrackerDevice.| in E:\D\PSNP64b\PlusLib\src\PlusDataCollection\vtkPlusDataCollector.cxx(353) 092821_115132.950|ERROR|007.652000| Datacollector failed to connect to devices| in E:\D\PSNP64b\PlusLib\src\PlusServer\Tools\PlusServer.cxx(106)

adamrankin commented 3 years ago

Can you show me a screenshot of NDI Track with the device?

solberghu commented 3 years ago

You can refer the images, thanks!!! 未命名 PXL_20210928_053438970 PXL_20210928_053427744

adamrankin commented 3 years ago

Hmm, I wonder if this is a port numbering issue. Are you able to try renumbering it in Windows to Port 1-4?