Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

continuously stream data through ethernet to a device

Hey,

 

I want to stream data from PXI controller through ethernet to a remote device. How can i do it? Any examples?

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

Hi Alann,

 

What is the remote device?

 

You can send data using the TCP or UDP VIs (Data Communication»Protocols).  You may want to use UDP since it's not connection based, unlike TCP.  If losing data is a concern, TCP is lossless.  If you need some examples, open the NI Example Finder (Help»Find Examples...) and search for UDP or TCP

0 Kudos
Message 2 of 4
(4,168 Views)

Ok great! I tried those and they work. What is the maximum possible data rate I can achieve?

 Remote device for now is another PC. I am using 1 Gbps Ethernet cable.

 

 

 

Message Edited by Alann on 01-21-2010 04:21 AM
0 Kudos
Message 3 of 4
(4,155 Views)

Hi Alann,

 

Ideally, the rate you could achieve is the maximum supported by the network card (1 Gbps).  Because of network topology, network traffic, operating systems, etc., I don't know what the exact number will be.

 

Take a look at this example to test your connection:   http://sine.ni.com/devzone/cda/epd/p/id/4692

0 Kudos
Message 4 of 4
(4,132 Views)