LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Socket Dropped Packets

I am developing a program which uses data sockets. I want to pass all the data acquired from one to the other for processing. However, I was wondering how forgiving the Data Socket is to dropped packets as the link up I might have to use may not be super reliable. Basicly, I need to know if the data socket is going to spit out an error if the connection drops for a moment.

Regards,
B
0 Kudos
Message 1 of 7
(4,232 Views)
Hey B,
    Datasocket uses handshaking, so it will be as reliable as TCP would be over the same connection.  That being said, it will also slow down just like TCP with added network traffic. 

Message Edited by Brian B on 02-12-2007 06:51 PM

Brian B
Account Manager
National Instruments
0 Kudos
Message 2 of 7
(4,222 Views)

Is there any way to connect to the Datasocket Server and retreive statistics like Drop Packets remotely?

Rick Foster
MIT Kavli Institute for Astrophysics and Space Research
0 Kudos
Message 3 of 7
(3,920 Views)

Hey Rick, 

 

This is a bit of a labor-intensive answer, but it will help you with any future DataSocket programming you want to do. Read through this DataSocket Tutorial to get started. You will probably also need some information on configuring a DataSocket server after you read through the tutorial. Hope this helps! 

 

Cheers,

kgarrett

0 Kudos
Message 4 of 7
(3,891 Views)

Not exactly what I was looking for (I already have a datasocket server configured and up and running successfully). What I was looking for was a way to query the datasocket server itself for the number of packets it had recorded as being dropped (You can see this statistic on the data socket server diagnostic panel for each data type)

 

Rick Foster
MIT Kavli Institute for Astrophysics and Space Research
0 Kudos
Message 5 of 7
(3,884 Views)

This post is only 6 years old, so I'm sure somebody has a good answer to this by now.

 

I would really like to query the datasocket server for the statistics information that you would see in the 'DataSocket Server Diagnostics' page

As seen in the image below.

 

dsDiagnostics.png

 

Is there anyway to query the server for this data?


Engineering - The art of applied creativity  ~Theo Sutton
0 Kudos
Message 6 of 7
(3,671 Views)

Hi MrQuestion,

 

Since this post is six years old and hasn't seen any recent activity, I'd recommend you create a new thread to get more visibility from the LabVIEW community. Perhaps you can link this thread in your new post for reference.

 

Nick

Applications Engineer

0 Kudos
Message 7 of 7
(3,661 Views)