LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP/ip read issue

Solved!
Go to solution

Dear all,

It is my very 1st question to ask from the community, I'll be grateful to have solution to my issue. 

I'm actually working on a project, where Ouster lidar sensor is my server and I need to communicate with it using TCP protocol. I used multiple examples to implement it (screen short attached).
the problem is I'm  accessing the TCP port (7501) of the sensor  but I'm not receiving any packets from the sensor. While using ouster SDK I'm able to receive the TCP packets using Wireshark  (screen short attached).

I also tried and tested my labview program on TCPclientServer application, it works. as well as i tried to access the ouster via netcat it is also working (snapshot attached) .

1.PNG

2.PNG

3.PNG

Wireshark

 Tracing packets of ouster SDK. 

 

imkakakhel_0-1668504956872.png

 

 

 

imkakakhel_1-1668505388643.png

 

Sensor Information: 

OS-2 

Lidar mode : 1024x10

 

 

 Thank You!

 

 

 

   

0 Kudos
Message 1 of 4
(1,023 Views)

In addition, I also check my firewall, all TCP ports are allowed to access. 

 

imkakakhel_0-1668506608021.png

 

0 Kudos
Message 2 of 4
(1,011 Views)

Is there any way you can attach your VI?

I know you are using or trying to use state machine. I want to see how you are transitioning from state to state. So attaching your VI would help.

0 Kudos
Message 3 of 4
(970 Views)
Solution
Accepted by topic author imkakakhel

Thank you for the response, The issue has been resolved. The sensor was not able to understand the command. by adding format into string function it worked

 

  

imkakakhel_0-1668587818920.png

 

 

 

0 Kudos
Message 4 of 4
(939 Views)