Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

crio streaming

Hello,

I'm using the Reference Example for Streaming Data from FPGA to cRIO to Windows found on http://zone.ni.com/devzone/cda/epd/p/id/5919 on a cRIO 9074.

It works fine, the only problem is that after start-up, it takes about 18 seconds before any data is transmitted over TCP. So unless using a huge RT FIFO, some data is lost. After these initial 18 seconds it works perfectly. I have tried changing the different time-outs and FIFO sizes, but nothing seems to have an impact.

 

Does anyone else have this problem (and maybe even have a solution!)?

 

Thanks

0 Kudos
Message 1 of 5
(3,655 Views)

Hello,

 

Thank you for posting on National Instruments forum's.

 

The VI that you use is FPGA>Main?

Brice S.
National Instruments France

0 Kudos
Message 2 of 5
(3,642 Views)

Yes, it is main.vi.I just added my inputs to it, and it runs properly at 800 ticks.

0 Kudos
Message 3 of 5
(3,638 Views)

Hi,

 

Have you tried using a loop timing? But it will have removed the tick count of the previous loop. 

Brice S.
National Instruments France

0 Kudos
Message 4 of 5
(3,636 Views)

Hello,

 

The FPGA uses loop timing indeed. You will find the project in attachment.

 

Thank you for your help.

0 Kudos
Message 5 of 5
(3,632 Views)