From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

chart to excel file in fpga target

I am a new user of LabVIEW.please help me. I want to export the data to an excel spread sheet from a waveform chart (FPGA Target). suggest me a solution.
Also give me a suggestion for sampling in FPGA target.

0 Kudos
Message 1 of 6
(2,938 Views)

Hi,

 

Which FPGA Target you are using? FlexRIO or CompactRIO?

 

There is a few ways to transfer data from FPGA to computer, you can refer to the following topic for more detail information:

 

 

Transferring Data between the FPGA and the Host (FPGA Module)

http://zone.ni.com/reference/en-XX/help/371599F-01/lvfpgaconcepts/pfi_data_transfer/

 

Once you choose the method of communications, you need to save your data into an excel spreadsheet.

Do you need to generate a graph automatically in the excel? If yes you might need a report generation toolkit for this.

Else, you can use the "write to spreadsheet.vi" to log your data.

I found a great example in the community, you can refer to the link below:

https://decibel.ni.com/content/docs/DOC-7332

 

Regards,

KwokHow

Applications Engineer | National Instruments
Singapore (65) 6226 5886 | Malaysia (60) 3 7948 2000 | Thailand (66) 2 298 4800
Philippines (63) 2 659 1722 | Vietnam (84) 28 3911 3150 | Indonesia (62) 21 2783 2355
0 Kudos
Message 2 of 6
(2,909 Views)

I am using NI PXI 7842R Multifunction RIO with Virtex-5 LX50 FPGA

0 Kudos
Message 3 of 6
(2,906 Views)

Hi, 

 

How fast you would like to acquire the data from FPGA to host?

 

Regards,

KwokHow

Applications Engineer | National Instruments
Singapore (65) 6226 5886 | Malaysia (60) 3 7948 2000 | Thailand (66) 2 298 4800
Philippines (63) 2 659 1722 | Vietnam (84) 28 3911 3150 | Indonesia (62) 21 2783 2355
0 Kudos
Message 4 of 6
(2,901 Views)

the data should get updated along with the chart
if its not possible, anything in minutes willd o
please give me the solution. 

0 Kudos
Message 5 of 6
(2,889 Views)

 

You have to know your requirement, are you looking for lossless acquisition for the maximum sampling rate? or a slower sampling rate at Hz?

 

If you are looking for latest data acquire by FPGA, you can use programmatically front panel communication.

http://zone.ni.com/reference/en-XX/help/371599F-01/lvfpgaconcepts/pfi_data_transfer/#FP_Communicatio...

 

 

Applications Engineer | National Instruments
Singapore (65) 6226 5886 | Malaysia (60) 3 7948 2000 | Thailand (66) 2 298 4800
Philippines (63) 2 659 1722 | Vietnam (84) 28 3911 3150 | Indonesia (62) 21 2783 2355
0 Kudos
Message 6 of 6
(2,885 Views)