LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP connection console data monitor

Hi, Friends:

 

Here is another problem I met yesterday. Appreciated for any advice.

 

I have a c-code program (see the attachment), which main functions work as following:

1. the program runs in console, as a client. The server is a MCU which will connect to FPGA board.

2. the console will specify certain data pattern, and input the data into FPGA through MCU.

3. console will receive processed data by FPGA, show the data, and write the data into a txt file at the last (means the program is finished).

 

My desire is to get the output data from FPGA in real time, and process the data by Labview. Presently, I can get the final data in that txt file, but it can only be done when the program finishes; whereas, I need the real time data.

 

Here are possible ways to realize my goal:

1. rewrite the c-program with Labview. However, it will cost much time, and actually i'm not quite familiar with c language.

2. just monitoring the console by labview, and guide the output data from console directly (don't wait the console write the data into the txt file and then to read it).

 

Could I do it in the second way?

 

Thank you again.

0 Kudos
Message 1 of 2
(2,452 Views)

Hi,

 

        Well, its a c# program. It is possible to read the data simultaneously in Labview as well as to save in text file. Its not so difficult it just needs some inputs. May be another network stream running with some delay.

0 Kudos
Message 2 of 2
(2,406 Views)