02-19-2021 08:11 AM
Hello,
I would like to mae a .exe for my RT/FPGa programm which i made with the myRIO. Unfortunately i just figured out (or got to the conclusion that i am dumb) that you cant build a .exe for windows from just the RT/FPGA vi.
My question is, what would be the easiest workaround to get the RT.vi i wrote as a vi on "my Computer". Do i have to collect every data i want and send it via a FIFO to the host PC?
Best regards
Mismatch
Solved! Go to Solution.
02-19-2021 11:24 AM
Hi Mismatch,
@Mísmatch wrote:
My question is, what would be the easiest workaround to get the RT.vi i wrote as a vi on "my Computer"?
You don't need a "workaround"!
The RT.vi will run as startup executable on your myRIO. The FPGA bitfile will run in the FPGA.
To run an executable on your Windows computer you need to create an additional VI in the "My computer" part of the project and then create an executable from it!
@Mísmatch wrote:
Do i have to collect every data i want and send it via a FIFO to the host PC?
This is explained in the example projects coming with LabVIEW and RT module.
You don't use FIFOs, but network communication functions instead!
02-19-2021 12:49 PM
Hey GerdW,
thank you for your respons.
I get it that my RT and FPGA vi´s run as startup executables and i already set them so but my problem is that i made the RT.vi really "user input" heavy so it wont run without userinput. Now i thought that i have to use some kind of fifo or like you said network communication to get the data, i had in my RT.vi, to my PC. I attached my whole project as a .rar file maybe you could take a look at it and tell me what would be my best option to solve that problem? Do i have to rewrite the RT.vi to just acquire the data and write a new .vi on my PC to filter/acquire the data as i need it? What would be my best option to get the data? Just through the network communication?
Thanks in advance (still a beginner at labview)
Best regards
Mismatch
02-19-2021 01:13 PM
Don't attach .rar files as that forces people to download 3rd party tools to be able to open them.
Just attach .zip files as .zip file handling is built into Windows.
02-19-2021 01:28 PM
Sorry i did not think about that. Here the .zip now 🙂
02-20-2021 05:21 AM
So i solved that problem now with variables where i just put the wanted singals to variables an on my PC the vi recieves these variables. But now i have a problem with the FPGA startup. Whenever i restart the myRIO only the LED2 blinks but nothing else happens. I Tried to google it but didnt find any answer for this.
02-22-2021 02:23 AM
Thank you all for the help. The rhing with the variables pretty much solved my problem and i figured everything else out (there was some othwr fpga programm still on the myRIO) 🙂
Have a nice week.
Regards
Mismatch