LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview udp client is slower than DAQ

Solved!
Go to solution

Hi,

I built an application that reads data from a DAQ and transmits these data to java via udp.

The problem is that transmitted data are less than acquired data. (DAQ works continuously, 1k samples).

Can anyone help me?

Thanks

0 Kudos
Message 1 of 4
(2,346 Views)
Solution
Accepted by topic author Skeggy88

If the DAQ assistant is configured for continuous acquisition and does not throw errors (buffer overflow), UDP send is fast enough as well since you do it in the same loop.

 

I think your problem resides in JAVA and UDP. UDP is a lossy protocol, so it does not care for lost nor unfetched packages. If your JAVA application does not fetch every package in time, it will be overwritten....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(2,338 Views)

You think that I will bufferize data with java?

Do you know if an example exists?

0 Kudos
Message 3 of 4
(2,336 Views)

If there are examples in Java available, they won't be found in a LV forum. I suggest you to search for Java examples using Google (or other search engines).

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(2,315 Views)