ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Text File

I'm using a Pexi7841R with NI LabVIEW 2016, and I'm trying to import values into an array and export values from an array to a text file. I attempted to use "Read Text File" to load values from a text file, but encountered an error: *Front Panel Terminal 'file (use dialog)' : Type not supported in current target*. Is there an alternative tool or method that provides similar functionality and is compatible with my target?

or a tool that import an image and convert it into an array?

0 Kudos
Message 1 of 2
(579 Views)

FPGAs do not have access to a file on disk. You need to read the file on the host and use a DMA FIFO to pass the data to the FPGA. Similar for the opposite direction: the FPGA writes to a DMA FIFO that sends the data to the host who can then save the data to a file.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(561 Views)