10-10-2017 11:29 AM
I have a FPGA project with a sb-RIO 9606 and I need to manipulate .txt files for encrypt them, so i convert the whole file into an array of 2 dimension. First, i did this vi without the fpga project and it works fine. But when i open it from the project explorer it doenst work. I did another one starting from the project explorer but its the same. Or if someone knows other way to convert a .txt file to and array ( 2 dimension). Thanks in advance and sorry for my bad english.
Solved! Go to Solution.
10-10-2017 11:43 AM
It looks like this VI is actually being ran on the RT system, not the FPGA. In that case, you need to point to a text file that is on the RT itself. The sbRIO cannot read a file off of your computer.
10-10-2017 12:45 PM
I want read a file on my pc, then "write" my array as a cluster with the "Open FPGA reference" -> Write
10-10-2017 01:13 PM
@Pepe727 wrote:
I want read a file on my pc, then "write" my array as a cluster with the "Open FPGA reference" -> Write
Then you need to have 3 applications running: FPGA, RT, Windows/PC. The PC application reads the file and sends it to the sbRIO, typically via TCP/IP or Network Streams. The RT on the sbRIO reads the data, processes it, puts the data into a cluster, and then writes to the FPGA.
10-11-2017 08:39 AM
oh... Can you direct me to a topic that explains that a little more?
10-11-2017 10:56 AM
@Pepe727 wrote:
oh... Can you direct me to a topic that explains that a little more?
Possibly more than you ever wanted: CompactRIO Developer's Guide