Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Network shared variables - loss of detail over network?

Hello,

 

I'm deploying a basic network-published shared variable on my PXI vi to stream a double over to the host PC for processing.

 

However, it has become clear that the data before and after sending is quite different in quality.

 

I attempted to deploy instead the basic Continuous Communications Architecture sample code you get when you create a new real-time project. By displaying the data before and after network transmission (on the PXI and PC vi's) it is clear that there is a loss of quality. In this case the data is being updated every 1ms, and read every 1ms, so there should be no mismatch in timing.

 

I'm not sure why this loss of detail occurs or how I can fix it. At first I thought it was because of connection delay etc over the ethernet between PC and PXI, but then I realised I used to do all the processing on the PXI and it would be sending a lot more data such as graphs etc to display on the PC over ethernet, so it cannot be stressed by the current bandwidth requirements.

 

I have attached an example of the kind of loss of detail I mean, where original.bmp is what it passed to the network variable, and network.bmp is how it is read on the host side (all displaying code etc identical).

 

Any thoughts?

 

Philip

Download All
0 Kudos
Message 1 of 3
(3,275 Views)

Dear Philip,

        I am also suffer with data loss. In my application, i am receiving less data point what i am sending. I have used network shared variable to send waveform.  for example if i am acquire 1000 data point in my PXI system and send to host PC i am getting about 800 to 900 data point. I also have tried with timed loop.

 

why this is happened, i don't know.

 

--vishnu

0 Kudos
Message 2 of 3
(3,255 Views)

Hello,

   In my application, i am not doing any processing on data. simply using network shared variable for transferring waveform on PC from PXI target. and store and display on it.

 

The waveform change due to lose of data points only.

How i can avoid data loss over ethernet?

 

--Vishnu

0 Kudos
Message 3 of 3
(3,029 Views)