LabVIEW Communications System Design Suite

cancel
Showing results for 
Search instead for 
Did you mean: 

802.11 app Framework VLC communication problem

Hello Marwanjk,

 

Thanks for the info. It definitely sounds like we have a work-around by streaming from another computer. It definitely sounds like the problem is rooted in VLC, since it is taking about 70% of your CPU.

 

What CPU are you using?

 

I am currently running VLC 2.1.5, and I have had problems in the past with newer versions of VLC. Can you try downloading 2.1.5?


http://download.videolan.org/pub/videolan/vlc/2.1.5/win32/vlc-2.1.5-win32.exe

 

Regards,

 

Thomas C.
FlexRIO Product Support Engineer
National Instruments
0 Kudos
Message 11 of 28
(3,482 Views)

Hello tcap,

I can't see difference using that version of VLC.
I reduce the CPU charge by remove the graphics and transmitting from another PC obtaining a data rate of 1.4Mb/s.
I'm using a I5-4300M with 8Gb of ram.
regards

0 Kudos
Message 12 of 28
(3,475 Views)

Hello Marwanjk,

 

Thanks for the quick update.

 

It sounds like you are up and running with the workaround of moving the video streaming to another computer. I think that the problem that we were running into was the processing limitations of your computer. When I run the 802.11 Application Framework with VLC streaming, I am getting about 35% CPU usage and almost a flawless video feed. If possible, I recommend trying to run this application on a different computer and see if you experience the same behavior.

Thomas C.
FlexRIO Product Support Engineer
National Instruments
0 Kudos
Message 13 of 28
(3,470 Views)

Hi tcap!

From the moment I don't have another computer with a slot for expresscard, and I think is impossible to use the ethernet interfaces for this application.
I reduce the CPU charge by deleting all the graphs.
now I have a data rate of 1.8-2.9 Mbit/s using VLC. It's better but far away from 20 Mbit/s

 

regards.

0 Kudos
Message 14 of 28
(3,454 Views)

Hey Marwanjk,

 

You are correct, the USRP RIO does not support Ethernet Interfacing.

 

I was able to increase my throughput to 11.4Mbit/s, using PN, by removing the millisecond timer on the transmission loops and increasing my packet size to 1500.

 

I think that we should focus on getting 20MBit/s using the PN mode to ensure that we are capable of these speeds in LabVIEW.  Once we have confirmed this, we will want to determine the throughput of VLC to LabVIEW.  I don't think that VLC is capable of outputting data at 20MBit/s.  For example, the anthem.mp4 file is  96 seconds and 11288 KB.  If we transfered 11288 KB at 20Mbit/s, it would transfer the file in 4.6 seconds, but it is a 96 second video. Can you see if you can try benchmarking the PN Mode? I am going to try and check with R&D to see if we have a theoritical max throughput of the 802.11 framework.

 

Regards,

Thomas C.
FlexRIO Product Support Engineer
National Instruments
0 Kudos
Message 15 of 28
(3,441 Views)

Hey Marwanjk,

 

I have seen throughputs of up to 50Mb/s, but I think that you will need to modify the loop rate, modulation scheme, and packet size.

 

Regards,

Thomas C.
FlexRIO Product Support Engineer
National Instruments
0 Kudos
Message 16 of 28
(3,424 Views)

Thanks for the moment it's a throughput far away from my reality. I'm going to start making some modifications to the code. Where do you recommend to start?
Regards

0 Kudos
Message 17 of 28
(3,409 Views)

Hello,

 

The two ways that we can increase the throughput would be the increase the data packet size and the data packet transmission rate.

Right now, I am hitting a max value of packet size of 1500 and I am still looking into modifying the transmission rate.

 

I am going to look into modifying these parameters. I am going to have to check with some of my colleagues.

 

Regards,

Thomas C.
FlexRIO Product Support Engineer
National Instruments
0 Kudos
Message 18 of 28
(3,392 Views)

Hi tcap,
I have a question of the labview communication function. I don't upload the File to the FPGA manually. I been running all the system on the host pc or labview automatically upload this Bifile?.
regards

0 Kudos
Message 19 of 28
(3,358 Views)

Hello Marwanjk,

 

Can you please open up another thread regarding any questions unrelated to VLC throughput?  It will make this documentation more easily searched by other customers.

 

Regards,

Thomas C.
FlexRIO Product Support Engineer
National Instruments
0 Kudos
Message 20 of 28
(3,339 Views)